roojs-core.js
[roojs1] / Roo / doc / Synopsis.js
index 15fcacb..3c7df22 100644 (file)
@@ -13,6 +13,7 @@
  * @cfg {String} stype (function|constant)
  * @cfg {String} memberof class name
  * @cfg {bool} is_static is a static member
+ * @cfg {bool} is_constructor is a static member
  * 
  * @constructor
  * Create a new Synopsis
@@ -45,8 +46,11 @@ Roo.extend(Roo.doc.Synopsis, Roo.bootstrap.Component,  {
             
         var nm = this.name;
         // this should probably do the params....?? then we need to disable the rendering..
-        if () {
+        
+        if (this.is_constructor) {
             
+            nm = this.memberof;
+            nmp = 'new ';
         }