projects
/
KiwiIRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d34a1c
)
Linting
author
Jack Allnutt
<m2ys4u@Gmail.com>
Sat, 17 Sep 2011 17:22:54 +0000
(18:22 +0100)
committer
Jack Allnutt
<m2ys4u@Gmail.com>
Sat, 17 Sep 2011 17:22:54 +0000
(18:22 +0100)
js/util.js
patch
|
blob
|
blame
|
history
diff --git
a/js/util.js
b/js/util.js
index 4ee8571ad8ec7b06f74eadf28a05a8a1e79ef631..1a3e4bcbfc43405f800a616c6ff5c3e1c9bf1044 100644
(file)
--- 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;
}
},