postcss-value-parser
Advanced tools
Comparing version 3.1.0 to 3.1.1
@@ -0,0 +0,0 @@ function stringifyNode(node) { |
{ | ||
"name": "postcss-value-parser", | ||
"version": "3.1.0", | ||
"version": "3.1.1", | ||
"description": "Transforms css values and at-rule params into the tree", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -112,9 +112,11 @@ [![Travis CI](https://travis-ci.org/TrySound/postcss-value-parser.svg)](https://travis-ci.org/TrySound/postcss-value-parser) | ||
Walks each node and recursively each nodes of functions. | ||
If bubble is `false` and callback returns `false` on function node then deeper walking will be prevented. | ||
Walks each provided node, recursively for each node in a function. | ||
Returning `false` in the callback will prevent traversal of deeper, nested nodes(inside a function). You can use this to walk over only the immediate children. *note: This only applies if `bubble` is `false`(default).* | ||
Returns `this` instance. | ||
- `nodes` - value-parser node or nodes | ||
- `cb(node, index, nodes)` | ||
- `bubble` walk since the deepest functions nodes | ||
- `nodes`: array - `value-parser` nodes | ||
- `cb(node, index, nodes)`: function - Function to execute for each node | ||
- `bubble`: boolean - Walk from the deepest nodes upwards | ||
@@ -121,0 +123,0 @@ ### var p = valueParser(value) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14303
141