dtag.values.map(function(v) {
return v.length ? v : "<B>Empty</B>";
}).join(", ")) : ''
- ) + '</div>';
+ ) + '</div></div>';
+ Roo.log(JSON.stringify(output));
return output;
},
!data.isStatic
) {
data.isInherited = false;
+ data.isConstructor = true;
ownMethods.push(data); // should push ctor???
}
}
- if ($.isNamespace || (($.memberOf != data.name) && $.isStatic)){
+ if (($.memberOf != data.name) && $.isStatic){
return true;
}
if ($.isStatic) {
if (data.isSingleton) {
return true;
}
- if ($.isNamespace || (($.memberOf != data.name) && $.isStatic)){
+ if (($.memberOf != data.name) && $.isStatic){
return true;
}
if (!$.isStatic) {
return true;
}
- );
- return msorted;
-
+ );
+
+ return ownMethods;
+
},
method : function(member) {
var output = '<a name="' + member.memberOf +'.' + member.name + '"></a>' +
- '<div class="fixedFont"> <span class="attributes">';
+ '<div class="fixedFont"> <span class="attributes">';
if (member.isConstructor) {
- output += "new <B>" + member.memberOf + (member.memberOf.length ? "." : "") +"</B>";
+ output += "new ";
} else {
if (member.isPrivate) output += "<private> ";
}
);
*/
- str = str.replace(/\n/gi, '<br/>');
+ //Roo.log(JSON.stringify(str));
+ str = str.replace(/[ \t]+\n/gi, '\n');
+ str = str.replace(/\n\n+/gi, '<br/><br/>');
+ //str = str.replace(/\n/gi, '<br/>');
var linkSymbol = this.linkSymbol;
str = str.replace(/\{@link ([^} ]+) ?\}/gi,
function(match, symbolName) {
summarize : function(desc)
{
if (typeof desc != "undefined") {
- // finds the first fulls stop...
- return desc.match(/([\w\W]+?\.)[^a-z0-9]/i)? RegExp.$1.replace("\n", " ") : desc.split("\n")[0];
+ // finds the first fulls stop... (and we remove '<' html...)
+ return desc.match(/([\w\W]+?[\.|:])[^a-z0-9]/i)?
+ RegExp.$1.split('<')[0].replace("\n", " ") : desc.split("\n")[0];
}
return '';
},