roojs-all.js
[roojs1] / roojs-doc-debug.js
index a7458a1..d1a39ba 100644 (file)
@@ -434,7 +434,7 @@ Roo.extend(Roo.doc.Section, Roo.bootstrap.Component,  {
             
             cfg.cn.push(ul);
         }
-        if (this.stype == 'return' && syn.returndesc.length) {
+        if (this.stype == 'return' && (syn.returndesc.length || syn.returntype.length )) {
             
             cfg.cn.push({
                 tag: 'p',
@@ -474,7 +474,8 @@ Roo.doc.Section.map = {
     'parameter' : 'Parameters',
     'return' : 'Return Value',
     'note' : 'Notes',
-    'example' : 'Examples'
+    'example' : 'Examples',
+    'throws' : 'Throws Exception'
 }
 /*
  * - LGPL