Upgrade to ExtJS 3.1.0 - Released 12/16/2009
[extjs.git] / docs / source / DragSource.html
index 42a29dc..879ae88 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
- */
-<div id="cls-Ext.dd.DragSource"></div>/**\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"><div id="cls-Ext.dd.DragSource"></div>/**\r
  * @class Ext.dd.DragSource\r
  * @extends Ext.dd.DDProxy\r
  * A simple class that provides the basic implementation needed to make any element draggable.\r
@@ -368,7 +363,12 @@ Ext.extend(Ext.dd.DragSource, Ext.dd.DDProxy, {
     // private - pin to cursor\r
     autoOffset : function(x, y) {\r
         this.setDelta(-12, -20);\r
-    }    \r
-});</pre>
-</body>
+    },\r
+    \r
+    destroy: function(){\r
+        Ext.dd.DragSource.superclass.destroy.call(this);\r
+        Ext.destroy(this.proxy);\r
+    }\r
+});</pre>    \r
+</body>\r
 </html>
\ No newline at end of file