Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(780)

Side by Side Diff: lib/src/utils.dart

Issue 12096106: work in progress: observable implementation using detailed change records (Closed) Base URL: https://github.com/dart-lang/web-ui.git@master
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « lib/src/refactor.dart ('k') | lib/templating.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library web_components.src.utils; 5 library web_ui.src.utils;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:isolate'; 8 import 'dart:isolate';
9 import 'package:web_ui/src/messages.dart'; 9 import 'package:web_ui/src/messages.dart';
10 10
11 /** 11 /**
12 * Converts a string name with hyphens into an identifier, by removing hyphens 12 * Converts a string name with hyphens into an identifier, by removing hyphens
13 * and capitalizing the following letter. Optionally [startUppercase] to 13 * and capitalizing the following letter. Optionally [startUppercase] to
14 * captialize the first letter. 14 * captialize the first letter.
15 */ 15 */
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 class IntIterator implements Iterator<int> { 196 class IntIterator implements Iterator<int> {
197 int _next = -1; 197 int _next = -1;
198 198
199 int get current => _next < 0 ? null : _next; 199 int get current => _next < 0 ? null : _next;
200 200
201 bool moveNext() { 201 bool moveNext() {
202 _next++; 202 _next++;
203 return true; 203 return true;
204 } 204 }
205 } 205 }
OLDNEW
« no previous file with comments | « lib/src/refactor.dart ('k') | lib/templating.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698