| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
All A-graded browsers now supports JSON so skip the
JSON polyfill. Krinkle investigated the current
status for 3 months on Wikimedia traffic (T141344#2784065)
with support being nearly 100%.
Bug: T141344
Change-Id: I8280faf1cbcd876ead2dafae4347b7d46e3e2acb
|
|
|
|
|
|
|
|
|
|
|
|
| |
Project link
* https://github.com/douglascrockford/JSON-js
File link
* https://github.com/douglascrockford/JSON-js/blob/c98948ae19/json2.js
Change-Id: Ifeb41140c13718162d1c0bd7a5a815acaf7bfd56
|
|
Source from https://github.com/douglascrockford/JSON-js/blob/3d7767b/json2.js
* Deprecate jquery.json which is a little dated and less efficient
because it always downloads the entire polyfill to the client
even if it isn't needed. We also can't add a skip function to
jquery.json because it exposes a different interface ($.toJSON
instead of JSON.stringify).
* Update 'mediawiki.inspect' to use 'json' instead.
* Update 'jquery.jStorage' to use 'json' instead (doesn't need
a change to its code as it looks for either JSON.stringify or
$.toJSON by design).
Change-Id: I8978be3491b08fbbfd83f1306e816b1b20f16161
|