-<html>\r
-<head>\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">(function(){\r
+<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
+ */
+(function(){\r
// contants\r
var NULL = null,\r
UNDEFINED = undefined,\r
* The callback is intended for any additional code that should run once a particular effect has completed. The Element\r
* being operated upon is passed as the first parameter.\r
* \r
- * @cfg {Object} scope The scope of the <tt>{@link #callback}</tt> function\r
+ * @cfg {Object} scope The scope (<code>this</code> reference) in which the <tt>{@link #callback}</tt> function is executed. Defaults to the browser window.\r
* \r
* @cfg {String} easing A valid Ext.lib.Easing value for the effect:</p><div class="mdetail-params"><ul>\r
* <li><b><tt>backBoth</tt></b></li>\r
active;\r
\r
me.queueFx(o, function(){\r
- color = color || "#C3DAF9"\r
+ color = color || '#C3DAF9'\r
if(color.length == 6){\r
- color = "#" + color;\r
+ color = '#' + color;\r
} \r
count = count || 1;\r
fly(dom).show();\r
queue = function(){\r
proxy = fly(document.body || document.documentElement).createChild({\r
style:{\r
- visbility: HIDDEN,\r
position : ABSOLUTE,\r
- "z-index": 35000, // yee haw\r
- border : "0px solid " + color\r
+ 'z-index': 35000, // yee haw\r
+ border : '0px solid ' + color\r
}\r
});\r
return proxy.queueFx({}, animFn);\r
\r
/* @private */\r
queueFx : function(o, fn){\r
- var me = this;\r
+ var me = fly(this.dom);\r
if(!me.hasFxBlock()){\r
Ext.applyIf(o, me.fxDefaults);\r
if(!o.concurrent){\r
fly(dom).clearPositioning();\r
fly(dom).setPositioning(pos);\r
if(!o.wrap){\r
- wrap.parentNode.insertBefore(dom, wrap);\r
+ var pn = fly(wrap).dom.parentNode;
+ pn.insertBefore(dom, wrap); \r
fly(wrap).remove();\r
}\r
},\r
/* @private */\r
afterFx : function(o){\r
var dom = this.dom,\r
- id = dom.id,\r
- notConcurrent = !o.concurrent;\r
+ id = dom.id;\r
if(o.afterStyle){\r
fly(dom).setStyle(o.afterStyle); \r
}\r
if(o.remove == TRUE){\r
fly(dom).remove();\r
}\r
- if(notConcurrent){\r
- getQueue(id).shift();\r
- }\r
if(o.callback){\r
o.callback.call(o.scope, fly(dom));\r
}\r
- if(notConcurrent){\r
+ if(!o.concurrent){\r
+ getQueue(id).shift();\r
fly(dom).nextFx();\r
}\r
},\r
//When included, Ext.Fx is automatically applied to Element so that all basic\r
//effects are available directly via the Element API\r
Ext.Element.addMethods(Ext.Fx);\r
-})();</pre> \r
-</body>\r
+})();
+</pre>
+</body>
</html>
\ No newline at end of file