Merge pull request #9244 from Snuffleupagus/firefox-DEFAULT_PREFERENCES-eslint-disable-semi
[Firefox addon] Temporarily disable the ESLint `semi` rule, around the `DEFAULT_PREFERENCES` declaration, to prevent mozilla-central test errors
This commit is contained in:
commit
518da6c6a9
4
extensions/firefox/bootstrap.js
vendored
4
extensions/firefox/bootstrap.js
vendored
@ -45,11 +45,13 @@ function log(str) {
|
||||
}
|
||||
|
||||
function initializeDefaultPreferences() {
|
||||
/* eslint-disable semi */
|
||||
var DEFAULT_PREFERENCES =
|
||||
//#include ../../web/default_preferences.json
|
||||
//#if false
|
||||
"end of DEFAULT_PREFERENCES";
|
||||
"end of DEFAULT_PREFERENCES"
|
||||
//#endif
|
||||
/* eslint-enable semi */
|
||||
|
||||
var defaultBranch = Services.prefs.getDefaultBranch(EXT_PREFIX + ".");
|
||||
var defaultValue;
|
||||
|
@ -79,11 +79,13 @@ function isDefaultHandler() {
|
||||
}
|
||||
|
||||
function initializeDefaultPreferences() {
|
||||
/* eslint-disable semi */
|
||||
var DEFAULT_PREFERENCES =
|
||||
//#include ../../../web/default_preferences.json
|
||||
//#if false
|
||||
"end of DEFAULT_PREFERENCES";
|
||||
"end of DEFAULT_PREFERENCES"
|
||||
//#endif
|
||||
/* eslint-enable semi */
|
||||
|
||||
var defaultBranch = Services.prefs.getDefaultBranch(PREF_PREFIX + ".");
|
||||
var defaultValue;
|
||||
|
@ -33,11 +33,13 @@ XPCOMUtils.defineLazyServiceGetter(Svc, "mime",
|
||||
"@mozilla.org/mime;1",
|
||||
"nsIMIMEService");
|
||||
|
||||
/* eslint-disable semi */
|
||||
var DEFAULT_PREFERENCES =
|
||||
//#include ../../../web/default_preferences.json
|
||||
//#if false
|
||||
"end of DEFAULT_PREFERENCES";
|
||||
"end of DEFAULT_PREFERENCES"
|
||||
//#endif
|
||||
/* eslint-enable semi */
|
||||
|
||||
var PdfjsChromeUtils = {
|
||||
// For security purposes when running remote, we restrict preferences
|
||||
|
Loading…
x
Reference in New Issue
Block a user