Skip to content

Commit da88bee

Browse files
committed
Updated to Babel 5.8.20
1 parent 92eeac2 commit da88bee

File tree

8 files changed

+54678
-54659
lines changed

8 files changed

+54678
-54659
lines changed

browser.js

Lines changed: 3747 additions & 2371 deletions
Large diffs are not rendered by default.

browser.min.js

Lines changed: 43 additions & 41 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

external-helpers.js

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@
132132

133133
for (var _key in _descriptor) descriptor[_key] = _descriptor[_key];
134134

135-
descriptor.value = descriptor.initializer.call(target);
135+
descriptor.value = descriptor.initializer ? descriptor.initializer.call(target) : undefined;
136136
Object.defineProperty(target, key, descriptor);
137137
};
138138

@@ -278,6 +278,12 @@
278278
};
279279
};
280280

281+
babelHelpers.interopExportWildcard = function (obj, defaults) {
282+
var newObj = defaults({}, obj);
283+
delete newObj["default"];
284+
return newObj;
285+
};
286+
281287
babelHelpers.interopRequireWildcard = function (obj) {
282288
if (obj && obj.__esModule) {
283289
return obj;
@@ -366,6 +372,12 @@
366372
return value;
367373
};
368374

375+
babelHelpers.newArrowCheck = function (innerThis, boundThis) {
376+
if (innerThis !== boundThis) {
377+
throw new TypeError("Cannot instantiate an arrow function");
378+
}
379+
};
380+
369381
babelHelpers.classCallCheck = function (instance, Constructor) {
370382
if (!(instance instanceof Constructor)) {
371383
throw new TypeError("Cannot call a class as a function");

external-helpers.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)