Upgrade to ExtJS 3.0.3 - Released 10/11/2009
[extjs.git] / docs / source / Tree.html
index 7f21ea7..11a142d 100644 (file)
@@ -1,11 +1,17 @@
-<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"><div id="cls-Ext.data.Tree"></div>/**\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
+ */
+<div id="cls-Ext.data.Tree"></div>/**\r
  * @class Ext.data.Tree\r
  * @extends Ext.util.Observable\r
  * Represents a tree data structure and bubbles all the events for its nodes. The nodes\r
@@ -614,7 +620,7 @@ Ext.extend(Ext.data.Node, Ext.util.Observable, {
             if(t){\r
                 t.unregisterNode(this);\r
             }\r
-            this.id = id;\r
+            this.id = this.attributes.id = id;\r
             if(t){\r
                 t.registerNode(this);\r
             }\r
@@ -783,6 +789,6 @@ Ext.extend(Ext.data.Node, Ext.util.Observable, {
     toString : function(){\r
         return "[Node"+(this.id?" "+this.id:"")+"]";\r
     }\r
-});</pre>    \r
-</body>\r
+});</pre>
+</body>
 </html>
\ No newline at end of file