]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
Add issue link in deprecation message
authorIskren Chernev <iskren.chernev@gmail.com>
Thu, 1 May 2014 17:46:06 +0000 (10:46 -0700)
committerIskren Chernev <iskren.chernev@gmail.com>
Thu, 1 May 2014 17:46:06 +0000 (10:46 -0700)
moment.js

index acf57da09d9bb5bac3fad360f10c919cd05cb1ec..5d11ba716953b249e91c9c5ddb73632e39ab6880 100644 (file)
--- a/moment.js
+++ b/moment.js
         },
 
         min: deprecate(
-                 "moment().min is deprecated, use moment.min instead",
+                 "moment().min is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548",
                  function (other) {
                      other = moment.apply(null, arguments);
                      return other < this ? this : other;
          ),
 
         max: deprecate(
-                "moment().max is deprecated, use moment.max instead",
+                "moment().max is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548",
                 function (other) {
                     other = moment.apply(null, arguments);
                     return other > this ? this : other;