roojs-doc.js
authorAlan Knowles <alan@roojs.com>
Fri, 14 Oct 2016 03:23:49 +0000 (11:23 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 14 Oct 2016 03:23:49 +0000 (11:23 +0800)
roojs-doc-debug.js

roojs-doc-debug.js
roojs-doc.js

index 61b1915..1c6d268 100644 (file)
@@ -600,8 +600,9 @@ Roo.extend(Roo.doc.Synopsis, Roo.bootstrap.Component,  {
 
 Roo.doc.NavCategory = function(config){
     Roo.doc.Para.superclass.constructor.call(this, config);
+    Roo.doc.NavCategory.registry[this.name] = this;
 };
-
+Roo.doc.NavCategory.registry = {};
 Roo.extend(Roo.doc.NavCategory, Roo.bootstrap.Component,  {
     
     title : '',
index f6eec66..792acbc 100644 (file)
@@ -22,5 +22,5 @@ Roo.doc.Synopsis=function(A){Roo.doc.Synopsis.superclass.constructor.call(this,A
 var B=(this.is_static?'':'$')+this.memberof+(this.is_static?'::':'->');var C={tag:'h5',cls:'refsynopsisdiv',cn:[{cls:'funcsynopsis',cn:[{tag:'p',cn:{tag:'code',cls:'funcprototype',cn:[this.returntype+' '+B,{tag:'strong',cls:this.stype,html:this.name},'(',{tag:'span',cls:'roo-params'}
 ,')']}}]}]};return C;},getChildContainer:function(A){return this.el.select('.roo-params',true).first();}});
 // Roo/doc/NavCategory.js
-Roo.doc.NavCategory=function(A){Roo.doc.Para.superclass.constructor.call(this,A);};Roo.extend(Roo.doc.NavCategory,Roo.bootstrap.Component,{title:'',name:'',getAutoCreate:function(){var A={cn:[{tag:'a',cls:'roo-nav-category',href:'#'+this.name,html:this.title}
+Roo.doc.NavCategory=function(A){Roo.doc.Para.superclass.constructor.call(this,A);Roo.doc.NavCategory.registry[this.name]=this;};Roo.doc.NavCategory.registry={};Roo.extend(Roo.doc.NavCategory,Roo.bootstrap.Component,{title:'',name:'',getAutoCreate:function(){var A={cn:[{tag:'a',cls:'roo-nav-category',href:'#'+this.name,html:this.title}
 ,{cls:'container roo-child-ctr'}]};return A;},getChildContainer:function(){return this.el.select('.roo-child-ctr',true).first();}});