aboutsummaryrefslogtreecommitdiffhomepage
path: root/node_modules/component-inherit/index.js
blob: aaebc03ba7e848b81df65da3b5c16169fc5501ee (plain)
1
2
3
4
5
6
7
module.exports = function(a, b){
  var fn = function(){};
  fn.prototype = b.prototype;
  a.prototype = new fn;
  a.prototype.constructor = a;
};