X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/c930e9176a5a85509c5b0230e2bff5c22a591432..92c2b89db26be16707f4a805d3303ab2531006e1:/docs/source/ext-base-anim-extra.html
diff --git a/docs/source/ext-base-anim-extra.html b/docs/source/ext-base-anim-extra.html
index b25662cf..e09cc0fe 100644
--- a/docs/source/ext-base-anim-extra.html
+++ b/docs/source/ext-base-anim-extra.html
@@ -1,5 +1,6 @@
+
The source code
@@ -169,7 +170,7 @@
if (s.length == 3) {
return s;
}
-
+
Ext.each([hexRE, rgbRE, hex3RE], function(re, idx){
base = (idx % 2 == 0) ? 16 : 10;
c = re.exec(s);
@@ -200,15 +201,18 @@
doMethod : function(attr, start, end) {
var me = this,
val,
- floor = Math.floor;
+ floor = Math.floor,
+ i,
+ len,
+ v;
if(colorRE.test(attr)){
val = [];
-
- Ext.each(start, function(v, i) {
- val[i] = superclass.doMethod.call(me, attr, v, end[i]);
- });
-
+
+ for(i = 0, len = start.length; i < len; i++) {
+ v = start[i];
+ val[i] = superclass.doMethod.call(me, attr, v, end[i]);
+ }
val = 'rgb(' + floor(val[0]) + ',' + floor(val[1]) + ',' + floor(val[2]) + ')';
}else{
val = superclass.doMethod.call(me, attr, start, end);
@@ -231,9 +235,9 @@
if(!isset(to) && isset(by)){
end = parseColor(by);
- Ext.each(start, function(item, i){
- end[i] = item + end[i];
- });
+ for(var i=0,len=start.length; i