refactor(core): Switches to our own fork of js-bezier
This commit is contained in:
parent
d7b18ed26b
commit
a2f4725f39
4 changed files with 4 additions and 4 deletions
|
@ -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:
|
||||||
|
|
|
@ -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"
|
||||||
},
|
},
|
||||||
|
|
|
@ -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,
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue