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

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

Issue 1122133003: fixes #157, renaming local library identifiers if needed. (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: new approach Created 5 years, 7 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 a669b8acec637db6d220aacf00cb443f01b2d5e2..dcb70d5b0f5ccc5126ecf782e98e029368e423cb 100644
--- a/lib/runtime/dart/_js_helper.js
+++ b/lib/runtime/dart/_js_helper.js
@@ -1,5 +1,14 @@
-var _js_helper;
-(function(exports) {
+var _js_helper = dart.defineLibrary(_js_helper, {});
+var core = dart.lazyImport(core);
+var collection = dart.lazyImport(collection);
+var _internal = dart.lazyImport(_internal);
+var _foreign_helper = dart.lazyImport(_foreign_helper);
+var _js_embedded_names = dart.lazyImport(_js_embedded_names);
+var _interceptors = dart.import(_interceptors);
+var _js_names = dart.lazyImport(_js_names);
+var async = dart.lazyImport(async);
+var _isolate_helper = dart.import(_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 {
NoSideEffects() {
@@ -4080,4 +4089,4 @@ var _js_helper;
exports.missingMain = missingMain;
exports.badMain = badMain;
exports.mainHasTooManyParameters = mainHasTooManyParameters;
-})(_js_helper || (_js_helper = {}));
+})(_js_helper, core, collection, _internal, _foreign_helper, _js_embedded_names, _interceptors, _js_names, async, _isolate_helper);

Powered by Google App Engine
This is Rietveld 408576698