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

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: Created 5 years 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') | lib/src/codegen/js_codegen.dart » ('J')
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 12528 matching lines...) Expand 10 before | Expand all | Expand 10 after
12539 return jso[_wrapper]; 12539 return jso[_wrapper];
12540 } 12540 }
12541 let constructor = jso.constructor; 12541 let constructor = jso.constructor;
12542 let f = null; 12542 let f = null;
12543 let name = null; 12543 let name = null;
12544 let skip = false; 12544 let skip = false;
12545 while (f == null) { 12545 while (f == null) {
12546 name = constructor.name; 12546 name = constructor.name;
12547 f = getHtmlCreateFunction(name); 12547 f = getHtmlCreateFunction(name);
12548 if (f == null) { 12548 if (f == null) {
12549 dart.dsend(/* Unimplemented unknown name */console, 'error', `Could not instantiate ${name}`); 12549 dart.dsend(/* Unimplemented unknown name */console, 'warn', `Could not i nstantiate ${name}`);
12550 skip = true; 12550 skip = true;
12551 constructor = constructor.__proto__; 12551 constructor = constructor.__proto__;
12552 } 12552 }
12553 } 12553 }
12554 if (dart.notNull(skip)) { 12554 if (dart.notNull(skip)) {
12555 dart.dsend(/* Unimplemented unknown name */console, 'info', `Instantiated ${name} instead`); 12555 dart.dsend(/* Unimplemented unknown name */console, 'info', `Instantiated ${name} instead`);
12556 } 12556 }
12557 let wrapped = dart.dcall(f); 12557 let wrapped = dart.dcall(f);
12558 dart.dput(wrapped, 'raw', jso); 12558 dart.dput(wrapped, 'raw', jso);
12559 jso[_wrapper] = wrapped; 12559 jso[_wrapper] = wrapped;
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
12697 exports.ElementUpgrader = ElementUpgrader; 12697 exports.ElementUpgrader = ElementUpgrader;
12698 exports.NodeValidator = NodeValidator; 12698 exports.NodeValidator = NodeValidator;
12699 exports.NodeTreeSanitizer = NodeTreeSanitizer; 12699 exports.NodeTreeSanitizer = NodeTreeSanitizer;
12700 exports.UriPolicy = UriPolicy; 12700 exports.UriPolicy = UriPolicy;
12701 exports.spawnDomUri = spawnDomUri; 12701 exports.spawnDomUri = spawnDomUri;
12702 exports.unwrap_jso = unwrap_jso; 12702 exports.unwrap_jso = unwrap_jso;
12703 exports.wrap_jso = wrap_jso; 12703 exports.wrap_jso = wrap_jso;
12704 exports.createCustomUpgrader = createCustomUpgrader; 12704 exports.createCustomUpgrader = createCustomUpgrader;
12705 exports.getHtmlCreateFunction = getHtmlCreateFunction; 12705 exports.getHtmlCreateFunction = getHtmlCreateFunction;
12706 }); 12706 });
OLDNEW
« no previous file with comments | « no previous file | lib/src/codegen/js_codegen.dart » ('j') | lib/src/codegen/js_codegen.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698