Lint: Fix some missing spaces that make eslint behave annoyingly

This commit is contained in:
Dan Stillman 2023-04-21 05:44:17 -04:00
parent 8096e22f40
commit 00e63f0f8a
9 changed files with 9 additions and 9 deletions

View file

@ -23,7 +23,7 @@
***** END LICENSE BLOCK *****
*/
Zotero.Attachments = new function(){
Zotero.Attachments = new function () {
// Keep in sync with Zotero.Schema.integrityCheck() and this.linkModeToName()
this.LINK_MODE_IMPORTED_FILE = 0;
this.LINK_MODE_IMPORTED_URL = 1;

View file

@ -23,7 +23,7 @@
***** END LICENSE BLOCK *****
*/
Zotero.SearchConditions = new function(){
Zotero.SearchConditions = new function () {
this.get = get;
this.getStandardConditions = getStandardConditions;
this.hasOperator = hasOperator;

View file

@ -27,7 +27,7 @@
* Functions for reading files
* @namespace
*/
Zotero.File = new function(){
Zotero.File = new function () {
Components.utils.import("resource://gre/modules/NetUtil.jsm");
Components.utils.import("resource://gre/modules/FileUtils.jsm");

View file

@ -23,7 +23,7 @@
***** END LICENSE BLOCK *****
*/
Zotero.Fulltext = Zotero.FullText = new function(){
Zotero.Fulltext = Zotero.FullText = new function () {
this.isCachedMIMEType = isCachedMIMEType;
this.__defineGetter__("pdfConverterCacheFile", function () { return '.zotero-ft-cache'; });

View file

@ -23,7 +23,7 @@
***** END LICENSE BLOCK *****
*/
Zotero.MIME = new function(){
Zotero.MIME = new function () {
this.isTextType = isTextType;
this.getPrimaryExtension = getPrimaryExtension;
this.sniffForBinary = sniffForBinary;

View file

@ -25,7 +25,7 @@
"use strict";
Zotero.Notifier = new function(){
Zotero.Notifier = new function () {
// Options that apply to an entire event, not a specific object
this.EVENT_LEVEL_OPTIONS = ['autoSyncDelay', 'skipAutoSync'];

View file

@ -22,7 +22,7 @@
***** END LICENSE BLOCK *****
*/
Zotero.Prefs = new function(){
Zotero.Prefs = new function () {
// Privileged methods
this.get = get;
this.set = set;

View file

@ -23,7 +23,7 @@
***** END LICENSE BLOCK *****
*/
Zotero.Schema = new function(){
Zotero.Schema = new function () {
this.dbInitialized = false;
this.goToChangeLog = false;

View file

@ -38,7 +38,7 @@ Services.scriptloader.loadSubScript("resource://zotero/polyfill.js");
/*
* Core functions
*/
(function(){
(function () {
// Privileged (public) methods
this.getStorageDirectory = getStorageDirectory;
this.debug = debug;