From: Kevin Israel Date: Mon, 7 Jul 2014 15:49:56 +0000 (-0400) Subject: Correct deprecation warning for $.quoteString X-Git-Tag: 1.31.0-rc.0~15072^2 X-Git-Url: http://git.cyclocoop.org/data/Fool?a=commitdiff_plain;h=37c77f742afff14655eb22b1a04c55160b725593;p=lhc%2Fweb%2Fwiklou.git Correct deprecation warning for $.quoteString Follows-up cde08292271e. Change-Id: Ibce5d470ad96fcef8460f4759bc2bd0ccccd74ce --- diff --git a/resources/src/jquery.json-deprecate.js b/resources/src/jquery.json-deprecate.js index 485d9c0bb2..915cd85abd 100644 --- a/resources/src/jquery.json-deprecate.js +++ b/resources/src/jquery.json-deprecate.js @@ -2,5 +2,5 @@ mw.log.deprecate( $, 'toJSON', $.toJSON, 'Use JSON.stringify instead (module "json" for polyfill).' ); mw.log.deprecate( $, 'evalJSON', $.evalJSON, 'Use JSON.parse instead (module "json" for polyfill).' ); mw.log.deprecate( $, 'secureEvalJSON', $.secureEvalJSON, 'Use JSON.parse instead (module "json" for polyfill).' ); - mw.log.deprecate( $, 'quoteString', $.quoteString, 'Use JSON.parse instead (module "json" for polyfill).' ); + mw.log.deprecate( $, 'quoteString', $.quoteString, 'Use JSON.stringify instead (module "json" for polyfill).' ); }( mediaWiki, jQuery ) );