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

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

Issue 1145243013: Check for duplicate library names (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Rebase and cleanup 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/_internal.js
diff --git a/lib/runtime/dart/_internal.js b/lib/runtime/dart/_internal.js
index e1ddf9fd76a0dab1ebbab28314e625a786087424..82d1e4f3196fbe36d4c5bd21c6f8694368dffa17 100644
--- a/lib/runtime/dart/_internal.js
+++ b/lib/runtime/dart/_internal.js
@@ -1,10 +1,11 @@
-var _internal = dart.defineLibrary(_internal, {});
-var core = dart.import(core);
-var collection = dart.import(collection);
-var math = dart.lazyImport(math);
-var _interceptors = dart.lazyImport(_interceptors);
-var _js_primitives = dart.lazyImport(_js_primitives);
-(function(exports, core, collection, math, _interceptors, _js_primitives) {
+dart.library('dart/_internal.js', null, /* Imports */[
+ 'dart/core.js',
+ 'dart/collection.js'
+], /* Lazy imports */[
+ 'dart/math.js',
+ 'dart/_interceptors.js',
+ 'dart/_js_primitives.js'
+], function(exports, core, collection, math, _interceptors, _js_primitives) {
'use strict';
class EfficientLength extends core.Object {}
let ListIterable$ = dart.generic(function(E) {
@@ -2427,4 +2428,4 @@ var _js_primitives = dart.lazyImport(_js_primitives);
exports.Sort = Sort;
exports.Symbol = Symbol;
exports.POWERS_OF_TEN = POWERS_OF_TEN;
-})(_internal, core, collection, math, _interceptors, _js_primitives);
+});

Powered by Google App Engine
This is Rietveld 408576698