Log in Register Dashboard Temp Share Shortlinks Frames API

cody - HTMLify profile

cody's Profile Picture

cody

4270 Files

635395 Views

Latest files of /cody/Khushigupta8/Hotel-Management-Webpage/node_modules/inherits

inherits_browser.js cody/Khushigupta8/Hotel-Management-Webpage/node_modules/inherits/inherits_browser.js
133 Views
0 Comments
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,
README.md cody/Khushigupta8/Hotel-Management-Webpage/node_modules/inherits/README.md
152 Views
0 Comments
Browser-friendly inheritance fully compatible with standard node.js
[inherits](http://nodejs.org/api/util.html#util_util_inherits_constructor_superconstructor).

This package exports standard `inherits` from node.js `util` module in
node environment, but also provides alternative browser-friendly
implementation through [browser
field](https://gist.github.com/shtylman/4339901). Alternative
implementation is a literal copy of standard one located in standalone
inherits.js cody/Khushigupta8/Hotel-Management-Webpage/node_modules/inherits/inherits.js
135 Views
0 Comments
try {
var util = require('util');
/* istanbul ignore next */
if (typeof util.inherits !== 'function') throw '';
module.exports = util.inherits;
} catch (e) {
/* istanbul ignore next */
module.exports = require('./inherits_browser.js');
LICENSE cody/Khushigupta8/Hotel-Management-Webpage/node_modules/inherits/LICENSE
163 Views
0 Comments
Media file
package.json cody/Khushigupta8/Hotel-Management-Webpage/node_modules/inherits/package.json
99 Views
0 Comments
{
"name": "inherits",
"description": "Browser-friendly inheritance fully compatible with standard node.js inherits()",
"version": "2.0.4",
"keywords": [
"inheritance",
"class",
"klass",