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.
2 parents f734d2d + 56683a5 commit 5c09f6dCopy full SHA for 5c09f6d
src/js/bootstrap-datetimepicker.js
@@ -39,7 +39,7 @@
39
// AMD is used - Register as an anonymous module.
40
define(['jquery', 'moment'], factory);
41
} else if (typeof exports === 'object') {
42
- factory(require('jquery'), require('moment'));
+ module.exports = factory(require('jquery'), require('moment'));
43
} else {
44
// Neither AMD nor CommonJS used. Use global variables.
45
if (typeof jQuery === 'undefined') {
0 commit comments