diff options
author | Matěj Cepl <mcepl@redhat.com> | 2010-06-01 01:05:02 +0200 |
---|---|---|
committer | Matěj Cepl <mcepl@redhat.com> | 2010-06-01 01:05:02 +0200 |
commit | 43218b75f3df450b97992815322c2d668ba2bab7 (patch) | |
tree | 02fc13cdff611e4a076f5c65316f4d8be6367ff5 /lib | |
parent | 4ccc9580eed8269e376eaa671e42590ff095c890 (diff) | |
download | bugzilla-triage-43218b75f3df450b97992815322c2d668ba2bab7.tar.gz |
Adding unit tests for Color object
Diffstat (limited to 'lib')
-rw-r--r-- | lib/color.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/color.js b/lib/color.js index 75f2c9a..2da2fa7 100644 --- a/lib/color.js +++ b/lib/color.js @@ -6,7 +6,7 @@ // originally from // http://www.mjijackson.com/2008/02\ // /rgb-to-hsl-and-rgb-to-hsv-color-model-conversion-algorithms-in-javascript -exports.Color = function Color(r, g, b) { +var Color = exports.Color = function Color(r, g, b) { this.Luminosity = 0.85; this.Desaturated = 0.4; |