Skip to content

Commit

Permalink
Remove embarassing trace
Browse files Browse the repository at this point in the history
  • Loading branch information
Inviz committed Nov 11, 2011
1 parent 8f90c7a commit baeeca4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Source/Module/Ambient/Selectors.js
Expand Up @@ -181,16 +181,13 @@ var Pseudos = LSD.Module.Selectors.Pseudos = {
},

'only-of-class': function(klass){
console.log(this, klass)
var bits = ' ' + klass + ' ';
for (var node = this; node = node.previousSibling;)
if ((' ' + node.className + ' ').indexOf(bits) > -1)
return false;
console.log(this, klass)
for (var node = this; node = node.nextSibling;)
if ((' ' + node.className + ' ').indexOf(bits) > -1)
return false;
console.log(this, klass)
return true;
}
}
Expand Down

0 comments on commit baeeca4

Please sign in to comment.