From 4ecbce0412780a7bd7ae4d6c178535d7ad19c354 Mon Sep 17 00:00:00 2001 From: Alain Borel Date: Sun, 24 Mar 2024 14:31:48 +0100 Subject: [PATCH] code formatting fixes --- src/bootstrap.js | 4 ++-- src/manifest.json | 4 ++-- src/updates.json => updates.json | 0 3 files changed, 4 insertions(+), 4 deletions(-) rename src/updates.json => updates.json (100%) diff --git a/src/bootstrap.js b/src/bootstrap.js index 20a7b1b..b270d45 100644 --- a/src/bootstrap.js +++ b/src/bootstrap.js @@ -10,13 +10,13 @@ function install() { async function startup({ id, version, rootURI }) { log("Starting Zotero OCR"); - + Zotero.PreferencePanes.register({ pluginID: 'zotero-ocr@bib.uni-mannheim.de', src: rootURI + 'prefs.xhtml', //scripts: [rootURI + 'prefs.js'] }); - + Services.scriptloader.loadSubScript(rootURI + 'zotero-ocr.js'); ZoteroOCR.init({ id, version, rootURI }); ZoteroOCR.addToAllWindows(); diff --git a/src/manifest.json b/src/manifest.json index ac6877c..2e9fe27 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -11,9 +11,9 @@ "applications": { "zotero": { "id": "zotero-ocr@bib.uni-mannheim.de", - "update_url": "https://raw.githubusercontent.com/UB-Mannheim/zotero-ocr/master/update.json", + "update_url": "https://raw.githubusercontent.com/UB-Mannheim/zotero-ocr/master/updates.json", "strict_min_version": "6.999", "strict_max_version": "7.0.*" } } -} \ No newline at end of file +} diff --git a/src/updates.json b/updates.json similarity index 100% rename from src/updates.json rename to updates.json