Fix issue in Acorn that breaks Node support.

This commit is contained in:
Jürg Lehni 2013-05-07 22:32:43 -07:00
parent 9cca6d8a00
commit 0fe431adfb
2 changed files with 3 additions and 3 deletions

2
lib/acorn-min.js vendored

File diff suppressed because one or more lines are too long

View file

@ -23,13 +23,13 @@
(function(mod) {
if (typeof exports == "object" && typeof module == "object") return mod(exports); // CommonJS
if (typeof define == "function" && define.amd) return define(["exports"], mod); // AMD
mod(self.acorn || (self.acorn = {})); // Plain browser env
mod(this.acorn || (this.acorn = {})); // Plain browser env
})(function(exports) {
"use strict";
exports.version = "0.2.01";
// The main exported interface (under `self.acorn` when in the
// The main exported interface (under `this.acorn` when in the
// browser) is a `parse` function that takes a code string and
// returns an abstract syntax tree as specified by [Mozilla parser
// API][api], with the caveat that the SpiderMonkey-specific syntax