mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
tests/shell: Also import built-in modules as modules
The "System" module is provided by gjs itself, and also available as module. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2836>
This commit is contained in:
parent
0929b2a307
commit
b0384bee99
1 changed files with 1 additions and 1 deletions
|
|
@ -1,7 +1,7 @@
|
|||
// -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*-
|
||||
/* eslint camelcase: ["error", { properties: "never", allow: ["^script_", "^malloc", "^glx", "^clutter"] }] */
|
||||
|
||||
const System = imports.system;
|
||||
import System from 'system';
|
||||
|
||||
const Main = imports.ui.main;
|
||||
const Scripting = imports.ui.scripting;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue