packages/babel-plugin-transform-classes/test/fixtures/spec/super-reference-before-bare-super/output.js
raw| 1 | var Foo = /*#__PURE__*/function (_Bar) { |
| 2 | "use strict"; |
| 3 | |
| 4 | babelHelpers.inherits(Foo, _Bar); |
| 5 | var _super = babelHelpers.createSuper(Foo); |
| 6 | function Foo() { |
| 7 | var _thisSuper, _this; |
| 8 | babelHelpers.classCallCheck(this, Foo); |
| 9 | babelHelpers.get((_thisSuper = babelHelpers.assertThisInitialized(_this), babelHelpers.getPrototypeOf(Foo.prototype)), "foo", _thisSuper).call(_thisSuper); |
| 10 | return _this = _super.call(this); |
| 11 | } |
| 12 | return babelHelpers.createClass(Foo); |
| 13 | }(Bar); |