chore: Changes required for ES6 version of bezier-js
This commit is contained in:
parent
5c014d8143
commit
12692e1a64
4 changed files with 27 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
import Path from './path'
|
||||
import Point from './point'
|
||||
import Bezier from 'bezier-js'
|
||||
import { Bezier } from 'bezier-js'
|
||||
|
||||
export function capitalize(string) {
|
||||
return string.charAt(0).toUpperCase() + string.slice(1)
|
||||
|
@ -349,4 +349,4 @@ export function rad2deg(radians) {
|
|||
}
|
||||
|
||||
// Export bezier-js so plugins can use it
|
||||
export { default as Bezier } from 'bezier-js'
|
||||
export { Bezier }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue