| OLD | NEW |
| 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 Loading... |
| 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 } |
| OLD | NEW |