Index: lib/runtime/dart/_js_helper.js |
diff --git a/lib/runtime/dart/_js_helper.js b/lib/runtime/dart/_js_helper.js |
index 1263c5320192f28f7767e1af650eb819b2edc2f5..abd9a93d6e7dd93ee4e07bc832d010bb5158b2e2 100644 |
--- a/lib/runtime/dart/_js_helper.js |
+++ b/lib/runtime/dart/_js_helper.js |
@@ -142,7 +142,7 @@ var _isolate_helper = dart.lazyImport(_isolate_helper); |
return new (_ConstantMapKeyIterable$(K))(this); |
} |
get values() { |
- return _internal.MappedIterable$(K, V).new(this[_keys], dart.fn((key => dart.as(this[_fetch](key), V)).bind(this), V, [core.Object])); |
+ return _internal.MappedIterable$(K, V).new(this[_keys], dart.fn(key => dart.as(this[_fetch](key), V), V, [core.Object])); |
} |
} |
ConstantStringMap[dart.implements] = () => [_internal.EfficientLength]; |
@@ -1825,13 +1825,13 @@ var _isolate_helper = dart.lazyImport(_isolate_helper); |
let _ = positions.keys[core.$toList](); |
_[core.$sort](); |
return _; |
- })()[core.$forEach](dart.fn((name => { |
+ })()[core.$forEach](dart.fn(name => { |
this.cachedSortedIndices[core.$set]((() => { |
let x = index; |
index = dart.notNull(x) + 1; |
return x; |
})(), positions.get(name)); |
- }).bind(this), core.Object, [core.String])); |
+ }, core.Object, [core.String])); |
} |
return dart.as(this.cachedSortedIndices[core.$get](unsortedIndex), core.int); |
} |