docs/Roo.docs.init.js
authorAlan Knowles <alan@roojs.com>
Thu, 28 Mar 2019 06:30:28 +0000 (14:30 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 28 Mar 2019 06:30:28 +0000 (14:30 +0800)
docs/Roo.docs.init.js

index c86c447..a325a4c 100644 (file)
@@ -269,6 +269,7 @@ Roo.docs.init = {
             method : 'GET',
             success : function(res, o)
             {
+                
                 var d = Roo.decode(res.responseText);
                 this.fillDoc(d);
                 
@@ -276,8 +277,28 @@ Roo.docs.init = {
             scope : this
         });
         
-        
     },
+    fillAugments : function(d, cb)
+    {
+        if (!d.extends.lenght) {
+            cb(d)
+        }
+        Roo.Ajax.request({
+            url : this.prefix + 'symbols/' + d.extends + '.json',
+            method : 'GET',
+            success : function(res, o)
+            {
+                
+                var d = Roo.decode(res.responseText);
+                this.fillDoc(d);
+                
+            },
+            scope : this
+        });
+        
+    }
+    
+    
     
     fillDoc : function(d)
     {