Skip to content

Commit fdcf45a

Browse files
No need for those comments, there are tests for globals/amd/node
1 parent 84c40aa commit fdcf45a

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

src/js.cookie.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,10 @@
77
*/
88
(function (factory) {
99
if (typeof define === 'function' && define.amd) {
10-
// AMD (Register as an anonymous module)
1110
define(factory);
1211
} else if (typeof exports === 'object') {
13-
// Node/CommonJS
1412
module.exports = factory();
1513
} else {
16-
// Browser globals
1714
var _OldCookies = window.Cookies;
1815
var api = window.Cookies = factory(window.jQuery);
1916
api.noConflict = function() {

0 commit comments

Comments
 (0)