mirror of
https://github.com/Pomax/BezierInfo-2.git
synced 2025-09-27 16:49:01 +02:00
bezier.js, as ES6 code
This commit is contained in:
@@ -147,7 +147,7 @@ class GraphicsElement extends CustomElement {
|
||||
const height = this.getAttribute(`height`, 200);
|
||||
|
||||
this.code = `
|
||||
import { GraphicsAPI, Bezier, Point } from "${MODULE_PATH}/api/graphics-api.js";
|
||||
import { GraphicsAPI, Bezier, Vector } from "${MODULE_PATH}/api/graphics-api.js";
|
||||
|
||||
${globalCode}
|
||||
|
||||
|
Reference in New Issue
Block a user