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

Unified Diff: lib/runtime/dart/_js_helper.js

Issue 1145243013: Check for duplicate library names (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: 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/_js_helper.js
diff --git a/lib/runtime/dart/_js_helper.js b/lib/runtime/dart/_js_helper.js
index abd9a93d6e7dd93ee4e07bc832d010bb5158b2e2..43d9a7c7faa6e15919133750cc4f1a9bd2c551d2 100644
--- a/lib/runtime/dart/_js_helper.js
+++ b/lib/runtime/dart/_js_helper.js
@@ -1,13 +1,13 @@
-var _js_helper = dart.defineLibrary(_js_helper, {});
-var core = dart.import(core);
-var collection = dart.import(collection);
-var _internal = dart.import(_internal);
-var _foreign_helper = dart.import(_foreign_helper);
-var _js_embedded_names = dart.import(_js_embedded_names);
-var _interceptors = dart.lazyImport(_interceptors);
-var _js_names = dart.import(_js_names);
-var async = dart.import(async);
-var _isolate_helper = dart.lazyImport(_isolate_helper);
+dart.defineLibrary('_js_helper');
+dart.import('core');
+dart.import('collection');
+dart.import('_internal');
+dart.import('_foreign_helper');
+dart.import('_js_embedded_names');
+dart.lazyImport('_interceptors');
+dart.import('_js_names');
+dart.import('async');
+dart.lazyImport('_isolate_helper');
(function(exports, core, collection, _internal, _foreign_helper, _js_embedded_names, _interceptors, _js_names, async, _isolate_helper) {
'use strict';
class NoSideEffects extends core.Object {

Powered by Google App Engine
This is Rietveld 408576698