Searched refs:superCtor (Results 1 – 7 of 7) sorted by relevance
/third_party/node/deps/npm/node_modules/inherits/ |
D | inherits_browser.js | 3 module.exports = function inherits(ctor, superCtor) { argument 4 if (superCtor) { 5 ctor.super_ = superCtor 6 ctor.prototype = Object.create(superCtor.prototype, { 18 module.exports = function inherits(ctor, superCtor) { 19 if (superCtor) { 20 ctor.super_ = superCtor 22 TempCtor.prototype = superCtor.prototype
|
/third_party/node/lib/ |
D | util.js | 218 function inherits(ctor, superCtor) { argument 223 if (superCtor === undefined || superCtor === null) 224 throw new ERR_INVALID_ARG_TYPE('superCtor', 'Function', superCtor); 226 if (superCtor.prototype === undefined) { 228 'Object', superCtor.prototype); 231 value: superCtor, 235 ObjectSetPrototypeOf(ctor.prototype, superCtor.prototype);
|
/third_party/node/deps/npm/node_modules/create-error-class/ |
D | index.js | 4 function inherits(ctor, superCtor) { argument 5 ctor.super_ = superCtor; 6 ctor.prototype = Object.create(superCtor.prototype, {
|
/third_party/node/deps/npm/node_modules/core-util-is/ |
D | float.patch | 485 - * @param {function} superCtor Constructor function to inherit prototype from. 487 -exports.inherits = function(ctor, superCtor) { 488 - ctor.super_ = superCtor; 489 - ctor.prototype = Object.create(superCtor.prototype, {
|
/third_party/node/doc/changelogs/ |
D | CHANGELOG_ARCHIVE.md | 3335 * Added superCtor to ctor.super_ instead superCtor.prototype.
|
D | CHANGELOG_V5.md | 1598 …ototype = Object.create(superCtor.prototype, { constructor: { ... } })` to using `Object.setProtot…
|
/third_party/node/tools/ |
D | lint-md.mjs | 24496 inherits_browser.exports = function inherits(ctor, superCtor) { argument 24497 if (superCtor) { 24498 ctor.super_ = superCtor; 24499 ctor.prototype = Object.create(superCtor.prototype, { 24511 inherits_browser.exports = function inherits(ctor, superCtor) { 24512 if (superCtor) { 24513 ctor.super_ = superCtor; 24515 TempCtor.prototype = superCtor.prototype;
|