Export ZOTERO_CONFIG when required as CommonJS
This commit is contained in:
parent
892b37db8b
commit
31395e9516
1 changed files with 5 additions and 1 deletions
|
@ -28,4 +28,8 @@ var ZOTERO_CONFIG = {
|
||||||
CONNECTORS_URL: "https://www.zotero.org/download/connectors"
|
CONNECTORS_URL: "https://www.zotero.org/download/connectors"
|
||||||
};
|
};
|
||||||
|
|
||||||
EXPORTED_SYMBOLS = ["ZOTERO_CONFIG"];
|
if (typeof process === 'object' && process + '' === '[object process]'){
|
||||||
|
module.exports = ZOTERO_CONFIG;
|
||||||
|
} else {
|
||||||
|
EXPORTED_SYMBOLS = ["ZOTERO_CONFIG"];
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue