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