File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 3737 return value [ 0 ] . toLowerCase ( ) + value . slice ( 1 ) ;
3838 } ) ;
3939
40- resp . forEach ( function ( ctor ) {
40+ resp . filter ( function ( ctor ) {
41+ return ctor . jsClassName ;
42+ } ) . forEach ( function ( ctor ) {
4143 // Add nav entry.
4244 var anchor = $ ( "<a href='#" + ctor . jsClassName + "'><li>" + ctor . jsClassName + "</li><ul class='subnav'></ul></a>" ) . appendTo ( scrollable ) ;
4345
4648
4749 content . append ( contentOutput ) ;
4850
49- ctor . functions . forEach ( function ( func ) {
51+ ( ctor . functions || [ ] ) . forEach ( function ( func ) {
5052 var isPrototype = func . isPrototypeMethod ? "#" : "." ;
5153 anchor . find ( ".subnav" ) . append ( "<a href='#" + ctor . jsClassName + "/function/" + func . jsFunctionName + "'><li>" + ctor . jsClassName + isPrototype + func . jsFunctionName + "</li></a>" ) ;
5254 } ) ;
You can’t perform that action at this time.
0 commit comments