diff --git a/acorn_loose.js b/acorn_loose.js index 5f3780b633..79cc15f616 100644 --- a/acorn_loose.js +++ b/acorn_loose.js @@ -198,8 +198,7 @@ this.start = start; this.end = null; } - - exports.Node = Node; + Node.prototype = acorn.Node.prototype; function SourceLocation(start) { this.start = start || token.startLoc || {line: 1, column: 0};