make playground option enable experimental

This commit is contained in:
Sebastian McKenzie 2014-11-26 00:02:49 +11:00
parent 2545292bce
commit ba2204156c

View File

@ -71,6 +71,10 @@ File.normaliseOptions = function (opts) {
opts.runtime = "to5Runtime";
}
if (opts.playground) {
opts.experimental = true;
}
transform._ensureTransformerNames("blacklist", opts.blacklist);
transform._ensureTransformerNames("whitelist", opts.whitelist);