Correct deprecation warning for $.quoteString
authorKevin Israel <pleasestand@live.com>
Mon, 7 Jul 2014 15:49:56 +0000 (11:49 -0400)
committerKevin Israel <pleasestand@live.com>
Mon, 7 Jul 2014 15:54:28 +0000 (11:54 -0400)
Follows-up cde08292271e.

Change-Id: Ibce5d470ad96fcef8460f4759bc2bd0ccccd74ce

resources/src/jquery.json-deprecate.js

index 485d9c0..915cd85 100644 (file)
@@ -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 ) );