Index: lib/runtime/dart/isolate.js |
diff --git a/lib/runtime/dart/isolate.js b/lib/runtime/dart/isolate.js |
index 8e18d397aaed1396bc5d471fa48557782d616c4f..dc371ad98979a7902c5eae1b56a57a21e368dd33 100644 |
--- a/lib/runtime/dart/isolate.js |
+++ b/lib/runtime/dart/isolate.js |
@@ -1,8 +1,9 @@ |
-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) { |
+dart.library('dart/isolate', null, /* Imports */[ |
+ 'dart/core', |
+ 'dart/async' |
+], /* Lazy imports */[ |
+ 'dart/_isolate_helper' |
+], function(exports, core, async, _isolate_helper) { |
'use strict'; |
class Capability extends core.Object { |
static new() { |
@@ -259,4 +260,4 @@ var async = dart.import(async); |
exports.ReceivePort = ReceivePort; |
exports.RawReceivePort = RawReceivePort; |
exports.RemoteError = RemoteError; |
-})(isolate, core, _isolate_helper, async); |
+}); |