fixed problem with type.properties pointing to non-existing prototypes
This commit is contained in:
parent
d5add243c7
commit
862cdef847
1 changed files with 3 additions and 1 deletions
|
@ -127,7 +127,9 @@ function typeProperties_macro (param) {
|
|||
if (arr[i].match (reg)) {
|
||||
// it matched, wrap line in a link to that prototype:
|
||||
var docProtoObj = this.getApplication ().getPrototype (mappings.getProperty (key));
|
||||
if (docProtoObj!=null) {
|
||||
arr[i] = '<a href="' + docProtoObj.href ("main") + '#typeproperties">' + arr[i] + '</a>';
|
||||
}
|
||||
}
|
||||
}
|
||||
sb.append (arr[i] + "\n");
|
||||
|
|
Loading…
Add table
Reference in a new issue