You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Last function in a file does not appear in the Definitions box #87
for (var i = 0; i < dfns.length - 1; ++i) {
html += '<li><a href="#' + dfns[i].id + '" title="'+ dfns[i].title+ '" data-ref="'+ dfns[i].id +'">'+escape_html(dfns[i].textContent) +'</a></li>';
}
It looks like the indexing is off by one since the last function in a file is not listed in the Definitions box. Should the loop condition be i < dfns.length instead?
Activity