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

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

Issue 1152333009: Delete dart2js specific private library code (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 7 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..9e3dd9ff5aa66d8f7eae176ee73f08491ec69d4d 100644
--- a/lib/runtime/dart/async.js
+++ b/lib/runtime/dart/async.js
@@ -1,10 +1,10 @@
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 _js_helper = dart.import(_js_helper);
var collection = dart.import(collection);
-(function(exports, core, _internal, _js_helper, _isolate_helper, collection) {
+(function(exports, core, _internal, _isolate_helper, _js_helper, collection) {
'use strict';
function _invokeErrorHandler(errorHandler, error, stackTrace) {
if (dart.is(errorHandler, ZoneBinaryCallback)) {
@@ -2769,7 +2769,6 @@ var collection = dart.import(collection);
dart.dcall(_AsyncRun.scheduleImmediateClosure, callback);
}
static _initializeScheduleImmediate() {
- _js_helper.requiresPreamble();
if (self.scheduleImmediate != null) {
return _AsyncRun._scheduleImmediateJsOverride;
}
@@ -5907,4 +5906,4 @@ var collection = dart.import(collection);
exports.ZoneDelegate = ZoneDelegate;
exports.Zone = Zone;
exports.runZoned = runZoned;
-})(async, core, _internal, _js_helper, _isolate_helper, collection);
+})(async, core, _internal, _isolate_helper, _js_helper, collection);

Powered by Google App Engine
This is Rietveld 408576698