2019-07-07 13:33:53 +02:00
|
|
|
import freesewing from "@freesewing/core";
|
|
|
|
import plugins from "@freesewing/plugin-bundle";
|
|
|
|
import config from "../config";
|
|
|
|
// Parts
|
2019-07-08 11:54:47 +02:00
|
|
|
import draftBase from "./base";
|
2019-07-07 13:33:53 +02:00
|
|
|
|
|
|
|
// Create new design
|
|
|
|
const benjamin = new freesewing.Design(config, plugins);
|
|
|
|
|
|
|
|
// Attach draft methods to prototype
|
2019-07-08 11:54:47 +02:00
|
|
|
benjamin.prototype.draftBase = draftBase;
|
2019-07-07 13:33:53 +02:00
|
|
|
|
|
|
|
export default benjamin;
|