Skip to content

Commit

Permalink
Fix global leak from missing 'var'.
Browse files Browse the repository at this point in the history
  • Loading branch information
justinlatimer committed Dec 21, 2012
1 parent bbfb780 commit 19418a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Parser.js
Expand Up @@ -95,7 +95,7 @@ Parser.prototype._newToken = function _newToken(token, type) {


// define the function allowing the handler to add other handlers // define the function allowing the handler to add other handlers
// after itself (no support for arrays) // after itself (no support for arrays)
queue = this._queue; var queue = this._queue;
function next() { function next() {
queue.unshift.apply(queue, arguments); queue.unshift.apply(queue, arguments);
} }
Expand Down

0 comments on commit 19418a4

Please sign in to comment.