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

Unified Diff: lib/runtime/dart/isolate.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/isolate.js
diff --git a/lib/runtime/dart/isolate.js b/lib/runtime/dart/isolate.js
index f29e20f81c444a1809c5b6658f512794961e0e58..890f8f0439ffa0a25fdb88f4ea746c6e5f749e84 100644
--- a/lib/runtime/dart/isolate.js
+++ b/lib/runtime/dart/isolate.js
@@ -1,5 +1,8 @@
-var isolate;
-(function(exports) {
+var isolate = dart.defineLibrary(isolate, {});
+var core = dart.lazyImport(core);
+var _isolate_helper = dart.import(_isolate_helper);
+var async = dart.lazyImport(async);
+(function(exports, core, _isolate_helper, async) {
'use strict';
class Capability extends core.Object {
Capability() {
@@ -217,4 +220,4 @@ var isolate;
exports.ReceivePort = ReceivePort;
exports.RawReceivePort = RawReceivePort;
exports.RemoteError = RemoteError;
-})(isolate || (isolate = {}));
+})(isolate, core, _isolate_helper, async);

Powered by Google App Engine
This is Rietveld 408576698