From c7076ab935d44f5768763522d15fa70b2b4368d4 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Thu, 9 Aug 2018 04:36:36 -0400 Subject: [PATCH] Add Zotero.isDevBuild --- 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 f343c599f5..4c555ba76c 100644 --- a/chrome/content/zotero/xpcom/zotero.js +++ b/chrome/content/zotero/xpcom/zotero.js @@ -213,6 +213,7 @@ Services.scriptloader.loadSubScript("resource://zotero/polyfill.js"); var version = yield deferred.promise; } Zotero.version = version; + Zotero.isDevBuild = Zotero.version.includes('beta') || Zotero.version.includes('SOURCE'); // OS platform var win = Components.classes["@mozilla.org/appshell/appShellService;1"]