UNPKG
dox-foundation
Version:
latest (0.5.6)
0.5.6
0.5.5
0.5.4
0.5.3
0.5.2
0.5.1
0.5.0
0.4.9
0.4.8
0.4.7
0.4.6
0.4.5
0.4.4
0.4.3
0.4.2
0.4.1
0.4.0
0.3.3
0.3.2
0.3.1
0.3.0
0.2.0
0.0.1
HTML output for Dox documentation generator
github.com/punkave/dox-foundation
punkave/dox-foundation
dox-foundation
/
views
/
js
/
page.js
8 lines
(6 loc)
•
291 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
var headerHeight =
64
;
$(
document).foundation();
$(
function(){
$(
'pre code'
).addClass(
'language-javascript'
);
//
$(
'#nav > ul > li > a[href$="'
+location.pathname.substring(location.pathname.lastIndexOf(
'/'
)+
1
, location.pathname.length)+
'"]'
).parent().addClass(
'active'
); })