mirror of
https://github.com/zotero/zotero.git
synced 2026-10-10 03:28:10 +00:00
Lint: Fix some missing spaces that make eslint behave annoyingly
This commit is contained in:
parent
8096e22f40
commit
00e63f0f8a
9 changed files with 9 additions and 9 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
***** END LICENSE BLOCK *****
|
||||
*/
|
||||
|
||||
Zotero.SearchConditions = new function(){
|
||||
Zotero.SearchConditions = new function () {
|
||||
this.get = get;
|
||||
this.getStandardConditions = getStandardConditions;
|
||||
this.hasOperator = hasOperator;
|
||||
|
|
|
|||
|
|
@ -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");
|
||||
|
||||
|
|
|
|||
|
|
@ -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'; });
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
***** END LICENSE BLOCK *****
|
||||
*/
|
||||
|
||||
Zotero.MIME = new function(){
|
||||
Zotero.MIME = new function () {
|
||||
this.isTextType = isTextType;
|
||||
this.getPrimaryExtension = getPrimaryExtension;
|
||||
this.sniffForBinary = sniffForBinary;
|
||||
|
|
|
|||
|
|
@ -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'];
|
||||
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
***** END LICENSE BLOCK *****
|
||||
*/
|
||||
Zotero.Prefs = new function(){
|
||||
Zotero.Prefs = new function () {
|
||||
// Privileged methods
|
||||
this.get = get;
|
||||
this.set = set;
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
***** END LICENSE BLOCK *****
|
||||
*/
|
||||
|
||||
Zotero.Schema = new function(){
|
||||
Zotero.Schema = new function () {
|
||||
this.dbInitialized = false;
|
||||
this.goToChangeLog = false;
|
||||
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ Services.scriptloader.loadSubScript("resource://zotero/polyfill.js");
|
|||
/*
|
||||
* Core functions
|
||||
*/
|
||||
(function(){
|
||||
(function () {
|
||||
// Privileged (public) methods
|
||||
this.getStorageDirectory = getStorageDirectory;
|
||||
this.debug = debug;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue