mediawiki.inspect: use $.toJSON & add workaround for FF oddity
authorOri Livneh <ori@wikimedia.org>
Thu, 24 Oct 2013 00:37:21 +0000 (17:37 -0700)
committerOri Livneh <ori@wikimedia.org>
Thu, 24 Oct 2013 00:37:21 +0000 (17:37 -0700)
commit348de7a7b8e2b11c2de192be9d3c94641f8cfb69
tree70c6b10a5b171d20187da72d9be99724e6133e8b
parentcd6bc6116bcf6a98d4f1d242734172c3dcf450b1
mediawiki.inspect: use $.toJSON & add workaround for FF oddity

* Use $.toJSON rather than JSON.stringify. Make mediawiki.inspect depend on
  jquery.json.
* Firefox doesn't define a console.table, but doesn't throw an exception either
  if you attempt to invoke it. Use Function.prototype#call to call Firefox's
  bluff.

Change-Id: Ib45487d10488f08a98d9635ab9a2a9212e9ef69f
resources/Resources.php
resources/mediawiki/mediawiki.inspect.js