cleanup: Mark globals used from other modules as exported
eslint cannot figure out that those symbols are used from other modules via imports, so they trigger unused-variable errors. To fix, explicitly mark those symbols as exported. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/627
This commit is contained in:
@ -1,4 +1,7 @@
|
||||
// -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*-
|
||||
/* exported sleep, waitLeisure, createTestWindow, waitTestWindows,
|
||||
destroyTestWindows, defineScriptEvent, scriptEvent,
|
||||
collectStatistics, runPerfScript */
|
||||
|
||||
const { Gio, GLib, Meta, Shell } = imports.gi;
|
||||
const Mainloop = imports.mainloop;
|
||||
|
Reference in New Issue
Block a user