1
0
Fork 0

fix(carlton): Remove unused plugins

This commit is contained in:
Joost De Cock 2021-06-13 14:38:01 +02:00
parent a5556dc32e
commit afc4bc61a1

View file

@ -1,7 +1,5 @@
import freesewing from '@freesewing/core' import freesewing from '@freesewing/core'
import plugins from '@freesewing/plugin-bundle' import plugins from '@freesewing/plugin-bundle'
import mirrorPlugin from '@freesewing/plugin-mirror'
import buttonsPlugin from '@freesewing/plugin-buttons'
import Bent from '@freesewing/bent' import Bent from '@freesewing/bent'
import config from '../config' import config from '../config'
// Parts // Parts
@ -24,7 +22,7 @@ import draftInnerPocketBag from './innerpocketbag'
import draftInnerPocketTab from './innerpockettab' import draftInnerPocketTab from './innerpockettab'
// Create new design // Create new design
const Pattern = new freesewing.Design(config, [plugins, mirrorPlugin, buttonsPlugin]) const Pattern = new freesewing.Design(config, plugins)
// Attach draft methods from Bent to prototype // Attach draft methods from Bent to prototype
Pattern.prototype.draftBentBase = function (part) { Pattern.prototype.draftBentBase = function (part) {