File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed
Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ <h4>Functions:</h4>
122122 < li > No functions available.</ li >
123123 { % endif % }
124124 { % each functions as function % }
125- < li id = "{{jsClassName}}/function/{{function.name }}" >
125+ < li id = "{{jsClassName}}/function/{{function.jsFunctionName }}" >
126126 < strong class = "{%if not function.ignore%}is{%else%}not{%endif%} added" > { { jsClassName} } #</ strong > < strong class = "method" > { { function . jsFunctionName} } </ strong >
127127 </ li >
128128 { % endeach % }
Original file line number Diff line number Diff line change 1414
1515 var contentTemplate = combyne ( $ ( ".api-content script" ) . eq ( 1 ) . html ( ) . trim ( ) ) ;
1616
17- console . log ( resp ) ;
18-
1917 resp . forEach ( function ( ctor ) {
2018 // Add nav entry.
2119 var anchor = $ ( "<a href='#" + ctor . jsClassName + "'><li>" + ctor . jsClassName + "</li><ul class='subnav'></ul></a>" ) . appendTo ( listApi ) ;
2725
2826 ctor . functions . forEach ( function ( func ) {
2927 var isPrototype = func . isPrototypeMethod ? "#" : "." ;
30- anchor . find ( ".subnav" ) . append ( "<li>" + ctor . jsClassName + isPrototype + func . jsFunctionName + "</li>" ) ;
28+ anchor . find ( ".subnav" ) . append ( "<a href='#" + ctor . jsClassName + "/function/" + func . jsFunctionName + "'>< li>" + ctor . jsClassName + isPrototype + func . jsFunctionName + "</li></a >" ) ;
3129 } ) ;
3230 } ) ;
3331
Original file line number Diff line number Diff line change 4141 margin-right : 10px ;
4242}
4343
44+ # list-api a .active .subnav a {
45+ padding : 0 ;
46+ }
47+
4448# list-api a : hover , # list-api a .active {
4549 background : # 353535 ;
4650 color : # FFF ;
You can’t perform that action at this time.
0 commit comments