Skip to content

Commit

Permalink
Merge branch pull request 2619
Browse files Browse the repository at this point in the history
* pr/2619:
  Fix: ReferenceError: assignment to undeclared variable currentExpression
  • Loading branch information
SergioCrisostomo committed Jun 30, 2014
2 parents 3cdfb9d + a53d6a9 commit 8a3d562
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Slick/Slick.Finder.js
Expand Up @@ -568,7 +568,7 @@ local.matchNode = function(node, selector){
if (!parsed) return true;

// simple (single) selectors
var expressions = parsed.expressions, simpleExpCounter = 0, i;
var expressions = parsed.expressions, simpleExpCounter = 0, i, currentExpression;
for (i = 0; (currentExpression = expressions[i]); i++){
if (currentExpression.length == 1){
var exp = currentExpression[0];
Expand Down

0 comments on commit 8a3d562

Please sign in to comment.