From 6f67201e6de9acdcd5385198e702ef722d33c1d1 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 9 Sep 2016 11:42:10 +0800 Subject: [PATCH] Roo/doc/Section.js roojs-doc.js roojs-doc-debug.js --- Roo/doc/Section.js | 2 +- roojs-doc-debug.js | 2 +- roojs-doc.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Roo/doc/Section.js b/Roo/doc/Section.js index 7da75e330b..874bfd432e 100644 --- a/Roo/doc/Section.js +++ b/Roo/doc/Section.js @@ -34,7 +34,7 @@ Roo.extend(Roo.doc.Section, Roo.bootstrap.Component, { // id... ? cn : [ { - tag: 'h1', + tag: 'h3', cls : 'title', html : Roo.doc.Section.map[this.stype] } diff --git a/roojs-doc-debug.js b/roojs-doc-debug.js index e38de28c3c..6dc04de634 100644 --- a/roojs-doc-debug.js +++ b/roojs-doc-debug.js @@ -369,7 +369,7 @@ Roo.extend(Roo.doc.Section, Roo.bootstrap.Component, { // id... ? cn : [ { - tag: 'h1', + tag: 'h3', cls : 'title', html : Roo.doc.Section.map[this.stype] } diff --git a/roojs-doc.js b/roojs-doc.js index 78ec90dc68..edd619caff 100644 --- a/roojs-doc.js +++ b/roojs-doc.js @@ -13,7 +13,7 @@ Roo.doc.Param=function(A){Roo.doc.Param.superclass.constructor.call(this,A);};Ro ,this.desc]}]};}if(this.parent().stype=='return'){return {tag:'p',cls:'para',cn:[{tag:'code',html:this.type},this.desc]};}var A={tag:'span',cn:[this.is_optional?'[':'',this.type,' ',{tag:'b',html:this.name},this.defaultvalue==''?'':' = ',this.defaultvalue,this.is_optional?']':'',',']} ;return A;},getAutoCreateParamSection:function(){return {tag:'li',cn:[{tag:'p',cls:'para',cn:[{tag:'code',html:this.type+' '+this.name},this.desc]}]};}}); // Roo/doc/Section.js -Roo.doc.Section=function(A){Roo.doc.Section.superclass.constructor.call(this,A);};Roo.extend(Roo.doc.Section,Roo.bootstrap.Component,{stype:'',getAutoCreate:function(){var A={cls:'refsection',cn:[{tag:'h1',cls:'title',html:Roo.doc.Section.map[this.stype]}]} +Roo.doc.Section=function(A){Roo.doc.Section.superclass.constructor.call(this,A);};Roo.extend(Roo.doc.Section,Roo.bootstrap.Component,{stype:'',getAutoCreate:function(){var A={cls:'refsection',cn:[{tag:'h3',cls:'title',html:Roo.doc.Section.map[this.stype]}]} ;if(this.stype=='parameter'){var ul={tag:'ul',cls:'itemizedlist roo-params',cn:[]};var B=this.parent().items[0].items;for(var i=0;i