Skip to content

Commit 94b6af5

Browse files
committed
update module mode
1 parent 369617b commit 94b6af5

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

dist/js/jquery.datepicker.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
if (typeof define === 'function' && define.amd) {
77
define(['jquery', 'fecha'], factory);
88
} else if (typeof exports === 'object') {
9-
module.exports = factory(require('jquery'), require('fecha'));
9+
factory(require('jquery'), require('fecha'));
1010
} else {
1111
factory(jQuery, fecha);
1212
}
@@ -1992,7 +1992,7 @@
19921992
}
19931993
};
19941994

1995-
datepicker.version = '1.0.7';
1995+
datepicker.version = '1.0.9';
19961996

19971997
datepicker.setDate = function (date) {
19981998
core._setDate(date);
@@ -2240,4 +2240,4 @@
22402240
fn.apply($target, toArray(arguments));
22412241
}
22422242
}
2243-
}, window.jQuery, window.fecha));
2243+
}, global.jQuery, global.fecha));

0 commit comments

Comments
 (0)