Files
Mario Romano 07807e7bc3 # add dist
2016-04-21 11:56:31 +01:00

7 lines
146 B
JavaScript

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