mirror of
https://github.com/hanzoai/babel.git
synced 2026-10-30 14:46:06 +00:00
* Move all runtime helpers to individual files * Regenerate babel-runtime * Update fixtures * Make errors for bugs in helpers more helpful (and not "this.hub is undefined") * Wrap Babel 7 helpers in !BABEL_8_BREAKING * Skip failing decorators tests in Babel7/8 * Disable most CI * Skip failing Babel 7 old class helpers test in Babel 8 * Use latest decorators version in metadata test * Revert "Disable most CI" This reverts commit b98b0dc6b7855b032fd55bbfb34a7c6798828c7a.
13 lines
330 B
JavaScript
13 lines
330 B
JavaScript
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
let Foo = /*#__PURE__*/function () {
|
|
"use strict";
|
|
|
|
function Foo() {
|
|
_classCallCheck(this, Foo);
|
|
}
|
|
return babelHelpers.createClass(Foo, [{
|
|
key: "method",
|
|
value: function method() {}
|
|
}]);
|
|
}();
|