diff --git a/LICENSE b/LICENSE index 1213ea019..6878ce473 100644 --- a/LICENSE +++ b/LICENSE @@ -1,5 +1,5 @@ /* -* appchan x - Version 2.3.10 - 2013-09-04 +* appchan x - Version 2.3.10 - 2013-09-20 * * Licensed under the MIT license. * https://github.com/zixaphir/appchan-x/blob/master/LICENSE diff --git a/builds/appchan-x.user.js b/builds/appchan-x.user.js index 1f19c8c4b..79d981e42 100644 --- a/builds/appchan-x.user.js +++ b/builds/appchan-x.user.js @@ -20,7 +20,7 @@ // ==/UserScript== /* -* appchan x - Version 2.3.10 - 2013-09-04 +* appchan x - Version 2.3.10 - 2013-09-20 * * Licensed under the MIT license. * https://github.com/zixaphir/appchan-x/blob/master/LICENSE @@ -12656,11 +12656,11 @@ var arg, color, colors, hex, i, rgb, val, _i, _len; colors = []; + rgb = ['r', 'g', 'b']; for (_i = 0, _len = arguments.length; _i < _len; _i++) { arg = arguments[_i]; hex = Style.colorToHex(arg) || "ffffff"; color = {}; - rgb = ['r', 'g', 'b']; i = 0; while (val = rgb[i]) { color[val] = parseInt(hex.substr(2 * i++, 2), 16) / 255; diff --git a/builds/crx/script.js b/builds/crx/script.js index c36445c49..7b2f03c31 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -1,6 +1,6 @@ // Generated by CoffeeScript /* -* appchan x - Version 2.3.10 - 2013-09-04 +* appchan x - Version 2.3.10 - 2013-09-20 * * Licensed under the MIT license. * https://github.com/zixaphir/appchan-x/blob/master/LICENSE @@ -12652,11 +12652,11 @@ var arg, color, colors, hex, i, rgb, val, _i, _len; colors = []; + rgb = ['r', 'g', 'b']; for (_i = 0, _len = arguments.length; _i < _len; _i++) { arg = arguments[_i]; hex = Style.colorToHex(arg) || "ffffff"; color = {}; - rgb = ['r', 'g', 'b']; i = 0; while (val = rgb[i]) { color[val] = parseInt(hex.substr(2 * i++, 2), 16) / 255; diff --git a/src/Theming/Style.coffee b/src/Theming/Style.coffee index 5343d6bd9..50260d0b6 100644 --- a/src/Theming/Style.coffee +++ b/src/Theming/Style.coffee @@ -95,10 +95,10 @@ Style = matrix: -> colors = [] + rgb = ['r', 'g', 'b'] for arg in arguments hex = Style.colorToHex(arg) or "ffffff" color = {} - rgb = ['r', 'g', 'b'] i = 0 while val = rgb[i] color[val] = parseInt(hex.substr((2 * i++), 2), 16) / 255