Made the acorn parser able to run outside of the Cappuccino world

This commit is contained in:
Martin Carlberg
2013-02-24 22:25:00 +01:00
parent 529e703ddd
commit 340f1e3258
+1 -1
View File
@@ -26,7 +26,7 @@
//
// https://github.com/mrcarlberg/acorn.git
if (!exports.acorn) {
if (typeof exports != "undefined" && !exports.acorn) {
exports.acorn = {};
exports.acorn.walk = {};
}