Permalink
Browse files

Fix global leak from missing 'var'.

  • Loading branch information...
1 parent bbfb780 commit 19418a4247196134610179ac3d19ee512d2f2733 @justinlatimer justinlatimer committed Dec 21, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Parser.js
View
2 lib/Parser.js
@@ -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 19418a4

Please sign in to comment.