Skip to content

Commit

Permalink
Update API.md processor example
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathantneal committed Dec 22, 2018
1 parent dec5d31 commit 3838c63
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion API.md
Expand Up @@ -17,8 +17,11 @@ Creates a new `processor` instance

```js
const processor = parser();
```

Or, with optional transform function

// or, with optional transform function
```js
const transform = selectors => {
selectors.walkUniversals(selector => {
selector.remove();
Expand Down

0 comments on commit 3838c63

Please sign in to comment.