js: Split gi imports to be on new lines to prepare for ES modules
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2794>
This commit is contained in:
@ -3,7 +3,10 @@
|
||||
destroyTestWindows, defineScriptEvent, scriptEvent,
|
||||
collectStatistics, runPerfScript, disableHelperAutoExit */
|
||||
|
||||
const { Gio, GLib, Meta, Shell } = imports.gi;
|
||||
const Gio = imports.gi.Gio;
|
||||
const GLib = imports.gi.GLib;
|
||||
const Meta = imports.gi.Meta;
|
||||
const Shell = imports.gi.Shell;
|
||||
|
||||
const Config = imports.misc.config;
|
||||
const Main = imports.ui.main;
|
||||
|
Reference in New Issue
Block a user