fix a bug where events would appear twice on a DocPage
This commit is contained in:
parent
13246cc15b
commit
29950d2a10
1 changed files with 2 additions and 1 deletions
|
@ -244,7 +244,8 @@ Ox.doc = (function() {
|
|||
} else if (subitem.types[0] == 'event') {
|
||||
item.events = item.events || [];
|
||||
item.events.push(parseNode(node));
|
||||
order.push('events');
|
||||
// FIXME: unclear if this should be part of order, too
|
||||
// order.push('events');
|
||||
} else {
|
||||
key = item.types[0] == 'function'
|
||||
&& !/^\./.test(subitem.name)
|
||||
|
|
Loading…
Reference in a new issue