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

Side by Side Diff: sdk/lib/svg/dartium/svg_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/svg/dart2js/svg_dart2js.dart ('k') | sdk/lib/web_sql/dart2js/web_sql_dart2js.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 library dart.dom.svg; 1 library dart.dom.svg;
2 2
3 import 'dart:async'; 3 import 'dart:async';
4 import 'dart:collection'; 4 import 'dart:collection';
5 import 'dart:html'; 5 import 'dart:html';
6 import 'dart:html_common'; 6 import 'dart:html_common';
7 import 'dart:nativewrappers'; 7 import 'dart:nativewrappers';
8 // DO NOT EDIT 8 // DO NOT EDIT
9 // Auto-generated dart:svg library. 9 // Auto-generated dart:svg library.
10 10
(...skipping 3285 matching lines...) Expand 10 before | Expand all | Expand 10 after
3296 } 3296 }
3297 3297
3298 dynamic fold(dynamic initialValue, dynamic combine(dynamic, Length)) { 3298 dynamic fold(dynamic initialValue, dynamic combine(dynamic, Length)) {
3299 return IterableMixinWorkaround.fold(this, initialValue, combine); 3299 return IterableMixinWorkaround.fold(this, initialValue, combine);
3300 } 3300 }
3301 3301
3302 bool contains(Length element) => IterableMixinWorkaround.contains(this, elemen t); 3302 bool contains(Length element) => IterableMixinWorkaround.contains(this, elemen t);
3303 3303
3304 void forEach(void f(Length element)) => IterableMixinWorkaround.forEach(this, f); 3304 void forEach(void f(Length element)) => IterableMixinWorkaround.forEach(this, f);
3305 3305
3306 String join([String separator]) => 3306 String join([String separator = ""]) =>
3307 IterableMixinWorkaround.joinList(this, separator); 3307 IterableMixinWorkaround.joinList(this, separator);
3308 3308
3309 Iterable map(f(Length element)) => 3309 Iterable map(f(Length element)) =>
3310 IterableMixinWorkaround.mapList(this, f); 3310 IterableMixinWorkaround.mapList(this, f);
3311 3311
3312 Iterable<Length> where(bool f(Length element)) => 3312 Iterable<Length> where(bool f(Length element)) =>
3313 IterableMixinWorkaround.where(this, f); 3313 IterableMixinWorkaround.where(this, f);
3314 3314
3315 Iterable expand(Iterable f(Length element)) => 3315 Iterable expand(Iterable f(Length element)) =>
3316 IterableMixinWorkaround.expand(this, f); 3316 IterableMixinWorkaround.expand(this, f);
(...skipping 701 matching lines...) Expand 10 before | Expand all | Expand 10 after
4018 } 4018 }
4019 4019
4020 dynamic fold(dynamic initialValue, dynamic combine(dynamic, Number)) { 4020 dynamic fold(dynamic initialValue, dynamic combine(dynamic, Number)) {
4021 return IterableMixinWorkaround.fold(this, initialValue, combine); 4021 return IterableMixinWorkaround.fold(this, initialValue, combine);
4022 } 4022 }
4023 4023
4024 bool contains(Number element) => IterableMixinWorkaround.contains(this, elemen t); 4024 bool contains(Number element) => IterableMixinWorkaround.contains(this, elemen t);
4025 4025
4026 void forEach(void f(Number element)) => IterableMixinWorkaround.forEach(this, f); 4026 void forEach(void f(Number element)) => IterableMixinWorkaround.forEach(this, f);
4027 4027
4028 String join([String separator]) => 4028 String join([String separator = ""]) =>
4029 IterableMixinWorkaround.joinList(this, separator); 4029 IterableMixinWorkaround.joinList(this, separator);
4030 4030
4031 Iterable map(f(Number element)) => 4031 Iterable map(f(Number element)) =>
4032 IterableMixinWorkaround.mapList(this, f); 4032 IterableMixinWorkaround.mapList(this, f);
4033 4033
4034 Iterable<Number> where(bool f(Number element)) => 4034 Iterable<Number> where(bool f(Number element)) =>
4035 IterableMixinWorkaround.where(this, f); 4035 IterableMixinWorkaround.where(this, f);
4036 4036
4037 Iterable expand(Iterable f(Number element)) => 4037 Iterable expand(Iterable f(Number element)) =>
4038 IterableMixinWorkaround.expand(this, f); 4038 IterableMixinWorkaround.expand(this, f);
(...skipping 1128 matching lines...) Expand 10 before | Expand all | Expand 10 after
5167 } 5167 }
5168 5168
5169 dynamic fold(dynamic initialValue, dynamic combine(dynamic, PathSeg)) { 5169 dynamic fold(dynamic initialValue, dynamic combine(dynamic, PathSeg)) {
5170 return IterableMixinWorkaround.fold(this, initialValue, combine); 5170 return IterableMixinWorkaround.fold(this, initialValue, combine);
5171 } 5171 }
5172 5172
5173 bool contains(PathSeg element) => IterableMixinWorkaround.contains(this, eleme nt); 5173 bool contains(PathSeg element) => IterableMixinWorkaround.contains(this, eleme nt);
5174 5174
5175 void forEach(void f(PathSeg element)) => IterableMixinWorkaround.forEach(this, f); 5175 void forEach(void f(PathSeg element)) => IterableMixinWorkaround.forEach(this, f);
5176 5176
5177 String join([String separator]) => 5177 String join([String separator = ""]) =>
5178 IterableMixinWorkaround.joinList(this, separator); 5178 IterableMixinWorkaround.joinList(this, separator);
5179 5179
5180 Iterable map(f(PathSeg element)) => 5180 Iterable map(f(PathSeg element)) =>
5181 IterableMixinWorkaround.mapList(this, f); 5181 IterableMixinWorkaround.mapList(this, f);
5182 5182
5183 Iterable<PathSeg> where(bool f(PathSeg element)) => 5183 Iterable<PathSeg> where(bool f(PathSeg element)) =>
5184 IterableMixinWorkaround.where(this, f); 5184 IterableMixinWorkaround.where(this, f);
5185 5185
5186 Iterable expand(Iterable f(PathSeg element)) => 5186 Iterable expand(Iterable f(PathSeg element)) =>
5187 IterableMixinWorkaround.expand(this, f); 5187 IterableMixinWorkaround.expand(this, f);
(...skipping 982 matching lines...) Expand 10 before | Expand all | Expand 10 after
6170 } 6170 }
6171 6171
6172 dynamic fold(dynamic initialValue, dynamic combine(dynamic, String)) { 6172 dynamic fold(dynamic initialValue, dynamic combine(dynamic, String)) {
6173 return IterableMixinWorkaround.fold(this, initialValue, combine); 6173 return IterableMixinWorkaround.fold(this, initialValue, combine);
6174 } 6174 }
6175 6175
6176 bool contains(String element) => IterableMixinWorkaround.contains(this, elemen t); 6176 bool contains(String element) => IterableMixinWorkaround.contains(this, elemen t);
6177 6177
6178 void forEach(void f(String element)) => IterableMixinWorkaround.forEach(this, f); 6178 void forEach(void f(String element)) => IterableMixinWorkaround.forEach(this, f);
6179 6179
6180 String join([String separator]) => 6180 String join([String separator = ""]) =>
6181 IterableMixinWorkaround.joinList(this, separator); 6181 IterableMixinWorkaround.joinList(this, separator);
6182 6182
6183 Iterable map(f(String element)) => 6183 Iterable map(f(String element)) =>
6184 IterableMixinWorkaround.mapList(this, f); 6184 IterableMixinWorkaround.mapList(this, f);
6185 6185
6186 Iterable<String> where(bool f(String element)) => 6186 Iterable<String> where(bool f(String element)) =>
6187 IterableMixinWorkaround.where(this, f); 6187 IterableMixinWorkaround.where(this, f);
6188 6188
6189 Iterable expand(Iterable f(String element)) => 6189 Iterable expand(Iterable f(String element)) =>
6190 IterableMixinWorkaround.expand(this, f); 6190 IterableMixinWorkaround.expand(this, f);
(...skipping 1247 matching lines...) Expand 10 before | Expand all | Expand 10 after
7438 } 7438 }
7439 7439
7440 dynamic fold(dynamic initialValue, dynamic combine(dynamic, Transform)) { 7440 dynamic fold(dynamic initialValue, dynamic combine(dynamic, Transform)) {
7441 return IterableMixinWorkaround.fold(this, initialValue, combine); 7441 return IterableMixinWorkaround.fold(this, initialValue, combine);
7442 } 7442 }
7443 7443
7444 bool contains(Transform element) => IterableMixinWorkaround.contains(this, ele ment); 7444 bool contains(Transform element) => IterableMixinWorkaround.contains(this, ele ment);
7445 7445
7446 void forEach(void f(Transform element)) => IterableMixinWorkaround.forEach(thi s, f); 7446 void forEach(void f(Transform element)) => IterableMixinWorkaround.forEach(thi s, f);
7447 7447
7448 String join([String separator]) => 7448 String join([String separator = ""]) =>
7449 IterableMixinWorkaround.joinList(this, separator); 7449 IterableMixinWorkaround.joinList(this, separator);
7450 7450
7451 Iterable map(f(Transform element)) => 7451 Iterable map(f(Transform element)) =>
7452 IterableMixinWorkaround.mapList(this, f); 7452 IterableMixinWorkaround.mapList(this, f);
7453 7453
7454 Iterable<Transform> where(bool f(Transform element)) => 7454 Iterable<Transform> where(bool f(Transform element)) =>
7455 IterableMixinWorkaround.where(this, f); 7455 IterableMixinWorkaround.where(this, f);
7456 7456
7457 Iterable expand(Iterable f(Transform element)) => 7457 Iterable expand(Iterable f(Transform element)) =>
7458 IterableMixinWorkaround.expand(this, f); 7458 IterableMixinWorkaround.expand(this, f);
(...skipping 571 matching lines...) Expand 10 before | Expand all | Expand 10 after
8030 } 8030 }
8031 8031
8032 dynamic fold(dynamic initialValue, dynamic combine(dynamic, ElementInstance)) { 8032 dynamic fold(dynamic initialValue, dynamic combine(dynamic, ElementInstance)) {
8033 return IterableMixinWorkaround.fold(this, initialValue, combine); 8033 return IterableMixinWorkaround.fold(this, initialValue, combine);
8034 } 8034 }
8035 8035
8036 bool contains(ElementInstance element) => IterableMixinWorkaround.contains(thi s, element); 8036 bool contains(ElementInstance element) => IterableMixinWorkaround.contains(thi s, element);
8037 8037
8038 void forEach(void f(ElementInstance element)) => IterableMixinWorkaround.forEa ch(this, f); 8038 void forEach(void f(ElementInstance element)) => IterableMixinWorkaround.forEa ch(this, f);
8039 8039
8040 String join([String separator]) => 8040 String join([String separator = ""]) =>
8041 IterableMixinWorkaround.joinList(this, separator); 8041 IterableMixinWorkaround.joinList(this, separator);
8042 8042
8043 Iterable map(f(ElementInstance element)) => 8043 Iterable map(f(ElementInstance element)) =>
8044 IterableMixinWorkaround.mapList(this, f); 8044 IterableMixinWorkaround.mapList(this, f);
8045 8045
8046 Iterable<ElementInstance> where(bool f(ElementInstance element)) => 8046 Iterable<ElementInstance> where(bool f(ElementInstance element)) =>
8047 IterableMixinWorkaround.where(this, f); 8047 IterableMixinWorkaround.where(this, f);
8048 8048
8049 Iterable expand(Iterable f(ElementInstance element)) => 8049 Iterable expand(Iterable f(ElementInstance element)) =>
8050 IterableMixinWorkaround.expand(this, f); 8050 IterableMixinWorkaround.expand(this, f);
(...skipping 496 matching lines...) Expand 10 before | Expand all | Expand 10 after
8547 @DocsEditable 8547 @DocsEditable
8548 @DomName('SVGVKernElement') 8548 @DomName('SVGVKernElement')
8549 abstract class _SVGVKernElement extends SvgElement { 8549 abstract class _SVGVKernElement extends SvgElement {
8550 _SVGVKernElement.internal() : super.internal(); 8550 _SVGVKernElement.internal() : super.internal();
8551 8551
8552 @DomName('SVGVKernElement.SVGVKernElement') 8552 @DomName('SVGVKernElement.SVGVKernElement')
8553 @DocsEditable 8553 @DocsEditable
8554 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag( "vkern"); 8554 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag( "vkern");
8555 8555
8556 } 8556 }
OLDNEW
« no previous file with comments | « sdk/lib/svg/dart2js/svg_dart2js.dart ('k') | sdk/lib/web_sql/dart2js/web_sql_dart2js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698