demo___customer_pitch-c4152739-a50b-4b5b-9d4d-0561461666d9.zip-extract/_dependencies/npm/inherits-2.0.4/inherits_browser.js

Path
demo___customer_pitch-c4152739-a50b-4b5b-9d4d-0561461666d9.zip-extract/_dependencies/npm/inherits-2.0.4/inherits_browser.js
Status
scanned
Type
file
Name
inherits_browser.js
Extension
.js
Programming language
JavaScript
Mime type
text/plain
File type
ASCII text
Tag

      
    
Rootfs path

      
    
Size
753 (753 bytes)
MD5
184872b18b759a37285bee13cd1cd0e4
SHA1
70fcf71f449139ecbf7a5d6c78ece069bbdf4dc3
SHA256
ad322a7b1dec60f3d2ebda2091816469efb55b567d241cf3cf0fa4c5a4afe500
SHA512

      
    
SHA1_git
86bbb3dc29e4847df14de2c2b4b168e065184643
Is binary

      
    
Is text
True
Is archive

      
    
Is media

      
    
Is legal

      
    
Is manifest

      
    
Is readme

      
    
Is top level

      
    
Is key file

      
    
inherits_browser.js | 753 bytes |

if (typeof Object.create === 'function') { // implementation from standard node.js 'util' module module.exports = function inherits(ctor, superCtor) { if (superCtor) { ctor.super_ = superCtor ctor.prototype = Object.create(superCtor.prototype, { constructor: { value: ctor, enumerable: false, writable: true, configurable: true } }) } }; } else { // old school shim for old browsers module.exports = function inherits(ctor, superCtor) { if (superCtor) { ctor.super_ = superCtor var TempCtor = function () {} TempCtor.prototype = superCtor.prototype ctor.prototype = new TempCtor() ctor.prototype.constructor = ctor } } }
Package URL License Primary language
pkg:npm/inherits@2.0.4 isc JavaScript
pkg:npm/acme-demo-app@1.0.0 JavaScript