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:
Dan Stillman 2018-12-21 02:40:18 -05:00
parent 559881b896
commit b58def7bc4

View file

@ -62,3 +62,6 @@ Zotero.Notes = new function() {
}
}
if (typeof process === 'object' && process + '' === '[object process]'){
module.exports = Zotero.Notes;
}