Merge "Correct deprecation warning for $.quoteString"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Mon, 7 Jul 2014 16:30:24 +0000 (16:30 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Mon, 7 Jul 2014 16:30:24 +0000 (16:30 +0000)
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 ) );