projects
/
plack-app-gruntmaster.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use const wherever possible in js/
[plack-app-gruntmaster.git]
/
js
/
90-nav.js
diff --git
a/js/90-nav.js
b/js/90-nav.js
index 03dcb8257931dff52d9775d8aea71e2bd23a8db5..b4127d6390eb55977b1a5f4b7f0f2e5d060d31d9 100644
(file)
--- a/
js/90-nav.js
+++ b/
js/90-nav.js
@@
-9,8
+9,8
@@
const NAVS = {
};
$(function(){
-
le
t path = location.pathname;
- for (
le
t nav in NAVS)
+
cons
t path = location.pathname;
+ for (
cons
t nav in NAVS)
if(path.match(NAVS[nav]))
$('#nav-' + nav)[0].classList.add('active');
});
This page took
0.009328 seconds
and
4
git commands to generate.