From 12045a7cf82aec83435a707577ae6d841ae5e42b Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Wed, 21 Apr 2021 21:37:18 -0400 Subject: [PATCH] Add Zotero.isSourceBuild This should be used sparingly, since it risks missing problems in released builds. --- chrome/content/zotero/xpcom/zotero.js | 1 + 1 file changed, 1 insertion(+) diff --git a/chrome/content/zotero/xpcom/zotero.js b/chrome/content/zotero/xpcom/zotero.js index 52199c41e7..07ff35f031 100644 --- a/chrome/content/zotero/xpcom/zotero.js +++ b/chrome/content/zotero/xpcom/zotero.js @@ -231,6 +231,7 @@ Services.scriptloader.loadSubScript("resource://zotero/polyfill.js"); Zotero.isDevBuild = Zotero.version.includes('beta') || Zotero.version.includes('dev') || Zotero.version.includes('SOURCE'); + Zotero.isSourceBuild = Zotero.version.includes('SOURCE'); // OS platform var win = Components.classes["@mozilla.org/appshell/appShellService;1"]