| OLD | NEW |
| 1 library svg; | 1 library svg; |
| 2 | 2 |
| 3 import 'dart:html'; | 3 import 'dart:html'; |
| 4 import 'dart:nativewrappers'; | 4 import 'dart:nativewrappers'; |
| 5 // DO NOT EDIT | 5 // DO NOT EDIT |
| 6 // Auto-generated dart:svg library. | 6 // Auto-generated dart:svg library. |
| 7 | 7 |
| 8 | 8 |
| 9 | 9 |
| 10 | 10 |
| 11 | 11 |
| 12 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 12 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 13 // for details. All rights reserved. Use of this source code is governed by a | 13 // for details. All rights reserved. Use of this source code is governed by a |
| 14 // BSD-style license that can be found in the LICENSE file. | 14 // BSD-style license that can be found in the LICENSE file. |
| 15 | 15 |
| 16 | 16 |
| 17 final _START_TAG_REGEXP = new RegExp('<(\\w+)'); | 17 final _START_TAG_REGEXP = const RegExp('<(\\w+)'); |
| 18 | 18 |
| 19 class _SVGElementFactoryProvider { | 19 class _SVGElementFactoryProvider { |
| 20 static SVGElement createSVGElement_tag(String tag) { | 20 static SVGElement createSVGElement_tag(String tag) { |
| 21 final Element temp = | 21 final Element temp = |
| 22 document.$dom_createElementNS("http://www.w3.org/2000/svg", tag); | 22 document.$dom_createElementNS("http://www.w3.org/2000/svg", tag); |
| 23 return temp; | 23 return temp; |
| 24 } | 24 } |
| 25 | 25 |
| 26 static SVGElement createSVGElement_svg(String svg) { | 26 static SVGElement createSVGElement_svg(String svg) { |
| 27 Element parentTag; | 27 Element parentTag; |
| (...skipping 7926 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7954 List<SVGElementInstance> getRange(int start, int rangeLength) => | 7954 List<SVGElementInstance> getRange(int start, int rangeLength) => |
| 7955 _Lists.getRange(this, start, rangeLength, <SVGElementInstance>[]); | 7955 _Lists.getRange(this, start, rangeLength, <SVGElementInstance>[]); |
| 7956 | 7956 |
| 7957 // -- end List<SVGElementInstance> mixins. | 7957 // -- end List<SVGElementInstance> mixins. |
| 7958 | 7958 |
| 7959 | 7959 |
| 7960 /** @domName SVGElementInstanceList.item */ | 7960 /** @domName SVGElementInstanceList.item */ |
| 7961 SVGElementInstance item(int index) native "SVGElementInstanceList_item_Callbac
k"; | 7961 SVGElementInstance item(int index) native "SVGElementInstanceList_item_Callbac
k"; |
| 7962 | 7962 |
| 7963 } | 7963 } |
| OLD | NEW |