Skip to content
This repository was archived by the owner on Mar 31, 2025. It is now read-only.

Commit 244100c

Browse files
committed
Update README [skip ci]
1 parent fb3c698 commit 244100c

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,14 @@
33
**A very small DOM library inspired by [jQuery](https://jquery.com) that smooths over some of the rough edges in JavaScript's native DOM querying methods.**
44

55
[![npm](https://img.shields.io/npm/v/@jgarber/cashcash.svg?style=for-the-badge)](https://www.npmjs.com/package/@jgarber/cashcash)
6-
[![Bower](https://img.shields.io/bower/v/cashcash.svg?style=for-the-badge)](https://bower.io/search/?q=cashcash)
76
[![Downloads](https://img.shields.io/npm/dt/@jgarber/cashcash.svg?style=for-the-badge)](https://www.npmjs.com/package/@jgarber/cashcash)
87
[![Build](https://img.shields.io/travis/jgarber623/CashCash.svg?style=for-the-badge)](https://travis-ci.org/jgarber623/CashCash)
98
[![Maintainability](https://img.shields.io/codeclimate/maintainability/jgarber623/CashCash.svg?style=for-the-badge)](https://codeclimate.com/github/jgarber623/CashCash)
109
[![Coverage](https://img.shields.io/codeclimate/coverage/jgarber623/CashCash.svg?style=for-the-badge)](https://codeclimate.com/github/jgarber623/CashCash)
1110

1211
### Key Features
1312

14-
- Uses JavaScript's native [querySelectorAll](https://developer.mozilla.org/en-US/docs/Web/API/Document/querySelectorAll) method
13+
- Uses JavaScript's native [`querySelectorAll`](https://developer.mozilla.org/en-US/docs/Web/API/Document/querySelectorAll) method
1514
- Dependency-free
1615
- AMD/Node module support
1716

@@ -20,15 +19,15 @@ CashCash is also really tiny:
2019
<table>
2120
<tbody>
2221
<tr>
23-
<th>Uncompressed</th>
22+
<th align="left">Uncompressed</th>
2423
<td>1,429 bytes</td>
2524
</tr>
2625
<tr>
27-
<th>Minified</th>
26+
<th align="left">Minified</th>
2827
<td>888 bytes</td>
2928
</tr>
3029
<tr>
31-
<th>Minified and gzipped</th>
30+
<th align="left">Minified and gzipped</th>
3231
<td>523 bytes</td>
3332
</tr>
3433
</tbody>
@@ -60,7 +59,7 @@ var divs = CashCash('div'); // select all `<div>`s on a page
6059
var paragraphs = CashCash('p', divs[0]); // select all `<p>`s within the first `<div>`
6160
```
6261

63-
Under the covers, CashCash uses the browser's native [querySelectorAll](https://developer.mozilla.org/en-US/docs/Web/API/Document/querySelectorAll) method and therefore supports the same CSS selectors.
62+
Under the covers, CashCash uses the browser's native [`querySelectorAll`](https://developer.mozilla.org/en-US/docs/Web/API/Document/querySelectorAll) method and therefore supports the same CSS selectors.
6463

6564
When selecting DOM nodes based on the provided `selector` string, CashCash will store references to those selected DOM elements on itself in an array like fashion for easy access to individual DOM nodes.
6665

@@ -170,7 +169,7 @@ console.log(divs instanceof CashCash); // logs `true`
170169

171170
## Browser Support
172171

173-
CashCash works in all modern browsers. The library makes use of the [querySelectorAll method](https://developer.mozilla.org/en-US/docs/Web/API/Document/querySelectorAll) which first appeared in Internet Explorer in version 8. To avoid throwing JavaScript errors in browsers that don't support this method, you can [cut the mustard](http://responsivenews.co.uk/post/18948466399/cutting-the-mustard):
172+
CashCash works in all modern browsers. The library makes use of the [`querySelectorAll` method](https://developer.mozilla.org/en-US/docs/Web/API/Document/querySelectorAll) which first appeared in Internet Explorer in version 8. To avoid throwing JavaScript errors in browsers that don't support this method, you can [cut the mustard](http://responsivenews.co.uk/post/18948466399/cutting-the-mustard):
174173

175174
```js
176175
if (document.querySelector) {

0 commit comments

Comments
 (0)