mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
Define externally accessible contants with 'var' instead of 'const'
Just as we did with classes, define other constants that are (or may be) used from other modules with 'var' to cut down on warnings. https://bugzilla.gnome.org/show_bug.cgi?id=785084
This commit is contained in:
parent
2582d16ca7
commit
033277b68f
70 changed files with 255 additions and 255 deletions
|
|
@ -15,7 +15,7 @@ const SETTING_START_APP = 'autorun-x-content-start-app';
|
|||
const SETTING_IGNORE = 'autorun-x-content-ignore';
|
||||
const SETTING_OPEN_FOLDER = 'autorun-x-content-open-folder';
|
||||
|
||||
const AutorunSetting = {
|
||||
var AutorunSetting = {
|
||||
RUN: 0,
|
||||
IGNORE: 1,
|
||||
FILES: 2,
|
||||
|
|
@ -378,4 +378,4 @@ var AutorunNotification = new Lang.Class({
|
|||
}
|
||||
});
|
||||
|
||||
const Component = AutorunManager;
|
||||
var Component = AutorunManager;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue