]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
revert the anonymous use of define 524/head
authorDustin J. Mitchell <dustin@mozilla.com>
Sun, 30 Dec 2012 14:59:00 +0000 (09:59 -0500)
committerDustin J. Mitchell <dustin@mozilla.com>
Sun, 30 Dec 2012 14:59:00 +0000 (09:59 -0500)
moment.js

index c7a71685b935e0d825854422d73af51fef435476..12ae51f485870f504f36980ccc5e3940bb7168e1 100644 (file)
--- a/moment.js
+++ b/moment.js
     }
     /*global define:false */
     if (typeof define === "function" && define.amd) {
-        define(function () {
+        define("moment", [], function () {
             return moment;
         });
     }