From 326c4a90ace2ccfd5a51ce1090bb466832c88a68 Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Fri, 24 May 2013 11:48:56 +0200 Subject: exports could be undefined --- parseLDIF.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'parseLDIF.js') 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; } -- cgit