Permalink
Browse files

Merge pull request #4 from justinlatimer/master

Fix global leak from missing 'var'
  • Loading branch information...
2 parents bbfb780 + 19418a4 commit 14b264045d8883a15e5e149a50670d491528663b @Floby committed Dec 21, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Parser.js
View
@@ -95,7 +95,7 @@ Parser.prototype._newToken = function _newToken(token, type) {
// define the function allowing the handler to add other handlers
// after itself (no support for arrays)
- queue = this._queue;
+ var queue = this._queue;
function next() {
queue.unshift.apply(queue, arguments);
}

0 comments on commit 14b2640

Please sign in to comment.