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

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

Issue 1122133003: fixes #157, renaming local library identifiers if needed. (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: new approach Created 5 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: lib/runtime/dart/async.js
diff --git a/lib/runtime/dart/async.js b/lib/runtime/dart/async.js
index 1acb240657459e3c43bfbcafb4a829783d685b1e..b4277d636fe28c2a196bb6b567320eb6c9b6b50e 100644
--- a/lib/runtime/dart/async.js
+++ b/lib/runtime/dart/async.js
@@ -1,5 +1,10 @@
-var async;
-(function(exports) {
+var async = dart.defineLibrary(async, {});
+var core = dart.lazyImport(core);
+var _internal = dart.lazyImport(_internal);
+var _js_helper = dart.import(_js_helper);
+var _isolate_helper = dart.import(_isolate_helper);
+var collection = dart.lazyImport(collection);
+(function(exports, core, _internal, _js_helper, _isolate_helper, collection) {
'use strict';
// Function _invokeErrorHandler: (Function, Object, StackTrace) → dynamic
function _invokeErrorHandler(errorHandler, error, stackTrace) {
@@ -5366,4 +5371,4 @@ var async;
exports.ZoneDelegate = ZoneDelegate;
exports.Zone = Zone;
exports.runZoned = runZoned;
-})(async || (async = {}));
+})(async, core, _internal, _js_helper, _isolate_helper, collection);

Powered by Google App Engine
This is Rietveld 408576698