Fixes code save
This commit is contained in:
parent
520553fb2f
commit
e21748f7b7
9 changed files with 66 additions and 17 deletions
|
@ -3,12 +3,23 @@ import Circle from "./circle"
|
|||
import Ellipse from "./ellipse"
|
||||
import Polyline from "./polyline"
|
||||
import Dot from "./dot"
|
||||
import Ray from "./ray"
|
||||
import Line from "./line"
|
||||
import Vector from "./vector"
|
||||
import Utils from "./utils"
|
||||
import { codeShapes } from "./index"
|
||||
|
||||
const scope = { Dot, Circle, Ellipse, Line, Polyline, Rectangle, Vector, Utils }
|
||||
const scope = {
|
||||
Dot,
|
||||
Circle,
|
||||
Ellipse,
|
||||
Ray,
|
||||
Line,
|
||||
Polyline,
|
||||
Rectangle,
|
||||
Vector,
|
||||
Utils,
|
||||
}
|
||||
|
||||
/**
|
||||
* Evaluate code, collecting generated shapes in the shape set. Return the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue