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 @@
|
||||
// A widget showing the user avatar and name
|
||||
/* exported UserWidget */
|
||||
|
||||
const { Clutter, GLib, GObject, St } = imports.gi;
|
||||
const Clutter = imports.gi.Clutter;
|
||||
const GLib = imports.gi.GLib;
|
||||
const GObject = imports.gi.GObject;
|
||||
const St = imports.gi.St;
|
||||
|
||||
const Params = imports.misc.params;
|
||||
|
||||
|
Reference in New Issue
Block a user