| OLD | NEW | 
|     1 library svg; |     1 library svg; | 
|     2  |     2  | 
|     3 import 'dart:collection'; |     3 import 'dart:collection'; | 
|     4 import 'dart:html'; |     4 import 'dart:html'; | 
|     5 import 'dart:html_common'; |     5 import 'dart:html_common'; | 
|     6 import 'dart:nativewrappers'; |     6 import 'dart:nativewrappers'; | 
|     7 // DO NOT EDIT |     7 // DO NOT EDIT | 
|     8 // Auto-generated dart:svg library. |     8 // Auto-generated dart:svg library. | 
|     9  |     9  | 
|    10  |    10  | 
| (...skipping 3624 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  3635   Length get first { |  3635   Length get first { | 
|  3636     if (this.length > 0) return this[0]; |  3636     if (this.length > 0) return this[0]; | 
|  3637     throw new StateError("No elements"); |  3637     throw new StateError("No elements"); | 
|  3638   } |  3638   } | 
|  3639  |  3639  | 
|  3640   Length get last { |  3640   Length get last { | 
|  3641     if (this.length > 0) return this[this.length - 1]; |  3641     if (this.length > 0) return this[this.length - 1]; | 
|  3642     throw new StateError("No elements"); |  3642     throw new StateError("No elements"); | 
|  3643   } |  3643   } | 
|  3644  |  3644  | 
 |  3645   Length get single { | 
 |  3646     if (length == 1) return this[0]; | 
 |  3647     if (length == 0) throw new StateError("No elements"); | 
 |  3648     throw new StateError("More than one element"); | 
 |  3649   } | 
 |  3650  | 
 |  3651   Length min([int compare(Length a, Length b)]) => _Collections.minInList(this, 
      compare); | 
 |  3652  | 
 |  3653   Length max([int compare(Length a, Length b)]) => _Collections.maxInList(this, 
      compare); | 
 |  3654  | 
|  3645   Length removeAt(int pos) { |  3655   Length removeAt(int pos) { | 
|  3646     throw new UnsupportedError("Cannot removeAt on immutable List."); |  3656     throw new UnsupportedError("Cannot removeAt on immutable List."); | 
|  3647   } |  3657   } | 
|  3648  |  3658  | 
|  3649   Length removeLast() { |  3659   Length removeLast() { | 
|  3650     throw new UnsupportedError("Cannot removeLast on immutable List."); |  3660     throw new UnsupportedError("Cannot removeLast on immutable List."); | 
|  3651   } |  3661   } | 
|  3652  |  3662  | 
|  3653   void setRange(int start, int rangeLength, List<Length> from, [int startFrom]) 
      { |  3663   void setRange(int start, int rangeLength, List<Length> from, [int startFrom]) 
      { | 
|  3654     throw new UnsupportedError("Cannot setRange on immutable List."); |  3664     throw new UnsupportedError("Cannot setRange on immutable List."); | 
| (...skipping 694 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  4349   Number get first { |  4359   Number get first { | 
|  4350     if (this.length > 0) return this[0]; |  4360     if (this.length > 0) return this[0]; | 
|  4351     throw new StateError("No elements"); |  4361     throw new StateError("No elements"); | 
|  4352   } |  4362   } | 
|  4353  |  4363  | 
|  4354   Number get last { |  4364   Number get last { | 
|  4355     if (this.length > 0) return this[this.length - 1]; |  4365     if (this.length > 0) return this[this.length - 1]; | 
|  4356     throw new StateError("No elements"); |  4366     throw new StateError("No elements"); | 
|  4357   } |  4367   } | 
|  4358  |  4368  | 
 |  4369   Number get single { | 
 |  4370     if (length == 1) return this[0]; | 
 |  4371     if (length == 0) throw new StateError("No elements"); | 
 |  4372     throw new StateError("More than one element"); | 
 |  4373   } | 
 |  4374  | 
 |  4375   Number min([int compare(Number a, Number b)]) => _Collections.minInList(this, 
      compare); | 
 |  4376  | 
 |  4377   Number max([int compare(Number a, Number b)]) => _Collections.maxInList(this, 
      compare); | 
 |  4378  | 
|  4359   Number removeAt(int pos) { |  4379   Number removeAt(int pos) { | 
|  4360     throw new UnsupportedError("Cannot removeAt on immutable List."); |  4380     throw new UnsupportedError("Cannot removeAt on immutable List."); | 
|  4361   } |  4381   } | 
|  4362  |  4382  | 
|  4363   Number removeLast() { |  4383   Number removeLast() { | 
|  4364     throw new UnsupportedError("Cannot removeLast on immutable List."); |  4384     throw new UnsupportedError("Cannot removeLast on immutable List."); | 
|  4365   } |  4385   } | 
|  4366  |  4386  | 
|  4367   void setRange(int start, int rangeLength, List<Number> from, [int startFrom]) 
      { |  4387   void setRange(int start, int rangeLength, List<Number> from, [int startFrom]) 
      { | 
|  4368     throw new UnsupportedError("Cannot setRange on immutable List."); |  4388     throw new UnsupportedError("Cannot setRange on immutable List."); | 
| (...skipping 1102 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  5471   PathSeg get first { |  5491   PathSeg get first { | 
|  5472     if (this.length > 0) return this[0]; |  5492     if (this.length > 0) return this[0]; | 
|  5473     throw new StateError("No elements"); |  5493     throw new StateError("No elements"); | 
|  5474   } |  5494   } | 
|  5475  |  5495  | 
|  5476   PathSeg get last { |  5496   PathSeg get last { | 
|  5477     if (this.length > 0) return this[this.length - 1]; |  5497     if (this.length > 0) return this[this.length - 1]; | 
|  5478     throw new StateError("No elements"); |  5498     throw new StateError("No elements"); | 
|  5479   } |  5499   } | 
|  5480  |  5500  | 
 |  5501   PathSeg get single { | 
 |  5502     if (length == 1) return this[0]; | 
 |  5503     if (length == 0) throw new StateError("No elements"); | 
 |  5504     throw new StateError("More than one element"); | 
 |  5505   } | 
 |  5506  | 
 |  5507   PathSeg min([int compare(PathSeg a, PathSeg b)]) => _Collections.minInList(thi
      s, compare); | 
 |  5508  | 
 |  5509   PathSeg max([int compare(PathSeg a, PathSeg b)]) => _Collections.maxInList(thi
      s, compare); | 
 |  5510  | 
|  5481   PathSeg removeAt(int pos) { |  5511   PathSeg removeAt(int pos) { | 
|  5482     throw new UnsupportedError("Cannot removeAt on immutable List."); |  5512     throw new UnsupportedError("Cannot removeAt on immutable List."); | 
|  5483   } |  5513   } | 
|  5484  |  5514  | 
|  5485   PathSeg removeLast() { |  5515   PathSeg removeLast() { | 
|  5486     throw new UnsupportedError("Cannot removeLast on immutable List."); |  5516     throw new UnsupportedError("Cannot removeLast on immutable List."); | 
|  5487   } |  5517   } | 
|  5488  |  5518  | 
|  5489   void setRange(int start, int rangeLength, List<PathSeg> from, [int startFrom])
       { |  5519   void setRange(int start, int rangeLength, List<PathSeg> from, [int startFrom])
       { | 
|  5490     throw new UnsupportedError("Cannot setRange on immutable List."); |  5520     throw new UnsupportedError("Cannot setRange on immutable List."); | 
| (...skipping 947 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  6438   String get first { |  6468   String get first { | 
|  6439     if (this.length > 0) return this[0]; |  6469     if (this.length > 0) return this[0]; | 
|  6440     throw new StateError("No elements"); |  6470     throw new StateError("No elements"); | 
|  6441   } |  6471   } | 
|  6442  |  6472  | 
|  6443   String get last { |  6473   String get last { | 
|  6444     if (this.length > 0) return this[this.length - 1]; |  6474     if (this.length > 0) return this[this.length - 1]; | 
|  6445     throw new StateError("No elements"); |  6475     throw new StateError("No elements"); | 
|  6446   } |  6476   } | 
|  6447  |  6477  | 
 |  6478   String get single { | 
 |  6479     if (length == 1) return this[0]; | 
 |  6480     if (length == 0) throw new StateError("No elements"); | 
 |  6481     throw new StateError("More than one element"); | 
 |  6482   } | 
 |  6483  | 
 |  6484   String min([int compare(String a, String b)]) => _Collections.minInList(this, 
      compare); | 
 |  6485  | 
 |  6486   String max([int compare(String a, String b)]) => _Collections.maxInList(this, 
      compare); | 
 |  6487  | 
|  6448   String removeAt(int pos) { |  6488   String removeAt(int pos) { | 
|  6449     throw new UnsupportedError("Cannot removeAt on immutable List."); |  6489     throw new UnsupportedError("Cannot removeAt on immutable List."); | 
|  6450   } |  6490   } | 
|  6451  |  6491  | 
|  6452   String removeLast() { |  6492   String removeLast() { | 
|  6453     throw new UnsupportedError("Cannot removeLast on immutable List."); |  6493     throw new UnsupportedError("Cannot removeLast on immutable List."); | 
|  6454   } |  6494   } | 
|  6455  |  6495  | 
|  6456   void setRange(int start, int rangeLength, List<String> from, [int startFrom]) 
      { |  6496   void setRange(int start, int rangeLength, List<String> from, [int startFrom]) 
      { | 
|  6457     throw new UnsupportedError("Cannot setRange on immutable List."); |  6497     throw new UnsupportedError("Cannot setRange on immutable List."); | 
| (...skipping 1242 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  7700   Transform get first { |  7740   Transform get first { | 
|  7701     if (this.length > 0) return this[0]; |  7741     if (this.length > 0) return this[0]; | 
|  7702     throw new StateError("No elements"); |  7742     throw new StateError("No elements"); | 
|  7703   } |  7743   } | 
|  7704  |  7744  | 
|  7705   Transform get last { |  7745   Transform get last { | 
|  7706     if (this.length > 0) return this[this.length - 1]; |  7746     if (this.length > 0) return this[this.length - 1]; | 
|  7707     throw new StateError("No elements"); |  7747     throw new StateError("No elements"); | 
|  7708   } |  7748   } | 
|  7709  |  7749  | 
 |  7750   Transform get single { | 
 |  7751     if (length == 1) return this[0]; | 
 |  7752     if (length == 0) throw new StateError("No elements"); | 
 |  7753     throw new StateError("More than one element"); | 
 |  7754   } | 
 |  7755  | 
 |  7756   Transform min([int compare(Transform a, Transform b)]) => _Collections.minInLi
      st(this, compare); | 
 |  7757  | 
 |  7758   Transform max([int compare(Transform a, Transform b)]) => _Collections.maxInLi
      st(this, compare); | 
 |  7759  | 
|  7710   Transform removeAt(int pos) { |  7760   Transform removeAt(int pos) { | 
|  7711     throw new UnsupportedError("Cannot removeAt on immutable List."); |  7761     throw new UnsupportedError("Cannot removeAt on immutable List."); | 
|  7712   } |  7762   } | 
|  7713  |  7763  | 
|  7714   Transform removeLast() { |  7764   Transform removeLast() { | 
|  7715     throw new UnsupportedError("Cannot removeLast on immutable List."); |  7765     throw new UnsupportedError("Cannot removeLast on immutable List."); | 
|  7716   } |  7766   } | 
|  7717  |  7767  | 
|  7718   void setRange(int start, int rangeLength, List<Transform> from, [int startFrom
      ]) { |  7768   void setRange(int start, int rangeLength, List<Transform> from, [int startFrom
      ]) { | 
|  7719     throw new UnsupportedError("Cannot setRange on immutable List."); |  7769     throw new UnsupportedError("Cannot setRange on immutable List."); | 
| (...skipping 524 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  8244   ElementInstance get first { |  8294   ElementInstance get first { | 
|  8245     if (this.length > 0) return this[0]; |  8295     if (this.length > 0) return this[0]; | 
|  8246     throw new StateError("No elements"); |  8296     throw new StateError("No elements"); | 
|  8247   } |  8297   } | 
|  8248  |  8298  | 
|  8249   ElementInstance get last { |  8299   ElementInstance get last { | 
|  8250     if (this.length > 0) return this[this.length - 1]; |  8300     if (this.length > 0) return this[this.length - 1]; | 
|  8251     throw new StateError("No elements"); |  8301     throw new StateError("No elements"); | 
|  8252   } |  8302   } | 
|  8253  |  8303  | 
 |  8304   ElementInstance get single { | 
 |  8305     if (length == 1) return this[0]; | 
 |  8306     if (length == 0) throw new StateError("No elements"); | 
 |  8307     throw new StateError("More than one element"); | 
 |  8308   } | 
 |  8309  | 
 |  8310   ElementInstance min([int compare(ElementInstance a, ElementInstance b)]) => _C
      ollections.minInList(this, compare); | 
 |  8311  | 
 |  8312   ElementInstance max([int compare(ElementInstance a, ElementInstance b)]) => _C
      ollections.maxInList(this, compare); | 
 |  8313  | 
|  8254   ElementInstance removeAt(int pos) { |  8314   ElementInstance removeAt(int pos) { | 
|  8255     throw new UnsupportedError("Cannot removeAt on immutable List."); |  8315     throw new UnsupportedError("Cannot removeAt on immutable List."); | 
|  8256   } |  8316   } | 
|  8257  |  8317  | 
|  8258   ElementInstance removeLast() { |  8318   ElementInstance removeLast() { | 
|  8259     throw new UnsupportedError("Cannot removeLast on immutable List."); |  8319     throw new UnsupportedError("Cannot removeLast on immutable List."); | 
|  8260   } |  8320   } | 
|  8261  |  8321  | 
|  8262   void setRange(int start, int rangeLength, List<ElementInstance> from, [int sta
      rtFrom]) { |  8322   void setRange(int start, int rangeLength, List<ElementInstance> from, [int sta
      rtFrom]) { | 
|  8263     throw new UnsupportedError("Cannot setRange on immutable List."); |  8323     throw new UnsupportedError("Cannot setRange on immutable List."); | 
| (...skipping 10 matching lines...) Expand all  Loading... | 
|  8274   List<ElementInstance> getRange(int start, int rangeLength) => |  8334   List<ElementInstance> getRange(int start, int rangeLength) => | 
|  8275       Lists.getRange(this, start, rangeLength, <ElementInstance>[]); |  8335       Lists.getRange(this, start, rangeLength, <ElementInstance>[]); | 
|  8276  |  8336  | 
|  8277   // -- end List<ElementInstance> mixins. |  8337   // -- end List<ElementInstance> mixins. | 
|  8278  |  8338  | 
|  8279  |  8339  | 
|  8280   /** @domName SVGElementInstanceList.item */ |  8340   /** @domName SVGElementInstanceList.item */ | 
|  8281   ElementInstance item(int index) native "SVGElementInstanceList_item_Callback"; |  8341   ElementInstance item(int index) native "SVGElementInstanceList_item_Callback"; | 
|  8282  |  8342  | 
|  8283 } |  8343 } | 
| OLD | NEW |