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

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

Issue 1182653002: Refactor runtime into libraries, better type reps (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Address comments 2 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/runtime/dart/collection.js » ('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 d3b7f547c644fc3b73657c9689b8941c397a4ca9..9e1f03fc12ac604017d9468b7f4cf46f2880047a 100644
--- a/lib/runtime/dart/async.js
+++ b/lib/runtime/dart/async.js
@@ -1,12 +1,14 @@
-dart.library('dart/async', null, /* Imports */[
+dart_library.library('dart/async', null, /* Imports */[
+ "dart_runtime/dart",
'dart/core',
'dart/_internal',
'dart/collection'
], /* Lazy imports */[
'dart/_isolate_helper',
'dart/_js_helper'
-], function(exports, core, _internal, collection, _isolate_helper, _js_helper) {
+], function(exports, dart, core, _internal, collection, _isolate_helper, _js_helper) {
'use strict';
+ let dartx = dart.dartx;
function _invokeErrorHandler(errorHandler, error, stackTrace) {
if (dart.is(errorHandler, ZoneBinaryCallback)) {
return dart.dcall(errorHandler, error, stackTrace);
« no previous file with comments | « lib/runtime/dart/_native_typed_data.js ('k') | lib/runtime/dart/collection.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698