From 33237be304d21152ad9fec47930e078d0c160cc5 Mon Sep 17 00:00:00 2001 From: Veno Server Date: Tue, 11 Aug 2009 19:58:59 -0500 Subject: [PATCH] Removing rgb_obj - browser choked on too many nested objects. Such a shame. --- js/franz.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/js/franz.js b/js/franz.js index 53c0f06..ac5dea3 100644 --- a/js/franz.js +++ b/js/franz.js @@ -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();