From 4eeae880b6c20d0770ab5b6578727da18fa1dcbe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Hanol?= Date: Sat, 21 May 2016 12:49:29 +0200 Subject: [PATCH] fix deprecation comment in momentjs --- lib/javascripts/moment.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/javascripts/moment.js b/lib/javascripts/moment.js index d5e925c1d..7f1d25a4c 100644 --- a/lib/javascripts/moment.js +++ b/lib/javascripts/moment.js @@ -1171,10 +1171,7 @@ } utils_hooks__hooks.createFromInputFallback = deprecate( - 'moment construction falls back to js Date. This is ' + - 'discouraged and will be removed in upcoming major ' + - 'release. Please refer to ' + - 'https://github.com/moment/moment/issues/1407 for more info.', + 'moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to https://github.com/moment/moment/issues/1407 for more info.', function (config) { config._d = new Date(config._i + (config._useUTC ? ' UTC' : '')); }