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

Side by Side Diff: sdk/lib/svg/dart2js/svg_dart2js.dart

Issue 11312203: "Reverting 14829-14832" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month 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
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « sdk/lib/html/templates/html/impl/impl_Element.darttemplate ('k') | sdk/lib/svg/dartium/svg_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698