timrwood/moment — pull request #130 by mlegenhausen (2012-01-11 22:03:08+00:00)
Title: Issue #128

RequireJS allows to use moment as a module, which is nice when building larger javascript applications.

I added a simple check that looks for the `define` method and look if it is compatible with CommonJS AMD. I took the code from jquery so it should be correct ;)