Skip to content

Commit

Permalink
Ruleset -> Rule
Browse files Browse the repository at this point in the history
  • Loading branch information
lahmatiy committed Jan 10, 2017
1 parent bdb670d commit 4f919d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ Context for handler an object, that contains references to some parent nodes:
- root – refers to `ast` or root node
- stylesheet – refers to closest `StyleSheet` node, it may be a top-level or at-rule block stylesheet
- atruleExpression – refers to `AtruleExpression` node if current node inside at-rule expression
- ruleset – refers to `Ruleset` node if current node inside a ruleset
- ruleset – refers to `Rule` node if current node inside a ruleset
- selector – refers to `Selector` node if current node inside a selector
- declaration – refers to `Declaration` node if current node inside a declaration
- function – refers to closest `Function` or `FunctionalPseudo` node if current node inside one of them
Expand Down Expand Up @@ -392,7 +392,7 @@ console.log(urls);

#### walkRules(ast, handler)

Same as `walk()` but visits `Ruleset` and `Atrule` nodes only.
Same as `walk()` but visits `Rule` and `Atrule` nodes only.

#### walkRulesRight(ast, handler)

Expand Down

0 comments on commit 4f919d3

Please sign in to comment.