js: Port to modules

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1499>
This commit is contained in:
Evan Welsh
2023-07-10 02:53:00 -07:00
committed by Florian Müllner
parent d9198317ae
commit a751e213f6
162 changed files with 2183 additions and 2336 deletions

View File

@ -1,12 +1,9 @@
// -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*-
/* exported Indicator */
import GObject from 'gi://GObject';
import Shell from 'gi://Shell';
const GObject = imports.gi.GObject;
const Shell = imports.gi.Shell;
import {SystemIndicator} from '../quickSettings.js';
const {SystemIndicator} = imports.ui.quickSettings;
var Indicator = GObject.registerClass(
export const Indicator = GObject.registerClass(
class Indicator extends SystemIndicator {
constructor() {
super();