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

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: Address comments 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
« no previous file with comments | « lib/runtime/dart/_interceptors.js ('k') | lib/runtime/dart/_isolate_helper.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/runtime/dart/_internal.js
diff --git a/lib/runtime/dart/_internal.js b/lib/runtime/dart/_internal.js
index e1ddf9fd76a0dab1ebbab28314e625a786087424..c2d685a35d4c88075b024eda1e808b35b6c0f177 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', null, /* Imports */[
+ 'dart/core',
+ 'dart/collection'
+], /* Lazy imports */[
+ 'dart/math',
+ 'dart/_interceptors',
+ 'dart/_js_primitives'
+], 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);
+});
« no previous file with comments | « lib/runtime/dart/_interceptors.js ('k') | lib/runtime/dart/_isolate_helper.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698