projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97d1373
)
Roo/lib/Color.js
author
Alan Knowles
<alan@akbkhome.com>
Thu, 9 Feb 2012 06:00:06 +0000
(14:00 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 9 Feb 2012 06:00:06 +0000
(14:00 +0800)
Roo/lib/Color.js
patch
|
blob
|
history
diff --git
a/Roo/lib/Color.js
b/Roo/lib/Color.js
index
65edcc0
..
590c590
100644
(file)
--- a/
Roo/lib/Color.js
+++ b/
Roo/lib/Color.js
@@
-197,13
+197,13
@@
Roo.lib.Colour = function(){
};
// convert between formats..
- this.toRGB()
+ this.toRGB
= function
()
{
var r = this.getIntegerRGB();
return new Roo.lib.RGBColour(r.r,r,g,r,b,r.a);
}
- this.toHSL()
+ this.toHSL
= function
()
{
var hsl = this.getHSL();
// return the CSS HSL colour value
@@
-211,7
+211,7
@@
Roo.lib.Colour = function(){
}
- this.toHSV()
+ this.toHSV
= function
()
{
var rgb = this.toRGB();
var hsv = rgb.getHSV();