Merge branch 'master' of github.com:babel/babel

This commit is contained in:
Sebastian McKenzie
2015-03-08 04:05:44 +11:00
8 changed files with 32 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
{
"args": ["--whitelist", "nonexistent"]
}

View File

@@ -0,0 +1,3 @@
(function (global) {
var babelHelpers = global.babelHelpers = {};
})(typeof global === "undefined" ? self : global);

View File

@@ -0,0 +1,3 @@
{
"args": ["--whitelist", "nonexistent", "--output-type", "umd"]
}

View File

@@ -0,0 +1,11 @@
(function (root, factory) {
if (typeof define === "function" && define.amd) {
define(["exports"], factory);
} else if (typeof exports === "object") {
factory(exports);
} else {
factory(root.babelHelpers = {});
}
})(this, function (global) {
var babelHelpers = global;
})

View File

@@ -0,0 +1,3 @@
{
"args": ["--whitelist", "nenexistent", "--output-type", "var"]
}

View File

@@ -0,0 +1 @@
var babelHelpers = {};

View File

@@ -0,0 +1,3 @@
{
"args": ["--whitelist", "slice,has-own"]
}

View File

@@ -0,0 +1,5 @@
(function (global) {
var babelHelpers = global.babelHelpers = {};
babelHelpers.hasOwn = Object.prototype.hasOwnProperty;
babelHelpers.slice = Array.prototype.slice;
})(typeof global === "undefined" ? self : global);