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

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

Issue 1633003002: Add --modules=node support (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: merged master Created 4 years, 10 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/_runtime.js ('k') | 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/collection', 6 'dart/collection',
7 'dart/async', 7 'dart/async',
8 'dart/_foreign_helper', 8 'dart/_foreign_helper',
9 'dart/isolate' 9 'dart/isolate'
10 ], /* Lazy imports */[ 10 ], /* Lazy imports */[
(...skipping 12409 matching lines...) Expand 10 before | Expand all | Expand 10 after
12420 forward: [dart.void, []], 12420 forward: [dart.void, []],
12421 go: [dart.void, [core.int]] 12421 go: [dart.void, [core.int]]
12422 }), 12422 }),
12423 statics: () => ({_createSafe: [HistoryBase, [dart.dynamic]]}), 12423 statics: () => ({_createSafe: [HistoryBase, [dart.dynamic]]}),
12424 names: ['_createSafe'] 12424 names: ['_createSafe']
12425 }); 12425 });
12426 class Platform extends core.Object {} 12426 class Platform extends core.Object {}
12427 Platform.supportsSimd = false; 12427 Platform.supportsSimd = false;
12428 dart.defineLazyProperties(Platform, { 12428 dart.defineLazyProperties(Platform, {
12429 get supportsTypedData() { 12429 get supportsTypedData() {
12430 return !!window.ArrayBuffer; 12430 return !!dart.global.ArrayBuffer;
12431 } 12431 }
12432 }); 12432 });
12433 function _wrapZone(callback) { 12433 function _wrapZone(callback) {
12434 if (dart.equals(async.Zone.current, async.Zone.ROOT)) return callback; 12434 if (dart.equals(async.Zone.current, async.Zone.ROOT)) return callback;
12435 if (callback == null) return null; 12435 if (callback == null) return null;
12436 return async.Zone.current.bindUnaryCallback(callback, {runGuarded: true}); 12436 return async.Zone.current.bindUnaryCallback(callback, {runGuarded: true});
12437 } 12437 }
12438 dart.fn(_wrapZone, dart.dynamic, [dart.functionType(dart.dynamic, [dart.dynami c])]); 12438 dart.fn(_wrapZone, dart.dynamic, [dart.functionType(dart.dynamic, [dart.dynami c])]);
12439 function _wrapBinaryZone(callback) { 12439 function _wrapBinaryZone(callback) {
12440 if (dart.equals(async.Zone.current, async.Zone.ROOT)) return callback; 12440 if (dart.equals(async.Zone.current, async.Zone.ROOT)) return callback;
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
12660 dart.setSignature(_ValidatingTreeSanitizer, { 12660 dart.setSignature(_ValidatingTreeSanitizer, {
12661 constructors: () => ({_ValidatingTreeSanitizer: [_ValidatingTreeSanitizer, [ NodeValidator]]}), 12661 constructors: () => ({_ValidatingTreeSanitizer: [_ValidatingTreeSanitizer, [ NodeValidator]]}),
12662 methods: () => ({ 12662 methods: () => ({
12663 sanitizeTree: [dart.void, [Node]], 12663 sanitizeTree: [dart.void, [Node]],
12664 [_removeNode]: [dart.void, [Node, Node]], 12664 [_removeNode]: [dart.void, [Node, Node]],
12665 [_sanitizeUntrustedElement]: [dart.void, [dart.dynamic, Node]], 12665 [_sanitizeUntrustedElement]: [dart.void, [dart.dynamic, Node]],
12666 [_sanitizeElement]: [dart.void, [Element, Node, core.bool, core.String, co re.String, core.Map, core.String]], 12666 [_sanitizeElement]: [dart.void, [Element, Node, core.bool, core.String, co re.String, core.Map, core.String]],
12667 sanitizeNode: [dart.void, [Node, Node]] 12667 sanitizeNode: [dart.void, [Node, Node]]
12668 }) 12668 })
12669 }); 12669 });
12670 dart.defineLazyProperties(exports, {
12671 get window() {
12672 return dart.as(wrap_jso(dart.global), Window);
12673 }
12674 });
12670 dart.copyProperties(exports, { 12675 dart.copyProperties(exports, {
12671 get window() {
12672 return dart.as(wrap_jso(window), Window);
12673 },
12674 get document() { 12676 get document() {
12675 return dart.as(wrap_jso(document), HtmlDocument); 12677 return dart.as(wrap_jso(document), HtmlDocument);
12676 } 12678 }
12677 }); 12679 });
12678 class _EntryArray extends core.Object {} 12680 class _EntryArray extends core.Object {}
12679 _EntryArray[dart.implements] = () => [core.List$(dart.dynamic)]; 12681 _EntryArray[dart.implements] = () => [core.List$(dart.dynamic)];
12680 _EntryArray[dart.metadata] = () => [dart.const(new _js_helper.Native("EntryArr ay"))]; 12682 _EntryArray[dart.metadata] = () => [dart.const(new _js_helper.Native("EntryArr ay"))];
12681 function spawnDomUri(uri, args, message) { 12683 function spawnDomUri(uri, args, message) {
12682 dart.throw(new core.UnimplementedError()); 12684 dart.throw(new core.UnimplementedError());
12683 } 12685 }
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
12871 exports.ElementUpgrader = ElementUpgrader; 12873 exports.ElementUpgrader = ElementUpgrader;
12872 exports.NodeValidator = NodeValidator; 12874 exports.NodeValidator = NodeValidator;
12873 exports.NodeTreeSanitizer = NodeTreeSanitizer; 12875 exports.NodeTreeSanitizer = NodeTreeSanitizer;
12874 exports.UriPolicy = UriPolicy; 12876 exports.UriPolicy = UriPolicy;
12875 exports.spawnDomUri = spawnDomUri; 12877 exports.spawnDomUri = spawnDomUri;
12876 exports.unwrap_jso = unwrap_jso; 12878 exports.unwrap_jso = unwrap_jso;
12877 exports.wrap_jso = wrap_jso; 12879 exports.wrap_jso = wrap_jso;
12878 exports.createCustomUpgrader = createCustomUpgrader; 12880 exports.createCustomUpgrader = createCustomUpgrader;
12879 exports.getHtmlCreateFunction = getHtmlCreateFunction; 12881 exports.getHtmlCreateFunction = getHtmlCreateFunction;
12880 }); 12882 });
OLDNEW
« no previous file with comments | « lib/runtime/dart/_runtime.js ('k') | lib/src/codegen/js_codegen.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698