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

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: rebase and format 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
« no previous file with comments | « lib/runtime/dart/core.js ('k') | lib/runtime/dart/math.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/runtime/dart/isolate.js
diff --git a/lib/runtime/dart/isolate.js b/lib/runtime/dart/isolate.js
index f29e20f81c444a1809c5b6658f512794961e0e58..6f51bdfcb52d826fad4483125b9e021645845bf6 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.import(core);
+var _isolate_helper = dart.lazyImport(_isolate_helper);
+var async = dart.import(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);
« no previous file with comments | « lib/runtime/dart/core.js ('k') | lib/runtime/dart/math.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698