Removing rgb_obj - browser choked on too many nested objects. Such a shame.
This commit is contained in:
parent
8f333b1715
commit
33237be304
1 changed files with 1 additions and 3 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Reference in a new issue