Add Zotero.isDevBuild
This commit is contained in:
parent
bb46d72fd1
commit
c7076ab935
1 changed files with 1 additions and 0 deletions
|
@ -213,6 +213,7 @@ Services.scriptloader.loadSubScript("resource://zotero/polyfill.js");
|
||||||
var version = yield deferred.promise;
|
var version = yield deferred.promise;
|
||||||
}
|
}
|
||||||
Zotero.version = version;
|
Zotero.version = version;
|
||||||
|
Zotero.isDevBuild = Zotero.version.includes('beta') || Zotero.version.includes('SOURCE');
|
||||||
|
|
||||||
// OS platform
|
// OS platform
|
||||||
var win = Components.classes["@mozilla.org/appshell/appShellService;1"]
|
var win = Components.classes["@mozilla.org/appshell/appShellService;1"]
|
||||||
|
|
Loading…
Reference in a new issue