Skip to content

Commit c864b4e

Browse files
Bumped version to 2.1.3
1 parent 8adafda commit c864b4e

4 files changed

Lines changed: 944 additions & 1038 deletions

File tree

README.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,18 +29,23 @@ Let's compare the size of those partial builds (you could actually exclude indiv
2929

3030
## Usage
3131

32-
Get the [minified version of cash](https://raw.githubusercontent.com/kenwheeler/cash/master/dist/cash.min.js) and use it like this:
32+
Get cash from [CloudFlare](https://cdnjs.cloudflare.com/ajax/libs/cash/2.1.3/cash.min.js) or [jsDelivr](https://cdn.jsdelivr.net/npm/cash-dom@1.3.5/dist/cash.min.js) and use it like this:
3333

3434
```html
35-
<script src="/cash.min.js"></script>
35+
<script src="https://cdnjs.cloudflare.com/ajax/libs/cash/2.1.3/cash.min.js"></script>
3636
<script>
3737
$(function () {
38-
$('html').addClass('dom-loaded');
39-
$('<footer>Appended with cash</footer>').appendTo(document.body);
38+
$('html').addClass ( 'dom-loaded' );
39+
$('<footer>Appended with cash</footer>').appendTo ( document.body );
4040
});
4141
</script>
4242
```
4343

44+
Cash is also available through [NPM](http://npmjs.com) as the [`cash-dom`](https://www.npmjs.com/package/cash-dom) package:
45+
```
46+
npm install cash-dom --save-dev
47+
```
48+
4449
## Documentation
4550

4651
### $()

0 commit comments

Comments
 (0)