1
0
Fork 0

refactor(core): Switches to our own fork of js-bezier

This commit is contained in:
Joost De Cock 2020-01-04 14:22:33 +01:00
parent d7b18ed26b
commit a2f4725f39
4 changed files with 4 additions and 4 deletions

View file

@ -84,7 +84,7 @@ components:
"file-saver": "^2.0.2" "file-saver": "^2.0.2"
core: core:
_: _:
"bezier-js": "^2.2.13" "@freesewing/bezier-js": "^2.4.5-beta.0"
"bin-pack": "1.0.2" "bin-pack": "1.0.2"
"hooks": "^0.3.2" "hooks": "^0.3.2"
create-freesewing-pattern: create-freesewing-pattern:

View file

@ -37,7 +37,7 @@
}, },
"peerDependencies": {}, "peerDependencies": {},
"dependencies": { "dependencies": {
"bezier-js": "^2.2.13", "@freesewing/bezier-js": "^2.4.5-beta.0",
"bin-pack": "1.0.2", "bin-pack": "1.0.2",
"hooks": "^0.3.2" "hooks": "^0.3.2"
}, },

View file

@ -1,6 +1,6 @@
import Attributes from './attributes' import Attributes from './attributes'
import Point from './point' import Point from './point'
import Bezier from 'bezier-js' import Bezier from '@freesewing/bezier-js'
import { import {
linesIntersect, linesIntersect,
lineIntersectsCurve, lineIntersectsCurve,

View file

@ -1,6 +1,6 @@
import Path from './path' import Path from './path'
import Point from './point' import Point from './point'
import Bezier from 'bezier-js' import Bezier from '@freesewing/bezier-js'
export function capitalize(string) { export function capitalize(string) {
return string.charAt(0).toUpperCase() + string.slice(1) return string.charAt(0).toUpperCase() + string.slice(1)