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

Unified Diff: lib/runtime/dart/isolate.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. 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 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);
+});
« 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