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

Unified Diff: sdk/lib/_internal/js_runtime/lib/js_names.dart

Issue 2841543002: Spelling a (Closed)
Patch Set: Created 3 years, 8 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 | « sdk/lib/_internal/js_runtime/lib/js_array.dart ('k') | sdk/lib/_internal/js_runtime/lib/preambles/d8.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/js_runtime/lib/js_names.dart
diff --git a/sdk/lib/_internal/js_runtime/lib/js_names.dart b/sdk/lib/_internal/js_runtime/lib/js_names.dart
index 2a0a9779526ba6e7281cef74cb34b0192cc26467..4c58872537cd22b97074d9eea5544c59d3f54e7e 100644
--- a/sdk/lib/_internal/js_runtime/lib/js_names.dart
+++ b/sdk/lib/_internal/js_runtime/lib/js_names.dart
@@ -51,7 +51,7 @@ class _LazyMangledNamesMap {
String operator [](String key) {
var result = JS('var', '#[#]', _jsMangledNames, key);
// Filter out all non-string values to protect against polution from
- // anciliary fields in [_jsMangledNames].
+ // ancilliary fields in [_jsMangledNames].
bool filter = JS('bool', 'typeof # !== "string"', result);
// To ensure that the inferrer sees that result is a String, we explicitly
// give it a better type here.
@@ -105,7 +105,7 @@ class _LazyReflectiveNamesMap {
for (String key in keys) {
var reflectiveName = JS('var', '#[#]', _jsMangledNames, key);
// Filter out all non-string values to protect against polution from
- // anciliary fields in [_jsMangledNames].
+ // ancilliary fields in [_jsMangledNames].
bool filter = JS('bool', 'typeof # !== "string"', reflectiveName);
if (filter) continue;
result[reflectiveName] = JS('String', '#', key);
« no previous file with comments | « sdk/lib/_internal/js_runtime/lib/js_array.dart ('k') | sdk/lib/_internal/js_runtime/lib/preambles/d8.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698