X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/25ef3491bd9ae007ff1fc2b0d7943e6eaaccf775..92c2b89db26be16707f4a805d3303ab2531006e1:/docs/source/ext-base-anim-extra.html?ds=inline diff --git a/docs/source/ext-base-anim-extra.html b/docs/source/ext-base-anim-extra.html index 38fab957..e09cc0fe 100644 --- a/docs/source/ext-base-anim-extra.html +++ b/docs/source/ext-base-anim-extra.html @@ -1,17 +1,12 @@ - -
-/*! - * Ext JS Library 3.0.3 - * Copyright(c) 2006-2009 Ext JS, LLC - * licensing@extjs.com - * http://www.extjs.com/license - */ -// Easing functions + + + +The source code + + + + +// Easing functions (function(){ // shortcuts to aid compression var abs = Math.abs, @@ -175,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); @@ -206,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); @@ -237,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+ \ No newline at end of file- +})();