We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a5d0d4 commit f8afa2eCopy full SHA for f8afa2e
ender.js
@@ -0,0 +1 @@
1
+$.ender({ moment: require('moment') })
moment.js
@@ -735,7 +735,8 @@
735
if (hasModule) {
736
module.exports = moment;
737
}
738
- if (typeof window !== 'undefined') {
+ /*global ender:false */
739
+ if (typeof window !== 'undefined' && typeof ender === 'undefined') {
740
window.moment = moment;
741
742
/*global define:false */
package.json
@@ -6,7 +6,8 @@
6
"author": "Tim Wood <[email protected]> (http://timwoodcreates.com/)",
7
"keywords": [
8
"moment",
9
- "date"
+ "date",
10
+ "ender"
11
],
12
"main": "./moment.js",
13
"engines": {
@@ -28,5 +29,6 @@
28
29
"jshint" : "latest",
30
"uglify-js" : "latest",
31
"nodeunit" : "latest"
- }
32
+ },
33
+ "ender": "./ender.js"
34
0 commit comments