Function semicolons will be the death of me

master v3.0
William Toohey 9 years ago
parent 97e391c14c
commit 85ffde1f6c
  1. 4
      src/js/HuesCanvas.js

@ -483,7 +483,7 @@ HuesCanvas.prototype.doTrippyX = function() {
this.trippyOn = true; this.trippyOn = true;
this.doXBlur(); this.doXBlur();
this.trippyOn = saveTrippy; this.trippyOn = saveTrippy;
} };
HuesCanvas.prototype.doTrippyY = function() { HuesCanvas.prototype.doTrippyY = function() {
let saveTrippy = this.trippyOn; let saveTrippy = this.trippyOn;
@ -491,7 +491,7 @@ HuesCanvas.prototype.doTrippyY = function() {
this.trippyOn = true; this.trippyOn = true;
this.doYBlur(); this.doYBlur();
this.trippyOn = saveTrippy; this.trippyOn = saveTrippy;
} };
HuesCanvas.prototype.setBlurDecay = function(decay) { HuesCanvas.prototype.setBlurDecay = function(decay) {
this.blurDecay = {"slow" : 7.8, "medium" : 14.1, "fast" : 20.8, "faster!" : 28.7}[decay]; this.blurDecay = {"slow" : 7.8, "medium" : 14.1, "fast" : 20.8, "faster!" : 28.7}[decay];

Loading…
Cancel
Save