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

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: Rebase 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/_native_typed_data.js ('k') | lib/src/dependency_graph.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/runtime/dart/async.js
diff --git a/lib/runtime/dart/async.js b/lib/runtime/dart/async.js
index 8bf8b9cdb12e66cf73cc3000a0d270fce9c48b91..f6198151b0e98b895843d26a7ce710d060845a10 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);
« no previous file with comments | « lib/runtime/dart/_native_typed_data.js ('k') | lib/src/dependency_graph.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698