test-packages/support/vendor/ember-template-compiler.js
/*
    Overrides default `inheritsLoose` to _also_ call `Object.setPrototypeOf`.
    This is needed so that we can use `loose` option with the
    `@babel/plugin-transform-classes` (because we want simple assignment to the
    prototype wherever possible) but also keep our constructor based prototypal
    inheritance working properly
  */
Overrides default `inheritsLoose` to _also_ call `Object.setPrototypeOf`.
This is needed so that we can use `loose` option with the
`@babel/plugin-transform-classes` (because we want simple assignment to the
prototype wherever possible) but also keep our constructor based prototypal
inheritance working properly
Overrides default ` inheritsLoose ` to _also_ call ` Object . setPrototypeOf ` . This is needed so that we can use ` loose ` option with the ` @babel / plugin - transform - classes ` ( because we want simple assignment to the prototype wherever possible ) but also keep our constructor based prototypal inheritance working properly
function inheritsLoose(subClass, superClass) {
    if (true
    ) {
      if (typeof superClass !== 'function' && superClass !== null) {
        throw new TypeError('Super expression must either be null or a function');
      }
    }
    subClass.prototype = Object.create(superClass === null ? null : superClass.prototype, {
      constructor: {
        value: subClass,
        writable: true,
        configurable: true
      }
    });
    if (superClass !== null) {
      setPrototypeOf(subClass, superClass);
    }
  }
function inheritsLoose ( subClass , superClass ) { if ( true ) { if ( typeof superClass !== 'function' && superClass !== null ) { throw new TypeError ( 'Super expression must either be null or a function' ) ; } } subClass . prototype = Object . create ( superClass === null ? null : superClass . prototype , { constructor : { value : subClass , writable : true , configurable : true } } ) ; if ( superClass !== null ) { setPrototypeOf ( subClass , superClass ) ; } }
Overrides default `inheritsLoose` to _also_ call `Object.setPrototypeOf`.
Overrides default ` inheritsLoose ` to _also_ call ` Object . setPrototypeOf ` .
/* DEBUG */