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

Unified Diff: lib/runtime/dart/convert.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/collection.js ('k') | lib/runtime/dart/core.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/runtime/dart/convert.js
diff --git a/lib/runtime/dart/convert.js b/lib/runtime/dart/convert.js
index 8d7498043298077183e83449688c8b3a360f384d..9172822cb7685216e723d365c5c307a5003a40f2 100644
--- a/lib/runtime/dart/convert.js
+++ b/lib/runtime/dart/convert.js
@@ -1,10 +1,11 @@
-var convert = dart.defineLibrary(convert, {});
-var core = dart.import(core);
-var async = dart.import(async);
-var typed_data = dart.import(typed_data);
-var _internal = dart.import(_internal);
-var collection = dart.import(collection);
-(function(exports, core, async, typed_data, _internal, collection) {
+dart.library('dart/convert', null, /* Imports */[
+ 'dart/core',
+ 'dart/async',
+ 'dart/typed_data',
+ 'dart/_internal',
+ 'dart/collection'
+], /* Lazy imports */[
+], function(exports, core, async, typed_data, _internal, collection) {
'use strict';
let Codec$ = dart.generic(function(S, T) {
class Codec extends core.Object {
@@ -2896,4 +2897,4 @@ var collection = dart.import(collection);
exports.UTF8 = UTF8;
exports.Utf8Encoder = Utf8Encoder;
exports.Utf8Decoder = Utf8Decoder;
-})(convert, core, async, typed_data, _internal, collection);
+});
« no previous file with comments | « lib/runtime/dart/collection.js ('k') | lib/runtime/dart/core.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698