Expose Zotero.Notes for translation-server/Node
Needed for CSL JSON export of notes, which is pointless but better than throwing an error, I guess.
This commit is contained in:
parent
559881b896
commit
b58def7bc4
1 changed files with 3 additions and 0 deletions
|
@ -62,3 +62,6 @@ Zotero.Notes = new function() {
|
|||
}
|
||||
}
|
||||
|
||||
if (typeof process === 'object' && process + '' === '[object process]'){
|
||||
module.exports = Zotero.Notes;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue