rename es6.blockScopingTDZ to es6.spec.blockScoping

This commit is contained in:
Sebastian McKenzie 2015-03-30 16:52:58 +11:00
parent 92bba76bd5
commit f3b50f0bb9
22 changed files with 8 additions and 8 deletions

View File

@ -72,7 +72,7 @@ export default {
"es6.blockScoping": require("./es6/block-scoping"),
// needs to be after `es6.blockScoping` due to needing `letReferences` set on blocks
"es6.blockScopingTDZ": require("./es6/block-scoping-tdz"),
"es6.spec.blockScoping": require("./es6/block-scoping-tdz"),
// needs to be after `es6.parameters.*` and `es6.blockScoping` due to needing pure
// identifiers in parameters and variable declarators

View File

@ -1,3 +0,0 @@
{
"optional": "es6.blockScopingTDZ"
}

View File

@ -1,4 +1,4 @@
{
"optional": "es6.blockScopingTDZ",
"optional": "es6.spec.blockScoping",
"throws": "is not defined - temporal dead zone"
}

View File

@ -0,0 +1,3 @@
{
"optional": "es6.spec.blockScoping"
}

View File

@ -1,3 +1,3 @@
{
"optional": ["es6.symbols"]
"optional": ["es6.spec.symbols"]
}

View File

@ -48,7 +48,7 @@ suite("kangax/compat-table", function () {
code = transform(code, {
filename: key,
blacklist: ["strict"],
optional: ["es6.symbols", "es6.blockScopingTDZ"]
optional: ["es6.spec.symbols", "es6.spec.blockScoping"]
}).code;
code = '"use strict";\n' + code;

View File

@ -93,7 +93,7 @@ require("./_transformation-helper")({
"Syntax/StrictKeywords"
]
}, {
optional: ["es6.symbols"],
optional: ["es6.spec.symbols"],
stage: 0
}, function (opts, task) {
if (!_.contains(task.exec.loc, "module.js")) {