Skip to content

Commit fd837dd

Browse files
committed
Merge pull request arielsalminen#100 from dboulet/master
Convert global variables to local to optimize minification.
2 parents 2c1ccdf + 3ece9ed commit fd837dd

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

client/dist/responsive-nav.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
* https://github.com/viljamis/responsive-nav.js
33
* http://responsive-nav.com
44
*
5-
* Copyright (c) 2013 @viljamis
5+
* Copyright (c) 2014 @viljamis
66
* Available under the MIT license
77
*/
88

9-
(function () {
9+
(function (document, window) {
1010

1111
"use strict";
1212

@@ -438,4 +438,4 @@
438438

439439
window.responsiveNav = responsiveNav;
440440

441-
}());
441+
}(document, window));

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/src/wrapper.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
* Available under the MIT license
77
*/
88

9-
(function () {
9+
(function (document, window) {
1010

1111
"use strict";
1212

1313
//= responsive-nav.js
1414

1515
window.responsiveNav = responsiveNav;
1616

17-
}());
17+
}(document, window));

responsive-nav.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
* https://github.com/viljamis/responsive-nav.js
33
* http://responsive-nav.com
44
*
5-
* Copyright (c) 2013 @viljamis
5+
* Copyright (c) 2014 @viljamis
66
* Available under the MIT license
77
*/
88

9-
(function () {
9+
(function (document, window) {
1010

1111
"use strict";
1212

@@ -438,4 +438,4 @@
438438

439439
window.responsiveNav = responsiveNav;
440440

441-
}());
441+
}(document, window));

0 commit comments

Comments
 (0)