Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed semicolon fail

  • Loading branch information...
commit a1155ad58370b2a05c2fd2c5a6287d834eba3942 1 parent c1f9718
Felix Niklas authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  js/color.js
2  js/color.js
View
@@ -55,7 +55,7 @@ var color = {
}
},
hexFromRgb: function(rgb){
- var hexcode = this.toHex(rgb[0])+this.toHex(rgb[1])+this.toHex(rgb[2]);
+ var hexcode = this.toHex(rgb[0])+this.toHex(rgb[1])+this.toHex(rgb[2]),
parts = hexcode.split("");
// "000" instead of "000000"
return (parts[0]===parts[1]) && (parts[2]===parts[3]) && (parts[4]==parts[5]) ? parts[0]+parts[2]+parts[4] : hexcode;
Please sign in to comment.
Something went wrong with that request. Please try again.