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:
@ -21,8 +21,8 @@ const Util = imports.misc.util;
|
||||
|
||||
const SEARCH_PROVIDERS_SCHEMA = 'org.gnome.desktop.search-providers';
|
||||
|
||||
const MAX_LIST_SEARCH_RESULTS_ROWS = 5;
|
||||
const MAX_GRID_SEARCH_RESULTS_ROWS = 1;
|
||||
var MAX_LIST_SEARCH_RESULTS_ROWS = 5;
|
||||
var MAX_GRID_SEARCH_RESULTS_ROWS = 1;
|
||||
|
||||
var MaxWidthBin = new Lang.Class({
|
||||
Name: 'MaxWidthBin',
|
||||
|
Reference in New Issue
Block a user