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

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

Issue 1173903003: fixes #216, JSNumber members (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
Index: lib/runtime/dart/core.js
diff --git a/lib/runtime/dart/core.js b/lib/runtime/dart/core.js
index daddf32971428aaaf89bca72e5278b97c5943258..9893f751f5ff25aa34264d982448e2fe308217a3 100644
--- a/lib/runtime/dart/core.js
+++ b/lib/runtime/dart/core.js
@@ -68,6 +68,9 @@ dart.library('dart/core', null, /* Imports */[
constructors: () => ({_Proxy: [_Proxy, []]})
});
let proxy = dart.const(new _Proxy());
+ dart.defineExtensionNames([
+ 'toString'
+ ]);
class bool extends Object {
static fromEnvironment(name, opts) {
let defaultValue = opts && 'defaultValue' in opts ? opts.defaultValue : false;
@@ -1254,6 +1257,9 @@ dart.library('dart/core', null, /* Imports */[
}
}
let Iterable$ = dart.generic(function(E) {
+ dart.defineExtensionNames([
+ 'join'
+ ]);
class Iterable extends Object {
Iterable() {
}

Powered by Google App Engine
This is Rietveld 408576698