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

Unified Diff: lib/runtime/dart/_isolate_helper.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/_internal.js ('k') | lib/runtime/dart/_js_embedded_names.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/runtime/dart/_isolate_helper.js
diff --git a/lib/runtime/dart/_isolate_helper.js b/lib/runtime/dart/_isolate_helper.js
index 42def362a17278371162e84266977b4680917502..a4bd33a1864256db4d310eb19d16376ffe800578 100644
--- a/lib/runtime/dart/_isolate_helper.js
+++ b/lib/runtime/dart/_isolate_helper.js
@@ -1,14 +1,15 @@
-var _isolate_helper = dart.defineLibrary(_isolate_helper, {});
-var core = dart.import(core);
-var _native_typed_data = dart.import(_native_typed_data);
-var _interceptors = dart.import(_interceptors);
-var _js_helper = dart.import(_js_helper);
-var isolate = dart.import(isolate);
-var _foreign_helper = dart.import(_foreign_helper);
-var _js_embedded_names = dart.import(_js_embedded_names);
-var collection = dart.import(collection);
-var async = dart.import(async);
-(function(exports, core, _native_typed_data, _interceptors, _js_helper, isolate, _foreign_helper, _js_embedded_names, collection, async) {
+dart.library('dart/_isolate_helper', null, /* Imports */[
+ 'dart/core',
+ 'dart/_native_typed_data',
+ 'dart/_interceptors',
+ 'dart/_js_helper',
+ 'dart/isolate',
+ 'dart/_foreign_helper',
+ 'dart/_js_embedded_names',
+ 'dart/collection',
+ 'dart/async'
+], /* Lazy imports */[
+], function(exports, core, _native_typed_data, _interceptors, _js_helper, isolate, _foreign_helper, _js_embedded_names, collection, async) {
'use strict';
function _serializeMessage(message) {
return new _Serializer().serialize(message);
@@ -1557,4 +1558,4 @@ var async = dart.import(async);
exports.TimerImpl = TimerImpl;
exports.hasTimer = hasTimer;
exports.CapabilityImpl = CapabilityImpl;
-})(_isolate_helper, core, _native_typed_data, _interceptors, _js_helper, isolate, _foreign_helper, _js_embedded_names, collection, async);
+});
« no previous file with comments | « lib/runtime/dart/_internal.js ('k') | lib/runtime/dart/_js_embedded_names.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698