mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-09-20 01:13:29 +00:00
Made the acorn parser able to run outside of the Cappuccino world
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
//
|
||||
// https://github.com/mrcarlberg/acorn.git
|
||||
|
||||
if (!exports.acorn) {
|
||||
if (typeof exports != "undefined" && !exports.acorn) {
|
||||
exports.acorn = {};
|
||||
exports.acorn.walk = {};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user