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:
Evan Welsh 2023-06-07 21:52:46 -07:00
parent 8d562ff71c
commit 1e9b906cbc
148 changed files with 716 additions and 179 deletions

View file

@ -1,10 +1,17 @@
// -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*-
/* exported PadOsd, PadOsdService */
const {
Atk, Clutter, GDesktopEnums, Gio,
GLib, GObject, Meta, Pango, Rsvg, St,
} = imports.gi;
const Atk = imports.gi.Atk;
const Clutter = imports.gi.Clutter;
const GDesktopEnums = imports.gi.GDesktopEnums;
const Gio = imports.gi.Gio;
const GLib = imports.gi.GLib;
const GObject = imports.gi.GObject;
const Meta = imports.gi.Meta;
const Pango = imports.gi.Pango;
const Rsvg = imports.gi.Rsvg;
const St = imports.gi.St;
const Signals = imports.misc.signals;
const Main = imports.ui.main;