Add Zotero.isDevBuild

This commit is contained in:
Dan Stillman 2018-08-09 04:36:36 -04:00
parent bb46d72fd1
commit c7076ab935

View file

@ -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"]