]> git.r.bdr.sh - rbdr/heart/blobdiff - js/lib/heart_renderer.js
Fix linter warnings
[rbdr/heart] / js / lib / heart_renderer.js
index 356ed72d94d0c64456271ac0d494b461dda406dc..4680fb93a187864e09149584e9e6cdfd5532f7ef 100644 (file)
@@ -77,7 +77,6 @@
       this._following = null; // The status of mouse follow.
       this._center = null; // The actual center
       this._targetHeartSize = this.heartSize;
-      this._
       this._targetCenter = {
         x: 0,
         y: 0
 
     // Updates a single color component.
     _updateColorComponent(component, delta) {
+
       let color = Math.round(this._currentColor[component] + (delta * this._colorSpeed[component] * this._colorDirection[component]));
       if (color >= kColorIteratorLimit) {
         this._colorDirection[component] = -1;
 
     // Apply a class to show the cursor.
     _showCursor() {
+
       this.canvas.classList.add('mouse-moving');
     }
 
     // Remove class to hide the cursor.
     _hideCursor() {
+
       this.canvas.classList.remove('mouse-moving');
     }
   };