biofriction-wp-theme/node_modules/component-inherit/index.js

7 lines
146 B
JavaScript
Raw Normal View History

2021-10-26 14:18:09 +02:00
module.exports = function(a, b){
var fn = function(){};
fn.prototype = b.prototype;
a.prototype = new fn;
a.prototype.constructor = a;
};