Skip to content

Commit

Permalink
Add toArray note to README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jgarber623 committed Mar 31, 2018
1 parent 2eab827 commit 529c2e5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ CashCash('p').toArray().forEach(function(el) {
});
```

**Spring 2018 update:** MDN shows that most browsers have implemented [`NodeList.forEach()`](https://developer.mozilla.org/en-US/docs/Web/API/NodeList/forEach). CashCash will include the `toArray()` method for the forseeable future.

#### `selector`

As best as possible, CashCash keeps track of the selector used in a given query, making it available to you by calling:
Expand Down

0 comments on commit 529c2e5

Please sign in to comment.