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

Side by Side Diff: lib/runtime/dart/svg.js

Issue 1767803002: a few small refactorings to closure workarounds (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 9 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
« no previous file with comments | « lib/runtime/dart/indexed_db.js ('k') | lib/runtime/dart/web_audio.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 dart_library.library('dart/svg', null, /* Imports */[ 1 dart_library.library('dart/svg', null, /* Imports */[
2 'dart/_runtime', 2 'dart/_runtime',
3 'dart/html',
3 'dart/core', 4 'dart/core',
4 'dart/html',
5 'dart/html_common', 5 'dart/html_common',
6 'dart/_metadata', 6 'dart/_metadata',
7 'dart/_js_helper', 7 'dart/_js_helper',
8 'dart/_interceptors', 8 'dart/_interceptors',
9 'dart/collection' 9 'dart/collection'
10 ], /* Lazy imports */[ 10 ], /* Lazy imports */[
11 ], function(exports, dart, core, html$, html_common, _metadata, _js_helper, _int erceptors, collection) { 11 ], function(exports, dart, html$, core, html_common, _metadata, _js_helper, _int erceptors, collection) {
12 'use strict'; 12 'use strict';
13 let dartx = dart.dartx; 13 let dartx = dart.dartx;
14 class _SvgElementFactoryProvider extends core.Object { 14 class _SvgElementFactoryProvider extends core.Object {
15 static createSvgElement_tag(tag) { 15 static createSvgElement_tag(tag) {
16 let temp = html$.document[dartx.createElementNS]("http://www.w3.org/2000/s vg", tag); 16 let temp = html$.document[dartx.createElementNS]("http://www.w3.org/2000/s vg", tag);
17 return dart.as(temp, SvgElement); 17 return dart.as(temp, SvgElement);
18 } 18 }
19 } 19 }
20 dart.setSignature(_SvgElementFactoryProvider, { 20 dart.setSignature(_SvgElementFactoryProvider, {
21 statics: () => ({createSvgElement_tag: [SvgElement, [core.String]]}), 21 statics: () => ({createSvgElement_tag: [SvgElement, [core.String]]}),
(...skipping 6649 matching lines...) Expand 10 before | Expand all | Expand 10 after
6671 exports.Transform = Transform; 6671 exports.Transform = Transform;
6672 exports.TransformList = TransformList; 6672 exports.TransformList = TransformList;
6673 exports.UnitTypes = UnitTypes; 6673 exports.UnitTypes = UnitTypes;
6674 exports.UriReference = UriReference; 6674 exports.UriReference = UriReference;
6675 exports.UseElement = UseElement; 6675 exports.UseElement = UseElement;
6676 exports.ViewElement = ViewElement; 6676 exports.ViewElement = ViewElement;
6677 exports.ViewSpec = ViewSpec; 6677 exports.ViewSpec = ViewSpec;
6678 exports.ZoomAndPan = ZoomAndPan; 6678 exports.ZoomAndPan = ZoomAndPan;
6679 exports.ZoomEvent = ZoomEvent; 6679 exports.ZoomEvent = ZoomEvent;
6680 }); 6680 });
OLDNEW
« no previous file with comments | « lib/runtime/dart/indexed_db.js ('k') | lib/runtime/dart/web_audio.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698