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

Unified Diff: lib/runtime/dart/_internal.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/_internal.js
diff --git a/lib/runtime/dart/_internal.js b/lib/runtime/dart/_internal.js
index 3329e2d7699a5e6f31404bc3b56ab76d1247a5e9..43445b2cc9404e8d660ff8adb6dfdb459b99407a 100644
--- a/lib/runtime/dart/_internal.js
+++ b/lib/runtime/dart/_internal.js
@@ -1,5 +1,10 @@
-var _internal;
-(function(exports) {
+var _internal = dart.defineLibrary(_internal, {});
+var core = dart.lazyImport(core);
+var collection = dart.lazyImport(collection);
+var math = dart.import(math);
+var _interceptors = dart.import(_interceptors);
+var _js_primitives = dart.import(_js_primitives);
+(function(exports, core, collection, math, _interceptors, _js_primitives) {
'use strict';
class EfficientLength extends core.Object {}
let ListIterable$ = dart.generic(function(E) {
@@ -2040,4 +2045,4 @@ var _internal;
exports.Sort = Sort;
exports.Symbol = Symbol;
exports.POWERS_OF_TEN = POWERS_OF_TEN;
-})(_internal || (_internal = {}));
+})(_internal, core, collection, math, _interceptors, _js_primitives);

Powered by Google App Engine
This is Rietveld 408576698