From: Jack Allnutt Date: Sat, 17 Sep 2011 17:22:54 +0000 (+0100) Subject: Linting X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=f9b56841647446198bd8487a9401736d249699f6;p=KiwiIRC.git Linting --- diff --git a/js/util.js b/js/util.js index 4ee8571..1a3e4bc 100644 --- a/js/util.js +++ b/js/util.js @@ -256,15 +256,15 @@ var plugins = [ randColour: function () { - var h = this.rand(-250, 0); - var s = this.rand(30, 100); - var l = this.rand(20, 70); + var h = this.rand(-250, 0), + s = this.rand(30, 100), + l = this.rand(20, 70); return 'hsl(' + h + ',' + s + '%,' + l + '%)'; }, rand: function (min, max) { - return parseInt(Math.random() * (max-min+1), 10) + min; + return parseInt(Math.random() * (max - min + 1), 10) + min; } },