Skip to content

Commit

Permalink
recovered a line of code that went lost during the partial rewrite ne…
Browse files Browse the repository at this point in the history
…eded for the CSS identifier escaping support
  • Loading branch information
dperini committed Oct 12, 2016
1 parent 1857b97 commit 29626c6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/nwmatcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -705,6 +705,7 @@
byClassRaw =
function(name, from) {
var i = -1, j = i, data = new global.Array(), element, elements = _byTag('*', from), n;
name = ' ' + (QUIRKS_MODE ? name.toLowerCase() : name) + ' ';
while ((element = elements[++i])) {
n = XML_DOCUMENT ? element.getAttribute('class') : element.className;
if (n && n.length && (' ' + (QUIRKS_MODE ? n.toLowerCase() : n).
Expand Down

0 comments on commit 29626c6

Please sign in to comment.