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

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

Issue 1145243013: Check for duplicate library names (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: 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/async.js
diff --git a/lib/runtime/dart/async.js b/lib/runtime/dart/async.js
index f085ffee4a44a1eda1f6f94315e07f3a3e583184..cb19196aec674740559a286976a66cb37048a402 100644
--- a/lib/runtime/dart/async.js
+++ b/lib/runtime/dart/async.js
@@ -1,9 +1,9 @@
-var async = dart.defineLibrary(async, {});
-var core = dart.import(core);
-var _internal = dart.import(_internal);
-var _js_helper = dart.lazyImport(_js_helper);
-var _isolate_helper = dart.lazyImport(_isolate_helper);
-var collection = dart.import(collection);
+dart.defineLibrary('async');
+dart.import('core');
+dart.import('_internal');
+dart.lazyImport('_js_helper');
+dart.lazyImport('_isolate_helper');
+dart.import('collection');
(function(exports, core, _internal, _js_helper, _isolate_helper, collection) {
'use strict';
function _invokeErrorHandler(errorHandler, error, stackTrace) {

Powered by Google App Engine
This is Rietveld 408576698