-/*\r
- * Ext JS Library 2.2.1\r
- * Copyright(c) 2006-2009, Ext JS, LLC.\r
- * licensing@extjs.com\r
- * \r
- * http://extjs.com/license\r
- */\r
-\r
-Ext.Spotlight = function(config){\r
+/*!
+ * Ext JS Library 3.0.0
+ * Copyright(c) 2006-2009 Ext JS, LLC
+ * licensing@extjs.com
+ * http://www.extjs.com/license
+ */
+Ext.ux.Spotlight = function(config){\r
Ext.apply(this, config);\r
}\r
-Ext.Spotlight.prototype = {\r
+Ext.ux.Spotlight.prototype = {\r
active : false,\r
animate : true,\r
- animated : false,\r
duration: .25,\r
easing:'easeNone',\r
\r
+ // private\r
+ animated : false,\r
+\r
createElements : function(){\r
var bd = Ext.getBody();\r
\r
destroy : function(){\r
this.doHide();\r
Ext.destroy(\r
- this.right,\r
- this.left,\r
- this.top,\r
- this.bottom);\r
+ this.right,\r
+ this.left,\r
+ this.top,\r
+ this.bottom);\r
delete this.el;\r
delete this.all;\r
}\r
-};
\ No newline at end of file
+};\r
+\r
+//backwards compat\r
+Ext.Spotlight = Ext.ux.Spotlight;
\ No newline at end of file