Home
last modified time | relevance | path

Searched refs:superCtor (Results 1 – 7 of 7) sorted by relevance

/third_party/node/deps/npm/node_modules/inherits/
Dinherits_browser.js3 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/
Dutil.js218 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/
Dindex.js4 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/
Dfloat.patch485 - * @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/
DCHANGELOG_ARCHIVE.md3335 * Added superCtor to ctor.super_ instead superCtor.prototype.
DCHANGELOG_V5.md1598 …ototype = Object.create(superCtor.prototype, { constructor: { ... } })` to using `Object.setProtot…
/third_party/node/tools/
Dlint-md.mjs24496 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;