Sha256: eef664bdf3309b063abbcb7f90631f416c46a0cabd2b1a409966336741b3c41d

Contents?: true

Size: 1.14 KB

Versions: 44

Compression:

Stored size: 1.14 KB

Contents

var getPrototypeOf = require("./getPrototypeOf.js");
var setPrototypeOf = require("./setPrototypeOf.js");
var isNativeFunction = require("./isNativeFunction.js");
var construct = require("./construct.js");
function _wrapNativeSuper(t) {
  var r = "function" == typeof Map ? new Map() : void 0;
  return module.exports = _wrapNativeSuper = function _wrapNativeSuper(t) {
    if (null === t || !isNativeFunction(t)) return t;
    if ("function" != typeof t) throw new TypeError("Super expression must either be null or a function");
    if (void 0 !== r) {
      if (r.has(t)) return r.get(t);
      r.set(t, Wrapper);
    }
    function Wrapper() {
      return construct(t, arguments, getPrototypeOf(this).constructor);
    }
    return Wrapper.prototype = Object.create(t.prototype, {
      constructor: {
        value: Wrapper,
        enumerable: !1,
        writable: !0,
        configurable: !0
      }
    }), setPrototypeOf(Wrapper, t);
  }, module.exports.__esModule = true, module.exports["default"] = module.exports, _wrapNativeSuper(t);
}
module.exports = _wrapNativeSuper, module.exports.__esModule = true, module.exports["default"] = module.exports;

Version data entries

44 entries across 44 versions & 2 rubygems

Version Path
clapton-0.0.19 lib/clapton/javascripts/node_modules/@babel/runtime/helpers/wrapNativeSuper.js
clapton-0.0.18 lib/clapton/javascripts/node_modules/@babel/runtime/helpers/wrapNativeSuper.js
clapton-0.0.17 lib/clapton/javascripts/node_modules/@babel/runtime/helpers/wrapNativeSuper.js
clapton-0.0.16 lib/clapton/javascripts/node_modules/@babel/runtime/helpers/wrapNativeSuper.js
clapton-0.0.15 lib/clapton/javascripts/node_modules/@babel/runtime/helpers/wrapNativeSuper.js
immosquare-cleaner-0.1.49 node_modules/@babel/runtime/helpers/wrapNativeSuper.js
clapton-0.0.14 lib/clapton/javascripts/node_modules/@babel/runtime/helpers/wrapNativeSuper.js
immosquare-cleaner-0.1.48 node_modules/@babel/runtime/helpers/wrapNativeSuper.js
clapton-0.0.13 lib/clapton/javascripts/node_modules/@babel/runtime/helpers/wrapNativeSuper.js
clapton-0.0.12 lib/clapton/javascripts/node_modules/@babel/runtime/helpers/wrapNativeSuper.js
clapton-0.0.11 lib/clapton/javascripts/node_modules/@babel/runtime/helpers/wrapNativeSuper.js
clapton-0.0.10 lib/clapton/javascripts/node_modules/@babel/runtime/helpers/wrapNativeSuper.js
clapton-0.0.9 lib/clapton/javascripts/node_modules/@babel/runtime/helpers/wrapNativeSuper.js
clapton-0.0.8 lib/clapton/javascripts/node_modules/@babel/runtime/helpers/wrapNativeSuper.js
clapton-0.0.7 lib/clapton/javascripts/node_modules/@babel/runtime/helpers/wrapNativeSuper.js
clapton-0.0.6 lib/clapton/javascripts/node_modules/@babel/runtime/helpers/wrapNativeSuper.js
clapton-0.0.5 lib/clapton/javascripts/node_modules/@babel/runtime/helpers/wrapNativeSuper.js
clapton-0.0.4 lib/clapton/javascripts/node_modules/@babel/runtime/helpers/wrapNativeSuper.js
clapton-0.0.3 lib/clapton/javascripts/node_modules/@babel/runtime/helpers/wrapNativeSuper.js
clapton-0.0.2 lib/clapton/javascripts/node_modules/@babel/runtime/helpers/wrapNativeSuper.js