Last active
August 29, 2015 14:04
-
-
Save komuro-hiraku/bf04b0a92f6b6c28258a to your computer and use it in GitHub Desktop.
moment-timezone.js for Parse.com
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// snip | |
/*global define*/ | |
if (typeof define === 'function' && define.amd) { | |
define(['moment'], factory); // AMD | |
} else if (typeof exports === 'object') { | |
// module.exports = factory(require('moment')); // Node | |
module.exports = factory(require('cloud/moment-with-langs.js')); // modify for Parse.com | |
} else { | |
factory(root.moment); // Browser | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment