Commit 13fbd696 authored by Nellie McKesson's avatar Nellie McKesson
Browse files

removing all console logs

parent 0f14c97b
...@@ -13,10 +13,7 @@ class NthOfType extends Handler { ...@@ -13,10 +13,7 @@ class NthOfType extends Handler {
onRule(ruleNode, ruleItem, rulelist) { onRule(ruleNode, ruleItem, rulelist) {
let selector = csstree.generate(ruleNode.prelude); let selector = csstree.generate(ruleNode.prelude);
if (selector.match(/:(first|last|nth)-of-type/)) { if (selector.match(/:(first|last|nth)-of-type/)) {
console.log(ruleItem);
console.log(selector);
let declarations = csstree.generate(ruleNode.block); let declarations = csstree.generate(ruleNode.block);
declarations = declarations.replace(/[{}]/g,""); declarations = declarations.replace(/[{}]/g,"");
...@@ -31,7 +28,6 @@ class NthOfType extends Handler { ...@@ -31,7 +28,6 @@ class NthOfType extends Handler {
}); });
rulelist.remove(ruleItem); rulelist.remove(ruleItem);
console.log(this.selectors);
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment