This commit is contained in:
Zixaphir 2014-01-02 17:40:05 -07:00
parent 0733ceb3b6
commit 89ec27790d
3 changed files with 3 additions and 3 deletions

View File

@ -13704,7 +13704,7 @@
shift = (this.isLight() ? -1 : 1) * Math.abs(shift);
}
rgb = [];
_ref = this.privateRGB;
_ref = this.privateRGB();
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
color = _ref[_i];
rgb.push(minmax(color + shift));

View File

@ -13715,7 +13715,7 @@
shift = (this.isLight() ? -1 : 1) * Math.abs(shift);
}
rgb = [];
_ref = this.privateRGB;
_ref = this.privateRGB();
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
color = _ref[_i];
rgb.push(minmax(color + shift));

View File

@ -54,5 +54,5 @@ class Color
shiftRGB: (shift, smart) ->
shift = (if @isLight() then -1 else 1) * Math.abs shift if smart
rgb = []
rgb.push minmax color + shift for color in @privateRGB
rgb.push minmax color + shift for color in @privateRGB()
rgb.join ""