diff --git a/demos/mouse-follow.html b/demos/mouse-follow.html index e6965b1..5cf3055 100644 --- a/demos/mouse-follow.html +++ b/demos/mouse-follow.html @@ -5,22 +5,41 @@ - + -

Shine Mouse-Follow Demo

+

Shine Mouse-Follow Demo

diff --git a/dist/shine.js b/dist/shine.js index 885da7d..916c698 100644 --- a/dist/shine.js +++ b/dist/shine.js @@ -333,7 +333,6 @@ exports.Shadow.prototype.disableAutoUpdates = function() { * @private Called when DOM event listeners fire */ exports.Shadow.prototype.handleViewportUpdate = function() { - console.log('vp update'); var boundingRect = this.domElement.getBoundingClientRect(); this.position.x = boundingRect.left + boundingRect.width * 0.5; this.position.y = boundingRect.top + boundingRect.height * 0.5; diff --git a/lib/shine.shadow.js b/lib/shine.shadow.js index bbf6c40..ab5e858 100644 --- a/lib/shine.shadow.js +++ b/lib/shine.shadow.js @@ -139,7 +139,6 @@ exports.Shadow.prototype.disableAutoUpdates = function() { * @private Called when DOM event listeners fire */ exports.Shadow.prototype.handleViewportUpdate = function() { - console.log('vp update'); var boundingRect = this.domElement.getBoundingClientRect(); this.position.x = boundingRect.left + boundingRect.width * 0.5; this.position.y = boundingRect.top + boundingRect.height * 0.5;