Chromium Code Reviews

Unified Diff: lib/runtime/dart/async.js

Issue 1145243013: Check for duplicate library names (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Address comments Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « lib/runtime/dart/_native_typed_data.js ('k') | lib/runtime/dart/collection.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/runtime/dart/async.js
diff --git a/lib/runtime/dart/async.js b/lib/runtime/dart/async.js
index 8a226ac94581add794b5302a26563b43a152cd8e..b643ab7061e913426d5517fb343edcfb46865351 100644
--- a/lib/runtime/dart/async.js
+++ b/lib/runtime/dart/async.js
@@ -1,10 +1,11 @@
-var async = dart.defineLibrary(async, {});
-var core = dart.import(core);
-var _internal = dart.import(_internal);
-var _isolate_helper = dart.lazyImport(_isolate_helper);
-var _js_helper = dart.import(_js_helper);
-var collection = dart.import(collection);
-(function(exports, core, _internal, _isolate_helper, _js_helper, collection) {
+dart.library('dart/async', null, /* Imports */[
+ 'dart/core',
+ 'dart/_internal',
+ 'dart/_js_helper',
+ 'dart/collection'
+], /* Lazy imports */[
+ 'dart/_isolate_helper'
+], function(exports, core, _internal, _js_helper, collection, _isolate_helper) {
'use strict';
function _invokeErrorHandler(errorHandler, error, stackTrace) {
if (dart.is(errorHandler, ZoneBinaryCallback)) {
@@ -5906,4 +5907,4 @@ var collection = dart.import(collection);
exports.ZoneDelegate = ZoneDelegate;
exports.Zone = Zone;
exports.runZoned = runZoned;
-})(async, core, _internal, _isolate_helper, _js_helper, collection);
+});
« no previous file with comments | « lib/runtime/dart/_native_typed_data.js ('k') | lib/runtime/dart/collection.js » ('j') | no next file with comments »

Powered by Google App Engine