diff --git a/docs/index.html b/docs/index.html
index 0c0d3b8e..ea62a653 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -31,7 +31,7 @@
-
+
diff --git a/docs/ja-JP/index.html b/docs/ja-JP/index.html
index 9e37b70e..7245b39c 100644
--- a/docs/ja-JP/index.html
+++ b/docs/ja-JP/index.html
@@ -33,7 +33,7 @@
-
+
diff --git a/docs/js/custom-element/graphics-element.js b/docs/js/custom-element/graphics-element.js
index e9c3e869..375cc055 100644
--- a/docs/js/custom-element/graphics-element.js
+++ b/docs/js/custom-element/graphics-element.js
@@ -37,8 +37,6 @@ CustomElement.register(class ProgramCode extends HTMLElement {});
* Our custom element
*/
class GraphicsElement extends CustomElement {
- static DEBUG = false;
-
/**
* Create an instance of this element
*/
@@ -347,8 +345,12 @@ class GraphicsElement extends CustomElement {
}
}
+// Register our custom element
CustomElement.register(GraphicsElement);
+// static property to regular debugging
+GraphicsElement.DEBUG = false;
+
// debugging should be behind a flag
function debugLog(...data) {
if (GraphicsElement.DEBUG) {
diff --git a/docs/js/custom-element/lib/bezierjs/bezier.js b/docs/js/custom-element/lib/bezierjs/bezier.js
index 431648ad..8d7d3f4f 100644
--- a/docs/js/custom-element/lib/bezierjs/bezier.js
+++ b/docs/js/custom-element/lib/bezierjs/bezier.js
@@ -86,9 +86,9 @@ class Bezier {
this.update();
}
- static SVGtoBeziers = function (d) {
+ static SVGtoBeziers(d) {
return convertPath(Bezier, d);
- };
+ }
static quadraticFromPoints(p1, p2, p3, t) {
if (typeof t === "undefined") {
diff --git a/docs/news/2020-09-18.html b/docs/news/2020-09-18.html
index 679c4390..a01101b2 100644
--- a/docs/news/2020-09-18.html
+++ b/docs/news/2020-09-18.html
@@ -27,7 +27,7 @@
-
+
diff --git a/docs/news/index.html b/docs/news/index.html
index 539f0a12..b52df321 100644
--- a/docs/news/index.html
+++ b/docs/news/index.html
@@ -26,7 +26,7 @@
-
+
diff --git a/docs/news/rss.xml b/docs/news/rss.xml
index 95eaf46c..3abc199f 100644
--- a/docs/news/rss.xml
+++ b/docs/news/rss.xml
@@ -6,7 +6,7 @@
News updates for the primer on Bézier Curves by Pomax
en-GB
- Fri Sep 25 2020 21:08:40 +00:00
+ Fri Sep 25 2020 21:26:45 +00:00
https://pomax.github.io/bezierinfo/images/og-image.png
A Primer on Bézier Curves
diff --git a/docs/zh-CN/index.html b/docs/zh-CN/index.html
index 1b0d214b..057e06ec 100644
--- a/docs/zh-CN/index.html
+++ b/docs/zh-CN/index.html
@@ -33,7 +33,7 @@
-
+