@antv/f2
Version:
Charts for mobile visualization.
16 lines (15 loc) • 458 B
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = _default;
exports.extend = extend;
function _default(constructor, factory, prototype) {
constructor.prototype = factory.prototype = prototype;
prototype.constructor = constructor;
}
function extend(parent, definition) {
var prototype = Object.create(parent.prototype);
for (var key in definition) prototype[key] = definition[key];
return prototype;
}
;