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

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

Issue 1633003002: Add --modules=node support (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: regen sdk and expectations Created 4 years, 11 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/js.js
diff --git a/lib/runtime/dart/js.js b/lib/runtime/dart/js.js
index de81b79fc2b8464b56030b5a7948c34bee836c3f..718050d80fbda455ba7e6ab22f46f5e347da26dd 100644
--- a/lib/runtime/dart/js.js
+++ b/lib/runtime/dart/js.js
@@ -306,7 +306,7 @@ dart_library.library('dart/js', null, /* Imports */[
]);
return JsArray;
});
- let JsArray = JsArray$();
+ const JsArray = JsArray$();
function _isBrowserType(o) {
return o instanceof Blob || o instanceof Event || window.KeyRange && o instanceof KeyRange || o instanceof ImageData || o instanceof Node || window.TypedData && o instanceof TypedData || o instanceof Window;
}
@@ -406,7 +406,7 @@ dart_library.library('dart/js', null, /* Imports */[
const __CastType0 = dart.typedef('__CastType0', () => dart.functionType(dart.dynamic, [E]));
return __CastType0;
});
- let __CastType0 = __CastType0$();
+ const __CastType0 = __CastType0$();
// Exports:
exports.JsObject = JsObject;
exports.JsFunction = JsFunction;

Powered by Google App Engine
This is Rietveld 408576698