Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added a missing dash sign to enforce matching to keep in sync with QS…

…A-less
  • Loading branch information...
commit cdbb658f03ea9841ed42c6a38ed17944906421ea 1 parent beb1597
@dperini authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/nwmatcher.js
View
2  src/nwmatcher.js
@@ -1110,7 +1110,7 @@
n = /only/i.test(match[1]) ? 'previous' : 'next';
b = /first|last/i.test(match[1]);
- type = /of-type/i.test(match[1]) ? '&&n.nodeName!=e.nodeName' : '&&n.nodeName<"@"';
+ type = /-of-type/i.test(match[1]) ? '&&n.nodeName!=e.nodeName' : '&&n.nodeName<"@"';
source = 'if(e!==h){' +
( 'n=e;while((n=n.' + a + 'Sibling)' + type + ');if(!n){' + (b ? source :
Please sign in to comment.
Something went wrong with that request. Please try again.