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

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

Issue 11471037: Updating dwc for breaking changes that will be part of the next sdk (Closed) Base URL: git@github.com:dart-lang/dart-web-components.git@master
Patch Set: Created 8 years 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
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 utils; 5 library web_components.utils;
Siggi Cherem (dart-lang) 2012/12/07 19:31:46 apparently now it is an error to import 2 librarie
Jennifer Messerly 2012/12/07 20:31:57 We should follow up on that. fwiw, I think this sh
Siggi Cherem (dart-lang) 2012/12/18 03:10:00 Done.
6 6
7 import 'dart:isolate'; 7 import 'dart:isolate';
8 import 'package:web_components/src/messages.dart'; 8 import 'package:web_components/src/messages.dart';
9 9
10 /** 10 /**
11 * Converts a string name with hyphens into an identifier, by removing hyphens 11 * Converts a string name with hyphens into an identifier, by removing hyphens
12 * and capitalizing the following letter. Optionally [startUppercase] to 12 * and capitalizing the following letter. Optionally [startUppercase] to
13 * captialize the first letter. 13 * captialize the first letter.
14 */ 14 */
15 String toCamelCase(String hyphenedName, {bool startUppercase: false}) { 15 String toCamelCase(String hyphenedName, {bool startUppercase: false}) {
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 } 204 }
205 205
206 /** Iterates through an infinite sequence, starting from zero. */ 206 /** Iterates through an infinite sequence, starting from zero. */
207 class IntIterator implements Iterator<int> { 207 class IntIterator implements Iterator<int> {
208 int _next = 0; 208 int _next = 0;
209 209
210 bool get hasNext => true; 210 bool get hasNext => true;
211 211
212 int next() => _next++; 212 int next() => _next++;
213 } 213 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698