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

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: Rework with canonical names 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
Index: lib/runtime/dart/_isolate_helper.js
diff --git a/lib/runtime/dart/_isolate_helper.js b/lib/runtime/dart/_isolate_helper.js
index 8a5aad2c61bf4772efa1b980f965287835b76b6f..2c45998d4575a2c2e491094d4efa441f6a96b09b 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.lazyImport(_interceptors);
-var _js_helper = dart.lazyImport(_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.js', null, /* Imports */[
+ 'dart/core.js',
+ 'dart/_native_typed_data.js',
+ 'dart/isolate.js',
+ 'dart/_foreign_helper.js',
+ 'dart/_js_embedded_names.js',
+ 'dart/collection.js',
+ 'dart/async.js'
+], /* Lazy imports */[
+ 'dart/_interceptors.js',
+ 'dart/_js_helper.js'
+], function(exports, core, _native_typed_data, isolate, _foreign_helper, _js_embedded_names, collection, async, _interceptors, _js_helper) {
'use strict';
function _serializeMessage(message) {
return new _Serializer().serialize(message);
@@ -1563,4 +1564,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);
+});

Powered by Google App Engine
This is Rietveld 408576698