1 line
2.7 KiB
JSON
1 line
2.7 KiB
JSON
{"ast":null,"code":"if (typeof Object.create === 'function') {\n // implementation from standard node.js 'util' module\n module.exports = function inherits(ctor, superCtor) {\n if (superCtor) {\n ctor.super_ = superCtor;\n ctor.prototype = Object.create(superCtor.prototype, {\n constructor: {\n value: ctor,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n }\n };\n} else {\n // old school shim for old browsers\n module.exports = function inherits(ctor, superCtor) {\n if (superCtor) {\n ctor.super_ = superCtor;\n\n var TempCtor = function () {};\n\n TempCtor.prototype = superCtor.prototype;\n ctor.prototype = new TempCtor();\n ctor.prototype.constructor = ctor;\n }\n };\n}","map":{"version":3,"sources":["/Users/tylerkoenig/Code/personal/react-scss2/node_modules/inherits/inherits_browser.js"],"names":["Object","create","module","exports","inherits","ctor","superCtor","super_","prototype","constructor","value","enumerable","writable","configurable","TempCtor"],"mappings":"AAAA,IAAI,OAAOA,MAAM,CAACC,MAAd,KAAyB,UAA7B,EAAyC;AACvC;AACAC,EAAAA,MAAM,CAACC,OAAP,GAAiB,SAASC,QAAT,CAAkBC,IAAlB,EAAwBC,SAAxB,EAAmC;AAClD,QAAIA,SAAJ,EAAe;AACbD,MAAAA,IAAI,CAACE,MAAL,GAAcD,SAAd;AACAD,MAAAA,IAAI,CAACG,SAAL,GAAiBR,MAAM,CAACC,MAAP,CAAcK,SAAS,CAACE,SAAxB,EAAmC;AAClDC,QAAAA,WAAW,EAAE;AACXC,UAAAA,KAAK,EAAEL,IADI;AAEXM,UAAAA,UAAU,EAAE,KAFD;AAGXC,UAAAA,QAAQ,EAAE,IAHC;AAIXC,UAAAA,YAAY,EAAE;AAJH;AADqC,OAAnC,CAAjB;AAQD;AACF,GAZD;AAaD,CAfD,MAeO;AACL;AACAX,EAAAA,MAAM,CAACC,OAAP,GAAiB,SAASC,QAAT,CAAkBC,IAAlB,EAAwBC,SAAxB,EAAmC;AAClD,QAAIA,SAAJ,EAAe;AACbD,MAAAA,IAAI,CAACE,MAAL,GAAcD,SAAd;;AACA,UAAIQ,QAAQ,GAAG,YAAY,CAAE,CAA7B;;AACAA,MAAAA,QAAQ,CAACN,SAAT,GAAqBF,SAAS,CAACE,SAA/B;AACAH,MAAAA,IAAI,CAACG,SAAL,GAAiB,IAAIM,QAAJ,EAAjB;AACAT,MAAAA,IAAI,CAACG,SAAL,CAAeC,WAAf,GAA6BJ,IAA7B;AACD;AACF,GARD;AASD","sourcesContent":["if (typeof Object.create === 'function') {\n // implementation from standard node.js 'util' module\n module.exports = function inherits(ctor, superCtor) {\n if (superCtor) {\n ctor.super_ = superCtor\n ctor.prototype = Object.create(superCtor.prototype, {\n constructor: {\n value: ctor,\n enumerable: false,\n writable: true,\n configurable: true\n }\n })\n }\n };\n} else {\n // old school shim for old browsers\n module.exports = function inherits(ctor, superCtor) {\n if (superCtor) {\n ctor.super_ = superCtor\n var TempCtor = function () {}\n TempCtor.prototype = superCtor.prototype\n ctor.prototype = new TempCtor()\n ctor.prototype.constructor = ctor\n }\n }\n}\n"]},"metadata":{},"sourceType":"script"} |