1
0
Fork 0

construction: Dual-builds for node and browser

This commit is contained in:
Joost De Cock 2018-07-15 18:57:27 +02:00
parent d74ceaf9f2
commit 1f33804778
12 changed files with 7560 additions and 35 deletions

View file

@ -0,0 +1,14 @@
import freesewing from 'freesewing'
import * as patternConfig from '../config/config'
import { Pattern } from 'freesewing/dist/lib/pattern'
import backBlock from './lib/back'
var brian = new freesewing.pattern(patternConfig);
brian.draft = function(final = true) {
backBlock.draft(brian, final);
return brian;
}
module.exports = brian;