Skip to content

Commit d372675

Browse files
committed
Merge branch 'master' of https://github.com/cappslock/responsive-nav.js into cappslock-master
Conflicts: client/dist/responsive-nav.min.js responsive-nav.min.js
2 parents e05ebf2 + 190145c commit d372675

10 files changed

+25
-13
lines changed

bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "responsive-nav",
3-
"version": "1.0.38",
3+
"version": "1.0.39",
44
"main": [
55
"responsive-nav.css",
66
"responsive-nav.js"

client/dist/bower/bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "responsive-nav",
3-
"version": "1.0.38",
3+
"version": "1.0.39",
44
"main": [
55
"responsive-nav.css",
66
"responsive-nav.js"

client/dist/responsive-nav.js

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! responsive-nav.js 1.0.38
1+
/*! responsive-nav.js 1.0.39
22
* https://github.com/viljamis/responsive-nav.js
33
* http://responsive-nav.com
44
*
@@ -654,6 +654,10 @@
654654

655655
};
656656

657-
window.responsiveNav = responsiveNav;
657+
if (typeof module !== "undefined" && module.exports) {
658+
module.exports = responsiveNav;
659+
} else {
660+
window.responsiveNav = responsiveNav;
661+
}
658662

659663
}(document, window, 0));

client/dist/responsive-nav.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client/dist/styles/responsive-nav.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! responsive-nav.js 1.0.38 by @viljamis */
1+
/*! responsive-nav.js 1.0.39 by @viljamis */
22

33
.nav-collapse ul {
44
margin: 0;

client/src/responsive-nav.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -492,6 +492,10 @@
492492

493493
};
494494

495-
window.responsiveNav = responsiveNav;
495+
if (typeof module !== "undefined" && module.exports) {
496+
module.exports = responsiveNav;
497+
} else {
498+
window.responsiveNav = responsiveNav;
499+
}
496500

497501
}(document, window, 0));

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "responsive-nav",
3-
"version": "1.0.38",
3+
"version": "1.0.39",
44
"description": "Responsive Nav JS plugin",
5-
"main": "index.js",
5+
"main": "responsive-nav.js",
66
"scripts": {
77
"test": "grunt test --verbose"
88
},

responsive-nav.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! responsive-nav.js 1.0.38 by @viljamis */
1+
/*! responsive-nav.js 1.0.39 by @viljamis */
22

33
.nav-collapse ul {
44
margin: 0;

responsive-nav.js

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! responsive-nav.js 1.0.38
1+
/*! responsive-nav.js 1.0.39
22
* https://github.com/viljamis/responsive-nav.js
33
* http://responsive-nav.com
44
*
@@ -654,6 +654,10 @@
654654

655655
};
656656

657-
window.responsiveNav = responsiveNav;
657+
if (typeof module !== "undefined" && module.exports) {
658+
module.exports = responsiveNav;
659+
} else {
660+
window.responsiveNav = responsiveNav;
661+
}
658662

659663
}(document, window, 0));

0 commit comments

Comments
 (0)