moment/moment — pull request #1238 by jgerigmeyer (2013-10-30 00:03:05+00:00)
Title: Add specific check for "require" in hasModule check.

When using moment.js in QUnit tests, hasModule resolves true and triggers makeGlobal deprecation warning. This pull request ensures that the hasModule check on line 30 only resolves as truthy when using an actual module pattern with a require fn.