Removing rgb_obj - browser choked on too many nested objects. Such a shame.

This commit is contained in:
Veno Server 2009-08-11 19:58:59 -05:00
parent 8f333b1715
commit 33237be304

View file

@ -34,8 +34,6 @@ var franz = {
return false;
},
rgb_obj: function(r, g, b, a) { return {r: r, b: b, g: g, a: a}; },
clone: function(obj) {
/* Recursively iterate through objects and clone them (Don't even try to put this on the Object prototype (recursion fail)) */
var returnObj = (obj instanceof Array) ? [] : {};
@ -75,7 +73,7 @@ var franz = {
franz.blue[i] = imageData[i*4 + 2];
franz.alpha[i] = imageData[i*4 + 3];
}
/* get hue sat val array */
franz.RGBtoHSV();