Permalink
Browse files

fix: not ignoring pseudos

 * fix pseudos test to actually be a test
 * closes #32
  • Loading branch information...
1 parent 0a99f0c commit dd8e73256331914a52ff737c75fe2b79d8240f99 @andrewrk andrewrk committed Mar 26, 2013
Showing with 5 additions and 1 deletion.
  1. +1 −1 lib/juice.js
  2. +4 −0 test/cases/ignore-pseudos.css
View
@@ -76,7 +76,7 @@ function inlineDocument(document, css) {
if (subSel.pseudos) {
for (var j = 0; j < subSel.pseudos.length; ++j) {
var subSelPseudo = subSel.pseudos[j];
- if (juice.ignoredPseudos.indexOf(subSelPseudo.key) >= 0) return;
+ if (juice.ignoredPseudos.indexOf(subSelPseudo.name) >= 0) return;
}
}
}
@@ -5,3 +5,7 @@ a {
a:hover {
text-decoration: none;
}
+
+a:link, a:visited {
+ font-weight: bold;
+}

0 comments on commit dd8e732

Please sign in to comment.