1
0
Fork 0

wip(core): Migrated to named exports only

This commit is contained in:
Joost De Cock 2022-08-28 02:14:39 +02:00
parent 4b12a7330c
commit c09ae4aa69
23 changed files with 592 additions and 557 deletions

View file

@ -1,5 +1,5 @@
import Attributes from './attributes.mjs'
import Point from './point.mjs'
import { Attributes } from './attributes.mjs'
import { Point } from './point.mjs'
import { Bezier } from 'bezier-js'
import {
linesIntersect,
@ -11,7 +11,7 @@ import {
round,
} from './utils.mjs'
function Path(debug = false) {
export function Path(debug = false) {
this.render = true
this.topLeft = false
this.bottomRight = false
@ -913,4 +913,3 @@ Path.prototype.translate = function (x, y) {
return clone
}
export default Path