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

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

Issue 1207313002: initial sync*, part of #221 (Closed) Base URL: git@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
« no previous file with comments | « lib/runtime/dart/isolate.js ('k') | lib/src/codegen/js_codegen.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/runtime/dart/js.js
diff --git a/lib/runtime/dart/js.js b/lib/runtime/dart/js.js
index a143a7bf1d8b27f7c792cc6af8556e310d1595a8..27e0b0292f0d3b71fbed385b09d194ed14372ead 100644
--- a/lib/runtime/dart/js.js
+++ b/lib/runtime/dart/js.js
@@ -41,7 +41,7 @@ dart_library.library('dart/js', null, /* Imports */[
}
static _convertDataTree(data) {
let _convertedObjects = collection.HashMap.identity();
- let _convert = o => {
+ function _convert(o) {
if (dart.notNull(_convertedObjects.containsKey(o))) {
return _convertedObjects.get(o);
}
@@ -60,7 +60,7 @@ dart_library.library('dart/js', null, /* Imports */[
} else {
return _convertToJS(o);
}
- };
+ }
dart.fn(_convert);
return _convert(data);
}
« no previous file with comments | « lib/runtime/dart/isolate.js ('k') | lib/src/codegen/js_codegen.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698