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

Unified Diff: lib/runtime/dart/_foreign_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: rebase and format 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
« no previous file with comments | « no previous file | lib/runtime/dart/_interceptors.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/runtime/dart/_foreign_helper.js
diff --git a/lib/runtime/dart/_foreign_helper.js b/lib/runtime/dart/_foreign_helper.js
index e92813ee44df324c452cabe4474a9a3993dc6659..a5ffaf23955fbade5640b6d8c59f6979930400af 100644
--- a/lib/runtime/dart/_foreign_helper.js
+++ b/lib/runtime/dart/_foreign_helper.js
@@ -1,5 +1,6 @@
-var _foreign_helper;
-(function(exports) {
+var _foreign_helper = dart.defineLibrary(_foreign_helper, {});
+var core = dart.import(core);
+(function(exports, core) {
'use strict';
// Function JS: (String, String, [dynamic, dynamic, dynamic, dynamic, dynamic, dynamic, dynamic, dynamic, dynamic, dynamic, dynamic, dynamic]) → dynamic
function JS(typeDescription, codeTemplate, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
@@ -152,4 +153,4 @@ var _foreign_helper;
exports.JS_EFFECT = JS_EFFECT;
exports.JS_CONST = JS_CONST;
exports.JS_STRING_CONCAT = JS_STRING_CONCAT;
-})(_foreign_helper || (_foreign_helper = {}));
+})(_foreign_helper, core);
« no previous file with comments | « no previous file | lib/runtime/dart/_interceptors.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698