Add Zotero.isSourceBuild
This should be used sparingly, since it risks missing problems in released builds.
This commit is contained in:
parent
1eb888d026
commit
12045a7cf8
1 changed files with 1 additions and 0 deletions
|
@ -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"]
|
||||
|
|
Loading…
Reference in a new issue