1
0
Fork 0

chore: Linter

This commit is contained in:
Joost De Cock 2021-01-31 09:22:15 +01:00
parent adb9e93024
commit 1a46c8e724
227 changed files with 660 additions and 936 deletions

View file

@ -10,11 +10,11 @@ import draftFront from './front'
const Pattern = new freesewing.Design(config, plugins)
// Attach draft methods to prototype
Pattern.prototype.draftBase = function(part) {
Pattern.prototype.draftBase = function (part) {
// Getting the base part from Brian
return new Brian(this.settings).draftBase(part)
}
Pattern.prototype.draftFront = part => draftFront(part)
Pattern.prototype.draftBack = part => draftBack(part)
Pattern.prototype.draftFront = (part) => draftFront(part)
Pattern.prototype.draftBack = (part) => draftBack(part)
export default Pattern