We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aeb793d commit f12dce3Copy full SHA for f12dce3
.jshintrc
@@ -8,5 +8,8 @@
8
"nonbsp": true,
9
"trailing": true,
10
"undef": true,
11
- "unused": true
+ "unused": true,
12
+ "globals": {
13
+ "module": true
14
+ }
15
}
src/jquery.cookie.js
@@ -11,7 +11,7 @@
define(['jquery'], factory);
} else if (typeof exports === 'object') {
// CommonJS
- factory(require('jquery'));
+ module.exports = factory(require('jquery'));
} else {
16
// Browser globals
17
factory(jQuery);
0 commit comments