chore(core): Get data from data.mjs
This commit is contained in:
parent
5ded8beea4
commit
0ae85ecf49
3 changed files with 6 additions and 5 deletions
|
@ -34,7 +34,7 @@ import {
|
||||||
generatePartTransform,
|
generatePartTransform,
|
||||||
macroName,
|
macroName,
|
||||||
} from "./utils.mjs"
|
} from "./utils.mjs"
|
||||||
import { version } from '../pkg.mjs'
|
import { version } from '../data.mjs'
|
||||||
|
|
||||||
// Named exports
|
// Named exports
|
||||||
export {
|
export {
|
||||||
|
@ -46,7 +46,6 @@ export {
|
||||||
Snippet,
|
Snippet,
|
||||||
|
|
||||||
Bezier,
|
Bezier,
|
||||||
version,
|
|
||||||
capitalize,
|
capitalize,
|
||||||
beamsIntersect,
|
beamsIntersect,
|
||||||
linesIntersect,
|
linesIntersect,
|
||||||
|
@ -73,6 +72,8 @@ export {
|
||||||
pctBasedOn,
|
pctBasedOn,
|
||||||
generatePartTransform,
|
generatePartTransform,
|
||||||
macroName,
|
macroName,
|
||||||
isCoord
|
isCoord,
|
||||||
|
|
||||||
|
version,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@ import { Snippet } from './snippet.mjs'
|
||||||
import { Svg } from './svg.mjs'
|
import { Svg } from './svg.mjs'
|
||||||
import { Store } from './store.mjs'
|
import { Store } from './store.mjs'
|
||||||
import { Hooks } from './hooks.mjs'
|
import { Hooks } from './hooks.mjs'
|
||||||
import { version } from '../pkg.mjs'
|
import { version } from '../data.mjs'
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Makes sure an object passed to be attached as a part it not merely a method
|
* Makes sure an object passed to be attached as a part it not merely a method
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import { Attributes } from './attributes.mjs'
|
import { Attributes } from './attributes.mjs'
|
||||||
import { round } from './utils.mjs'
|
import { round } from './utils.mjs'
|
||||||
import { version } from '../pkg.mjs'
|
import { version } from '../data.mjs'
|
||||||
|
|
||||||
export function Svg(pattern) {
|
export function Svg(pattern) {
|
||||||
this.openGroups = []
|
this.openGroups = []
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue