1
0
Fork 0

chore: Changes required for ES6 version of bezier-js

This commit is contained in:
Joost De Cock 2020-11-04 20:06:19 +01:00
parent 5c014d8143
commit 12692e1a64
4 changed files with 27 additions and 3 deletions

View file

@ -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 }