gnome-shell/subprojects/extensions-app/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
..
misc extensions-app: Move Extensions app to new subproject 2020-03-27 23:33:30 +00:00
gnome-shell-extension-prefs.in extensions-app: Move Extensions app to new subproject 2020-03-27 23:33:30 +00:00
main.js JS: migrate from the global window to globalThis 2020-04-26 19:07:02 -07:00
meson.build extensions-app: Move Extensions app to new subproject 2020-03-27 23:33:30 +00:00
org.gnome.Extensions.in extensions-app: Move Extensions app to new subproject 2020-03-27 23:33:30 +00:00
org.gnome.Extensions.src.gresource.xml extensions-app: Move Extensions app to new subproject 2020-03-27 23:33:30 +00:00