diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-03-28 22:37:38 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-06-28 02:47:21 +0200 |
commit | 97ab599dd8aebd14e6f7369a59d415fdeca914bc (patch) | |
tree | fad17453cbf07ab91d81265f618b35622580f7ef /module/web/media/js/mootools-more-1.4.0.1.js | |
parent | Remove bad whitespaces (diff) | |
download | pyload-97ab599dd8aebd14e6f7369a59d415fdeca914bc.tar.xz |
Fix EOF
Merged vuolter/pyload@2635efd
Diffstat (limited to 'module/web/media/js/mootools-more-1.4.0.1.js')
-rw-r--r-- | module/web/media/js/mootools-more-1.4.0.1.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/web/media/js/mootools-more-1.4.0.1.js b/module/web/media/js/mootools-more-1.4.0.1.js index f3f8e4ee1..cf1f041be 100644 --- a/module/web/media/js/mootools-more-1.4.0.1.js +++ b/module/web/media/js/mootools-more-1.4.0.1.js @@ -213,4 +213,4 @@ if(g!=0){var e=(j-c)/l;var b=(j-d)/l;var m=(j-k)/l;if(c==j){h=m-b;}else{if(d==j) },hsbToRgb:function(){var d=Math.round(this[2]/100*255);if(this[1]==0){return[d,d,d];}else{var b=this[0]%360;var g=b%60;var h=Math.round((this[2]*(100-this[1]))/10000*255); var e=Math.round((this[2]*(6000-this[1]*g))/600000*255);var c=Math.round((this[2]*(6000-this[1]*(60-g)))/600000*255);switch(Math.floor(b/60)){case 0:return[d,c,h]; case 1:return[e,d,h];case 2:return[h,d,c];case 3:return[h,e,d];case 4:return[c,h,d];case 5:return[d,h,e];}}return false;}});String.implement({rgbToHsb:function(){var b=this.match(/\d{1,3}/g); -return(b)?b.rgbToHsb():null;},hsbToRgb:function(){var b=this.match(/\d{1,3}/g);return(b)?b.hsbToRgb():null;}});})();
\ No newline at end of file +return(b)?b.rgbToHsb():null;},hsbToRgb:function(){var b=this.match(/\d{1,3}/g);return(b)?b.hsbToRgb():null;}});})(); |