示例#1
0
文件: expected.js 项目: Janpot/babel
function (_Bar) {
  _inherits(Foo, _Bar);

  function Foo() {
    _classCallCheck(this, Foo);

    return _possibleConstructorReturn(this, (Foo.__proto__ || Object.getPrototypeOf(Foo)).apply(this, arguments));
  }

  return Foo;
}(Bar);
示例#2
0
文件: output.js 项目: Mogztter/babel
function (_Bar) {
  "use strict";

  function Foo() {
    _classCallCheck(this, Foo);

    return _possibleConstructorReturn(this, _getPrototypeOf(Foo).apply(this, arguments));
  }

  _inherits(Foo, _Bar);

  return Foo;
}(Bar);