/usr/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/extension.js is in gnome-shell-extension-dashtodock 63-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*-
const Me = imports.misc.extensionUtils.getCurrentExtension();
const Docking = Me.imports.docking;
const Convenience = Me.imports.convenience;
// We declare this with var so it can be accessed by other extensions in
// GNOME Shell 3.26+ (mozjs52+).
var dockManager;
function init() {
Convenience.initTranslations('dashtodock');
}
function enable() {
dockManager = new Docking.DockManager();
}
function disable() {
dockManager.destroy();
dockManager=null;
}
|