aboutsummaryrefslogtreecommitdiffstats
path: root/parseLDIF.js
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2013-05-24 11:48:56 +0200
committerMatěj Cepl <mcepl@redhat.com>2013-05-24 11:48:56 +0200
commit326c4a90ace2ccfd5a51ce1090bb466832c88a68 (patch)
treedf75b545dfaab800119b4dc0d2a6d9ec98aa1533 /parseLDIF.js
parentccd8b64dbb18e19f3129f74429ac83b99c295734 (diff)
downloadparseLDIF-326c4a90ace2ccfd5a51ce1090bb466832c88a68.tar.gz
exports could be undefined
Diffstat (limited to 'parseLDIF.js')
-rw-r--r--parseLDIF.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/parseLDIF.js b/parseLDIF.js
index a79cb11..77cf3fb 100644
--- a/parseLDIF.js
+++ b/parseLDIF.js
@@ -295,6 +295,6 @@ function parseLDIF(inStr) {
return out_records;
}
-if (exports) {
+if (exports !== undefined) {
exports.parseLDIF = parseLDIF;
}