From: Iskren Chernev Date: Thu, 1 May 2014 17:46:06 +0000 (-0700) Subject: Add issue link in deprecation message X-Git-Tag: 2.7.0~22^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b85100ff34a67de5dac37a0b0c06d330be3006e;p=thirdparty%2Fmoment.git Add issue link in deprecation message --- diff --git a/moment.js b/moment.js index acf57da09..5d11ba716 100644 --- a/moment.js +++ b/moment.js @@ -2096,7 +2096,7 @@ }, 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; @@ -2104,7 +2104,7 @@ ), 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;