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

Side by Side Diff: sdk/lib/web_sql/dartium/web_sql_dartium.dart

Issue 13945009: Make default argument to Iterable.join be "". (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. Created 7 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « sdk/lib/web_sql/dart2js/web_sql_dart2js.dart ('k') | tests/corelib/iterable_join_test.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 /** 1 /**
2 * An API for storing data in the browser that can be queried with SQL. 2 * An API for storing data in the browser that can be queried with SQL.
3 * 3 *
4 * **Caution:** this specification is no longer actively maintained by the Web 4 * **Caution:** this specification is no longer actively maintained by the Web
5 * Applications Working Group and may be removed at any time. 5 * Applications Working Group and may be removed at any time.
6 * See [the W3C Web SQL Database specification](http://www.w3.org/TR/webdatabase /) 6 * See [the W3C Web SQL Database specification](http://www.w3.org/TR/webdatabase /)
7 * for more information. 7 * for more information.
8 * 8 *
9 * The [dart:indexed_db] APIs is a recommended alternatives. 9 * The [dart:indexed_db] APIs is a recommended alternatives.
10 */ 10 */
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 } 246 }
247 247
248 dynamic fold(dynamic initialValue, dynamic combine(dynamic, Map)) { 248 dynamic fold(dynamic initialValue, dynamic combine(dynamic, Map)) {
249 return IterableMixinWorkaround.fold(this, initialValue, combine); 249 return IterableMixinWorkaround.fold(this, initialValue, combine);
250 } 250 }
251 251
252 bool contains(Map element) => IterableMixinWorkaround.contains(this, element); 252 bool contains(Map element) => IterableMixinWorkaround.contains(this, element);
253 253
254 void forEach(void f(Map element)) => IterableMixinWorkaround.forEach(this, f); 254 void forEach(void f(Map element)) => IterableMixinWorkaround.forEach(this, f);
255 255
256 String join([String separator]) => 256 String join([String separator = ""]) =>
257 IterableMixinWorkaround.joinList(this, separator); 257 IterableMixinWorkaround.joinList(this, separator);
258 258
259 Iterable map(f(Map element)) => 259 Iterable map(f(Map element)) =>
260 IterableMixinWorkaround.mapList(this, f); 260 IterableMixinWorkaround.mapList(this, f);
261 261
262 Iterable<Map> where(bool f(Map element)) => 262 Iterable<Map> where(bool f(Map element)) =>
263 IterableMixinWorkaround.where(this, f); 263 IterableMixinWorkaround.where(this, f);
264 264
265 Iterable expand(Iterable f(Map element)) => 265 Iterable expand(Iterable f(Map element)) =>
266 IterableMixinWorkaround.expand(this, f); 266 IterableMixinWorkaround.expand(this, f);
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
475 475
476 @DocsEditable 476 @DocsEditable
477 @DomName('SQLTransactionSync') 477 @DomName('SQLTransactionSync')
478 @SupportedBrowser(SupportedBrowser.CHROME) 478 @SupportedBrowser(SupportedBrowser.CHROME)
479 @SupportedBrowser(SupportedBrowser.SAFARI) 479 @SupportedBrowser(SupportedBrowser.SAFARI)
480 @Experimental 480 @Experimental
481 abstract class _SQLTransactionSync extends NativeFieldWrapperClass1 { 481 abstract class _SQLTransactionSync extends NativeFieldWrapperClass1 {
482 _SQLTransactionSync.internal(); 482 _SQLTransactionSync.internal();
483 483
484 } 484 }
OLDNEW
« no previous file with comments | « sdk/lib/web_sql/dart2js/web_sql_dart2js.dart ('k') | tests/corelib/iterable_join_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698