build docs

This commit is contained in:
Amish Shah
2016-08-20 16:14:34 +01:00
parent c5ab580562
commit c7df7a4744
2 changed files with 9 additions and 5 deletions

File diff suppressed because one or more lines are too long

View File

@@ -122,11 +122,15 @@ function clean() {
}
seenEvents[item.name] = true;
const obj = cleaned.classes[item.memberof] || cleaned.interfaces[item.memberof];
const newTypes = [];
for (const name of item.type.names) {
newTypes.push(matchReturnName(name));
if (item.params) {
for (const param of item.params) {
const newTypes = [];
for (const name of param.type.names) {
newTypes.push(matchReturnName(name));
}
param.type = newTypes;
}
}
item.type = newTypes;
obj.events.push(item);
}
}