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

Unified Diff: lib/runtime/dart/_js_names.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 | « lib/runtime/dart/_js_helper.js ('k') | lib/runtime/dart/_js_primitives.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/runtime/dart/_js_names.js
diff --git a/lib/runtime/dart/_js_names.js b/lib/runtime/dart/_js_names.js
index 1c6f4a7b7811e0450e8329e314f22a8853a02da1..c5cae962db5500917af70ae23724fe8b8eafbb89 100644
--- a/lib/runtime/dart/_js_names.js
+++ b/lib/runtime/dart/_js_names.js
@@ -1,5 +1,10 @@
-var _js_names;
-(function(exports) {
+var _js_names = dart.defineLibrary(_js_names, {});
+var _foreign_helper = dart.lazyImport(_foreign_helper);
+var _js_embedded_names = dart.import(_js_embedded_names);
+var core = dart.import(core);
+var _interceptors = dart.import(_interceptors);
+var _js_helper = dart.lazyImport(_js_helper);
+(function(exports, _foreign_helper, _js_embedded_names, core, _interceptors, _js_helper) {
'use strict';
// Function preserveNames: () → dynamic
function preserveNames() {
@@ -76,4 +81,4 @@ var _js_names;
exports.extractKeys = extractKeys;
exports.unmangleGlobalNameIfPreservedAnyways = unmangleGlobalNameIfPreservedAnyways;
exports.unmangleAllIdentifiersIfPreservedAnyways = unmangleAllIdentifiersIfPreservedAnyways;
-})(_js_names || (_js_names = {}));
+})(_js_names, _foreign_helper, _js_embedded_names, core, _interceptors, _js_helper);
« no previous file with comments | « lib/runtime/dart/_js_helper.js ('k') | lib/runtime/dart/_js_primitives.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698