From: Dustin J. Mitchell Date: Sun, 30 Dec 2012 14:59:00 +0000 (-0500) Subject: revert the anonymous use of define X-Git-Tag: 2.0.0~25^2~1^2 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=refs%2Fpull%2F524%2Fhead;p=thirdparty%2Fmoment.git revert the anonymous use of define --- diff --git a/moment.js b/moment.js index c7a71685b..12ae51f48 100644 --- a/moment.js +++ b/moment.js @@ -1288,7 +1288,7 @@ } /*global define:false */ if (typeof define === "function" && define.amd) { - define(function () { + define("moment", [], function () { return moment; }); }