fix rogue useStrict transformer references

This commit is contained in:
Sebastian McKenzie 2015-03-02 22:41:55 +11:00
parent b7cb2bcb7b
commit a65acd73ca
7 changed files with 7 additions and 7 deletions

View File

@ -1,4 +1,4 @@
{
"blacklist": "useStrict",
"blacklist": "strict",
"optional": "reactCompat"
}

View File

@ -1,3 +1,3 @@
{
"blacklist": ["useStrict", "es6.tailCall"]
"blacklist": ["strict", "es6.tailCall"]
}

View File

@ -1,3 +1,3 @@
{
"blacklist": ["useStrict"]
"blacklist": ["strict"]
}

View File

@ -47,7 +47,7 @@ suite("kangax/compat-table", function () {
test(key, function () {
code = transform(code, {
filename: key,
blacklist: ["useStrict"],
blacklist: ["strict"],
optional: ["spec.typeofSymbol", "es6.blockScopingTDZ"]
}).code;

View File

@ -11,7 +11,7 @@ var regeneratorLoc = __dirname + "/../vendor/regenerator";
suite("regenerator", function () {
setup(function () {
require("../register")({
blacklist: ["useStrict"],
blacklist: ["strict"],
experimental: true
});
});

View File

@ -29,7 +29,7 @@ var check = function (loc) {
transform(file, {
filename: loc,
blacklist: ["useStrict"],
blacklist: ["strict"],
_anal: true
});
} catch (err) {

View File

@ -86,6 +86,6 @@ require("./_transformation-helper")({
experimental: true
}, function (opts, task) {
if (!_.contains(task.exec.loc, "module.js")) {
opts.blacklist = ["useStrict"];
opts.blacklist = ["strict"];
}
});