diff --git a/src/js/components/mm-sierpinski.js b/src/js/components/mm-sierpinski.js
index e9b7298..6a0a210 100644
--- a/src/js/components/mm-sierpinski.js
+++ b/src/js/components/mm-sierpinski.js
@@ -2,13 +2,13 @@
* A custom component that renders a Sierpinski Fractal
*/
class Sierpinski extends HTMLElement {
- /**
- * Constructor function
- */
- constructor() {
- super();
- this.simpleShader = null;
- this.vertexShaderSource = `
+ /**
+ * Constructor function
+ */
+ constructor() {
+ super();
+ this.simpleShader = null;
+ this.vertexShaderSource = `
attribute vec2 a_position;
varying vec4 v_color;
uniform vec2 u_resolution;
@@ -28,7 +28,7 @@ class Sierpinski extends HTMLElement {
v_color = vec4(0.5, 0.5, 0.5, 1);
}
`;
- this.fragmentShaderSource = `
+ this.fragmentShaderSource = `
// fragment shaders don't have a default precision so we need
// to pick one. mediump is a good default
precision mediump float;
@@ -41,9 +41,8 @@ class Sierpinski extends HTMLElement {
}
`;
-
- this.attachShadow({ mode: "open" });
- this.shadowRoot.innerHTML = `
+ this.attachShadow({ mode: "open" });
+ this.shadowRoot.innerHTML = `