gnome-shell/js
Andy Holmes 3dc4f01113
JS: migrate from the global window to globalThis
As of mozjs68 (gjs-1.64) `globalThis` is recommended over `window` and
it makes more sense in this context anyways. Migrate the few instances
of `window` we use and adjust the eslint configuration.

`window` will continue to resolve to `globalThis`, so this won't affect
extensions or other downstream users.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2322

closes #2322
2020-04-26 19:07:02 -07:00
..
dbusServices dbusServices/extensions: Handle parentWindow parameter 2020-03-26 18:32:30 +01:00
gdm authPrompt: Grab key focus when making entry sensitive 2020-04-25 14:54:07 +00:00
misc systemActions: include ASCII alternatives in search index 2020-04-25 13:55:20 +01:00
perf cleanup: Require "dangling" commas 2019-11-11 19:25:14 +00:00
portalHelper js: Don't use templates in files with translations 2020-02-17 23:20:40 +01:00
ui JS: migrate from the global window to globalThis 2020-04-26 19:07:02 -07:00
js-resources.gresource.xml js: Drop tweener.js 2020-04-15 13:25:14 +00:00
meson.build extensions-app: Move Extensions app to new subproject 2020-03-27 23:33:30 +00:00
portal-resources.gresource.xml js: Remove unused files from resources 2020-03-09 13:18:48 +00:00