Support class information from the deprecation information
if(typeof type === 'object'){
name = type.type;
className =type.className;
}
else{
name = type;
className = null;
}
var classNames = "param-type";
if(className){
classNames = classNames + ' '+ className;
}
//[csaba] try parsing the type. if we don't succeed just call htmlsafe but
// don't try to create a link because catharsis parser won't be able to do it anyway
// (the parser is called as part of linkto).
// Some odd type constructs: "?((param0: oj.ojListView.ItemContext) => boolean)|boolean"
// if it's not parse-able then just make sure that we have the arrow bracket represented as <.
// the type will be rendered as is, no links will be added to it.
var current = self.docInProgress || {};
var deepParsed = self.tryToFindAllPossibleLinks(name, current);
if(deepParsed && deepParsed.length ==1){?>
|