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 1818 "scripts" : {
1919 "test" : " node test/node/*.js"
2020 },
21+ "dependencies" : {
22+ "inherits" : " 2.0.1"
23+ },
2124 "devDependencies" : {
2225 "zuul" : " ~1.0.3"
2326 },
Original file line number Diff line number Diff line change @@ -560,17 +560,7 @@ exports.log = function() {
560560 * prototype.
561561 * @param {function } superCtor Constructor function to inherit prototype from.
562562 */
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' ) ;
574564
575565exports . _extend = function ( origin , add ) {
576566 // Don't do anything if add isn't an object
You can’t perform that action at this time.
0 commit comments