module.exports = function(a, b){ | |
var fn = function(){}; | |
fn.prototype = b.prototype; | |
a.prototype = new fn; | |
a.prototype.constructor = a; | |
}; |
module.exports = function(a, b){ | |
var fn = function(){}; | |
fn.prototype = b.prototype; | |
a.prototype = new fn; | |
a.prototype.constructor = a; | |
}; |