Upgrade to ExtJS 3.1.0 - Released 12/16/2009
[extjs.git] / docs / source / ext-base-anim-extra.html
index 38fab95..03462e0 100644 (file)
@@ -1,17 +1,12 @@
-<html>
-<head>
-  <title>The source code</title>
-    <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
-    <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
-</head>
-<body  onload="prettyPrint();">
-    <pre class="prettyprint lang-js">/*!
- * Ext JS Library 3.0.3
- * Copyright(c) 2006-2009 Ext JS, LLC
- * licensing@extjs.com
- * http://www.extjs.com/license
- */
-// Easing functions\r
+<html>\r
+<head>\r
+  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />    \r
+  <title>The source code</title>\r
+    <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />\r
+    <script type="text/javascript" src="../resources/prettify/prettify.js"></script>\r
+</head>\r
+<body  onload="prettyPrint();">\r
+    <pre class="prettyprint lang-js">// Easing functions\r
 (function(){\r
        // shortcuts to aid compression\r
        var abs = Math.abs,\r
            if (s.length == 3) {\r
             return s;\r
         }\r
-        \r
+               \r
         Ext.each([hexRE, rgbRE, hex3RE], function(re, idx){\r
             base = (idx % 2 == 0) ? 16 : 10;\r
             c = re.exec(s);\r
         doMethod : function(attr, start, end) {\r
             var me = this,\r
                val,\r
-               floor = Math.floor;            \r
+               floor = Math.floor,\r
+                               i, len = start.length, v;            \r
 \r
             if(colorRE.test(attr)){\r
                 val = [];\r
-             \r
-                   Ext.each(start, function(v, i) {\r
-                    val[i] = superclass.doMethod.call(me, attr, v, end[i]);\r
-                });\r
-\r
+                               \r
+                               for(i=0; i<len; i++) {\r
+                                       v = start[i];\r
+                                       val[i] = superclass.doMethod.call(me, attr, v, end[i]);\r
+                               }\r
                 val = 'rgb(' + floor(val[0]) + ',' + floor(val[1]) + ',' + floor(val[2]) + ')';\r
             }else{\r
                 val = superclass.doMethod.call(me, attr, start, end);\r
 \r
                 if(!isset(to) && isset(by)){\r
                     end = parseColor(by);\r
-                    Ext.each(start, function(item, i){\r
-                        end[i] = item + end[i];\r
-                    });\r
+                                       for(var i=0,len=start.length; i<len; i++) {\r
+                                               end[i] = start[i] + end[i];\r
+                                       }\r
                 }\r
                 ra.start = start;\r
                 ra.end = end;\r
             }\r
         }\r
     });\r
-})();</pre>
-</body>
+})();</pre>    \r
+</body>\r
 </html>
\ No newline at end of file