Skip to content

Commit

Permalink
fix globals
Browse files Browse the repository at this point in the history
  • Loading branch information
cainmaila committed Oct 6, 2016
1 parent a289461 commit 32f6d17
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions jaguarjs-jsdoc/publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,30 @@ function buildNav(members) {
});
}

if (members.globals.length) {
nav.push({
type: 'namespace',
longname: "global",
name: "global",
members: find({
kind: 'member',
scope: "global"
}),
methods: find({
kind: 'function',
scope: "global"
}),
typedefs: find({
kind: 'typedef',
scope: "global"
}),
events: find({
kind: 'event',
scope: "global"
})
});
}

return nav;
}

Expand Down

0 comments on commit 32f6d17

Please sign in to comment.