[core-js] temporary disable features, which can break "old runtime and new transform-runtime" case

This commit is contained in:
Denis Pushkarev 2016-02-16 00:30:54 +06:00
parent 9bd15508a2
commit e6e0171db3

View File

@ -7,9 +7,9 @@ module.exports = {
Set: "set", Set: "set",
WeakSet: "weak-set", WeakSet: "weak-set",
setImmediate: "set-immediate", setImmediate: "set-immediate",
clearImmediate: "clear-immediate", clearImmediate: "clear-immediate"
parseFloat: "parse-float", //parseFloat: "parse-float", // temporary disabled
parseInt: "parse-int" //parseInt: "parse-int" // temporary disabled
}, },
methods: { methods: {
@ -26,7 +26,7 @@ module.exports = {
from: "array/from", from: "array/from",
includes: "array/includes", includes: "array/includes",
indexOf: "array/index-of", indexOf: "array/index-of",
isArray: "array/is-array", //isArray: "array/is-array", // temporary disabled
join: "array/join", join: "array/join",
keys: "array/keys", keys: "array/keys",
lastIndexOf: "array/last-index-of", lastIndexOf: "array/last-index-of",
@ -123,8 +123,8 @@ module.exports = {
endsWith: "string/ends-with", endsWith: "string/ends-with",
fromCodePoint: "string/from-code-point", fromCodePoint: "string/from-code-point",
includes: "string/includes", includes: "string/includes",
padLeft: "string/pad-start", // deprecated padLeft: "string/pad-left", // deprecated
padRight: "string/pad-end", // deprecated padRight: "string/pad-right", // deprecated
padStart: "string/pad-start", padStart: "string/pad-start",
padEnd: "string/pad-end", padEnd: "string/pad-end",
raw: "string/raw", raw: "string/raw",
@ -184,12 +184,12 @@ module.exports = {
}, },
Date: { Date: {
now: "date/now" //now: "date/now" // temporary disabled
}, },
Function: { Function: {
// Warning: /virtual/ method - prototype, not static, version // Warning: /virtual/ method - prototype, not static, version
bind: "function/virtual/bind" //bind: "function/virtual/bind" // temporary disabled
} }
} }
}; };