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

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

Issue 1700153002: Wrapperless dart:html and friends (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: A couple more tweaks Created 4 years, 10 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/convert.js ('k') | lib/runtime/dart/html_common.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/runtime/dart/core.js
diff --git a/lib/runtime/dart/core.js b/lib/runtime/dart/core.js
index 7a62accc5f66f094d8029e5787753912fdf2fe74..1633425ebb865fe622087e816207f09cce6a99d7 100644
--- a/lib/runtime/dart/core.js
+++ b/lib/runtime/dart/core.js
@@ -861,7 +861,7 @@ dart_library.library('dart/core', null, /* Imports */[
}
}
if (this[_namedArguments] != null) {
- this[_namedArguments].forEach(dart.fn((key, value) => {
+ this[_namedArguments][dartx.forEach](dart.fn((key, value) => {
if (i > 0) {
sb.write(", ");
}
@@ -1166,8 +1166,8 @@ dart_library.library('dart/core', null, /* Imports */[
}
static _toMangledNames(namedArguments) {
let result = dart.map();
- namedArguments.forEach(dart.fn((symbol, value) => {
- result.set(_symbolToString(symbol), value);
+ namedArguments[dartx.forEach](dart.fn((symbol, value) => {
+ result[dartx.set](_symbolToString(symbol), value);
}, dart.void, [Symbol, dart.dynamic]));
return result;
}
@@ -2473,7 +2473,7 @@ dart_library.library('dart/core', null, /* Imports */[
if (query != null) return Uri._normalize(query, start, end, dart.as(Uri._queryCharTable, List$(int)));
let result = new StringBuffer();
let first = true;
- queryParameters.forEach(dart.fn((key, value) => {
+ queryParameters[dartx.forEach](dart.fn((key, value) => {
if (!first) {
result.write("&");
}
« no previous file with comments | « lib/runtime/dart/convert.js ('k') | lib/runtime/dart/html_common.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698