|
|
@@ -98,6 +98,9 @@ module.exports = function(grunt) {
|
|
|
' if (typeof define === "function" && define.amd) {',
|
|
|
' define([ "jquery", "moment" ], factory);',
|
|
|
' }',
|
|
|
+ ' else if (typeof exports === "object") {',
|
|
|
+ ' module.exports = factory(require("jquery"), require("moment"));',
|
|
|
+ ' }',
|
|
|
' else {',
|
|
|
' factory(jQuery, moment);',
|
|
|
' }',
|