]> git.r.bdr.sh - rbdr/heart/commitdiff
Merge branch 'hotfix/1.1.2'
authorBen Beltran <redacted>
Thu, 30 Mar 2017 06:57:53 +0000 (00:57 -0600)
committerBen Beltran <redacted>
Thu, 30 Mar 2017 06:57:53 +0000 (00:57 -0600)
CHANGELOG.md
js/lib/heart_renderer.js
package.json

index b0d75982608128c7601da58e1e3b73bf9edff29a..ccf75334d3c1b114b44a1048f0faafe1791f0f4e 100644 (file)
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
 The format is based on [Keep a Changelog](http://keepachangelog.com/)
 and this project adheres to [Semantic Versioning](http://semver.org/).
 
+## [1.1.2] - 2017-02-19
+### Changed
+- Remove unnecessary console log
+
 ## [1.1.1] - 2017-02-19
 ### Changed
 - Set encoding and description on index
@@ -33,3 +37,4 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
 [1.0.1]: https://github.com/rbdr/heart/compare/1.0.0...1.0.1
 [1.1.0]: https://github.com/rbdr/heart/compare/1.0.1...1.1.0
 [1.1.1]: https://github.com/rbdr/heart/compare/1.1.0...1.1.1
+[1.1.2]: https://github.com/rbdr/heart/compare/1.1.1...1.1.2
index 19ff1374e40e99ba231cd39f3321e721ebab61e0..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
       const green = this._updateColorComponent('green', delta);
       const blue = this._updateColorComponent('blue', delta);
 
-      console.log(red, green, blue);
-
       this._currentColor.red = red;
       this._currentColor.green = green;
       this._currentColor.blue = blue;
 
     // 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');
     }
   };
index 405668681c181498deaef9a311bc77d26ffca3f0..a924888870196eaecf5cacce4ee887b3ba6133a8 100644 (file)
@@ -1,6 +1,6 @@
 {
   "name": "heart",
-  "version": "1.1.1",
+  "version": "1.1.2",
   "description": "The heart",
   "main": "index.js",
   "scripts": {