2013-10-27 21:53:11 +00:00
|
|
|
{
|
2017-10-12 01:57:45 +00:00
|
|
|
"boss": true,
|
|
|
|
"curly": true,
|
|
|
|
"eqeqeq": true,
|
|
|
|
"eqnull": true,
|
2024-02-23 10:36:36 +00:00
|
|
|
"esversion": 6,
|
2017-10-12 01:57:45 +00:00
|
|
|
"expr": true,
|
|
|
|
"immed": true,
|
|
|
|
"noarg": true,
|
|
|
|
"nonbsp": true,
|
|
|
|
"quotmark": "single",
|
|
|
|
"undef": true,
|
|
|
|
"unused": true,
|
2013-10-27 21:53:11 +00:00
|
|
|
|
2017-10-12 01:57:45 +00:00
|
|
|
"browser": true,
|
2013-10-27 21:53:11 +00:00
|
|
|
|
2017-10-12 01:57:45 +00:00
|
|
|
"globals": {
|
|
|
|
"_": false,
|
|
|
|
"Backbone": false,
|
|
|
|
"jQuery": false,
|
|
|
|
"JSON": false,
|
|
|
|
"wp": false,
|
|
|
|
"export": false,
|
|
|
|
"module": false,
|
Emoji: Optimize emoji loader with `sessionStorage`, `willReadFrequently`, and `OffscreenCanvas`.
* Use `sessionStorage` to remember the previous results of calls to `browserSupportsEmoji()` for 1 week.
* Optimize reading from canvas by supplying the `willReadFrequently` option for the 2D context.
* When `OffscreenCanvas` is available, offload `browserSupportsEmoji()` to a web worker to prevent blocking the main thread. This is of primary benefit to Safari which does not yet support `willReadFrequently`.
* Remove obsolete support for IE11 since promises are now utilized. Nevertheless, ES3 syntax is maintained and IE11 will simply short-circuit.
Props westonruter, dmsnell, peterwilsoncc, valterlorran, flixos90, spacedmonkey, joemcgill.
Fixes #58472.
git-svn-id: https://develop.svn.wordpress.org/trunk@56074 602fd350-edb4-49c9-b593-d223f7449a82
2023-06-27 17:22:59 +00:00
|
|
|
"require": false,
|
|
|
|
"WorkerGlobalScope": false,
|
|
|
|
"self": false,
|
|
|
|
"OffscreenCanvas": false,
|
|
|
|
"Promise": false
|
2017-10-12 01:57:45 +00:00
|
|
|
}
|
2013-10-27 21:53:11 +00:00
|
|
|
}
|