From 37c77f742afff14655eb22b1a04c55160b725593 Mon Sep 17 00:00:00 2001 From: Kevin Israel Date: Mon, 7 Jul 2014 11:49:56 -0400 Subject: [PATCH] Correct deprecation warning for $.quoteString Follows-up cde08292271e. Change-Id: Ibce5d470ad96fcef8460f4759bc2bd0ccccd74ce --- resources/src/jquery.json-deprecate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) ); -- 2.20.1