diff --git a/Objective-J/acorn.js b/Objective-J/acorn.js index 92be0bfb6..7ba3b6bf6 100644 --- a/Objective-J/acorn.js +++ b/Objective-J/acorn.js @@ -26,7 +26,7 @@ // // https://github.com/mrcarlberg/acorn.git -if (!exports.acorn) { +if (typeof exports != "undefined" && !exports.acorn) { exports.acorn = {}; exports.acorn.walk = {}; }