File tree Expand file tree Collapse file tree 2 files changed +4
-11
lines changed Expand file tree Collapse file tree 2 files changed +4
-11
lines changed Original file line number Diff line number Diff line change 18
18
"scripts" : {
19
19
"test" : " node test/node/*.js"
20
20
},
21
+ "dependencies" : {
22
+ "inherits" : " 2.0.1"
23
+ },
21
24
"devDependencies" : {
22
25
"zuul" : " ~1.0.3"
23
26
},
Original file line number Diff line number Diff line change @@ -560,17 +560,7 @@ exports.log = function() {
560
560
* prototype.
561
561
* @param {function } superCtor Constructor function to inherit prototype from.
562
562
*/
563
- exports . inherits = function ( ctor , superCtor ) {
564
- ctor . super_ = superCtor ;
565
- ctor . prototype = Object . create ( superCtor . prototype , {
566
- constructor : {
567
- value : ctor ,
568
- enumerable : false ,
569
- writable : true ,
570
- configurable : true
571
- }
572
- } ) ;
573
- } ;
563
+ exports . inherits = require ( 'inherits' ) ;
574
564
575
565
exports . _extend = function ( origin , add ) {
576
566
// Don't do anything if add isn't an object
You can’t perform that action at this time.
0 commit comments