show complete info for global functions on Global page (#285)

This commit is contained in:
Jeff Williams 2012-12-21 11:39:36 -08:00
parent 8feb06eccb
commit b07d19f43a
2 changed files with 3 additions and 3 deletions

View File

@ -303,7 +303,7 @@ exports.publish = function(taffyData, opts, tutorials) {
// once for all
view.nav = buildNav(members);
if (members.globals.length) { generate('Global', members.globals, globalUrl); }
if (members.globals.length) { generate('Global', [{kind: 'globalobj'}], globalUrl); }
// index page displays information from package.json and lists files
var files = find({kind: 'file'}),

View File

@ -93,7 +93,7 @@
<?js } ?>
<?js
var members = self.find({kind: 'member', memberof: title === 'Globals'? {isUndefined: true} : doc.longname});
var members = self.find({kind: 'member', memberof: title === 'Global'? {isUndefined: true} : doc.longname});
if (members && members.length && members.forEach) {
?>
<h3 class="subsection-title">Members</h3>
@ -104,7 +104,7 @@
<?js } ?>
<?js
var methods = self.find({kind: 'function', memberof: title === 'Globals'? {isUndefined: true} : doc.longname});
var methods = self.find({kind: 'function', memberof: title === 'Global'? {isUndefined: true} : doc.longname});
if (methods && methods.length && methods.forEach) {
?>
<h3 class="subsection-title">Methods</h3>