mirror of
https://github.com/less/less.js.git
synced 2026-01-23 14:18:00 -05:00
Removing useless comments.
This commit is contained in:
@@ -303,8 +303,6 @@ tree.Ruleset.prototype = {
|
||||
|
||||
for (i = 0; i < this.rules.length; i++) {
|
||||
rule = this.rules[i];
|
||||
// console.log(rule.type);
|
||||
// if (rule.rules || (rule instanceof tree.Media) || rule instanceof tree.Directive || (this.root && rule instanceof tree.Comment)) {
|
||||
if (isRulesetLikeNode(rule, this.root)) {
|
||||
rulesetNodes.push(rule);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user