UNPKG

@antv/f2

Version:

Charts for mobile visualization.

9 lines 339 B
export default function (constructor, factory, prototype) { constructor.prototype = factory.prototype = prototype; prototype.constructor = constructor; } export function extend(parent, definition) { var prototype = Object.create(parent.prototype); for (var key in definition) prototype[key] = definition[key]; return prototype; }