MakingSense/moment-datepicker — pull request #42 by josser (2014-01-08 10:59:12+00:00)
Title: Fixed AMD Loading for moment

Latest moment throws deprecation warning if trying to use it from global namespace.
Wrapped up plugin code into define() if define.amd is present or use globals if not.
Codestyled (sorry)