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

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

Issue 1530133003: Support source maps in server mode (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Address comments Created 4 years, 11 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 | « no previous file | lib/src/codegen/js_codegen.dart » ('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/html', null, /* Imports */[ 1 dart_library.library('dart/html', null, /* Imports */[
2 "dart/_runtime", 2 "dart/_runtime",
3 'dart/math', 3 'dart/math',
4 'dart/core', 4 'dart/core',
5 'dart/_js_helper', 5 'dart/_js_helper',
6 'dart/async', 6 'dart/async',
7 'dart/collection', 7 'dart/collection',
8 'dart/_foreign_helper', 8 'dart/_foreign_helper',
9 'dart/isolate' 9 'dart/isolate'
10 ], /* Lazy imports */[ 10 ], /* Lazy imports */[
(...skipping 12417 matching lines...) Expand 10 before | Expand all | Expand 10 after
12428 return jso[_wrapper]; 12428 return jso[_wrapper];
12429 } 12429 }
12430 let constructor = jso.constructor; 12430 let constructor = jso.constructor;
12431 let f = null; 12431 let f = null;
12432 let name = null; 12432 let name = null;
12433 let skip = false; 12433 let skip = false;
12434 while (f == null) { 12434 while (f == null) {
12435 name = constructor.name; 12435 name = constructor.name;
12436 f = getHtmlCreateFunction(name); 12436 f = getHtmlCreateFunction(name);
12437 if (f == null) { 12437 if (f == null) {
12438 dart.dsend(/* Unimplemented unknown name */console, 'error', `Could not instantiate ${name}`); 12438 dart.dsend(/* Unimplemented unknown name */console, 'warn', `Could not i nstantiate ${name}`);
12439 skip = true; 12439 skip = true;
12440 constructor = constructor.__proto__; 12440 constructor = constructor.__proto__;
12441 } 12441 }
12442 } 12442 }
12443 if (dart.notNull(skip)) { 12443 if (dart.notNull(skip)) {
12444 dart.dsend(/* Unimplemented unknown name */console, 'info', `Instantiated ${name} instead`); 12444 dart.dsend(/* Unimplemented unknown name */console, 'info', `Instantiated ${name} instead`);
12445 } 12445 }
12446 let wrapped = dart.dcall(f); 12446 let wrapped = dart.dcall(f);
12447 dart.dput(wrapped, 'raw', jso); 12447 dart.dput(wrapped, 'raw', jso);
12448 jso[_wrapper] = wrapped; 12448 jso[_wrapper] = wrapped;
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
12586 exports.ElementUpgrader = ElementUpgrader; 12586 exports.ElementUpgrader = ElementUpgrader;
12587 exports.NodeValidator = NodeValidator; 12587 exports.NodeValidator = NodeValidator;
12588 exports.NodeTreeSanitizer = NodeTreeSanitizer; 12588 exports.NodeTreeSanitizer = NodeTreeSanitizer;
12589 exports.UriPolicy = UriPolicy; 12589 exports.UriPolicy = UriPolicy;
12590 exports.spawnDomUri = spawnDomUri; 12590 exports.spawnDomUri = spawnDomUri;
12591 exports.unwrap_jso = unwrap_jso; 12591 exports.unwrap_jso = unwrap_jso;
12592 exports.wrap_jso = wrap_jso; 12592 exports.wrap_jso = wrap_jso;
12593 exports.createCustomUpgrader = createCustomUpgrader; 12593 exports.createCustomUpgrader = createCustomUpgrader;
12594 exports.getHtmlCreateFunction = getHtmlCreateFunction; 12594 exports.getHtmlCreateFunction = getHtmlCreateFunction;
12595 }); 12595 });
OLDNEW
« no previous file with comments | « no previous file | lib/src/codegen/js_codegen.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698