From 1c47d21937643bb5655e36c1b14a0f10ea3d6d45 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Thu, 13 Dec 2018 02:06:10 -0500 Subject: [PATCH] Expose Zotero.Cite for translation-server/Node --- chrome/content/zotero/xpcom/cite.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/chrome/content/zotero/xpcom/cite.js b/chrome/content/zotero/xpcom/cite.js index cc231316cd..d6ca449a59 100644 --- a/chrome/content/zotero/xpcom/cite.js +++ b/chrome/content/zotero/xpcom/cite.js @@ -692,3 +692,7 @@ Zotero.Cite.Locale = { } } }; + +if (typeof process === 'object' && process + '' === '[object process]'){ + module.exports = Zotero.Cite; +}