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

Unified Diff: lib/runtime/dart/collection.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/async.js ('k') | lib/runtime/dart/convert.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/runtime/dart/collection.js
diff --git a/lib/runtime/dart/collection.js b/lib/runtime/dart/collection.js
index 0d50f21e34bbca61bc16c04ede3a4ab101f7061d..701774f32e791d0cf25ad3079d71feff32ec4950 100644
--- a/lib/runtime/dart/collection.js
+++ b/lib/runtime/dart/collection.js
@@ -1,9 +1,10 @@
-var collection = dart.defineLibrary(collection, {});
-var _internal = dart.lazyImport(_internal);
-var core = dart.import(core);
-var _js_helper = dart.lazyImport(_js_helper);
-var math = dart.lazyImport(math);
-(function(exports, _internal, core, _js_helper, math) {
+dart.library('dart/collection', null, /* Imports */[
+ 'dart/core'
+], /* Lazy imports */[
+ 'dart/_internal',
+ 'dart/_js_helper',
+ 'dart/math'
+], function(exports, core, _internal, _js_helper, math) {
'use strict';
let _source = Symbol('_source');
let UnmodifiableListView$ = dart.generic(function(E) {
@@ -6000,4 +6001,4 @@ var math = dart.lazyImport(math);
exports.LinkedHashSetCell = LinkedHashSetCell;
exports.LinkedHashSetIterator$ = LinkedHashSetIterator$;
exports.LinkedHashSetIterator = LinkedHashSetIterator;
-})(collection, _internal, core, _js_helper, math);
+});
« no previous file with comments | « lib/runtime/dart/async.js ('k') | lib/runtime/dart/convert.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698