|
10 | 10 |
|
11 | 11 | - Uses JavaScript's native [`querySelectorAll`](https://developer.mozilla.org/en-US/docs/Web/API/Document/querySelectorAll) method |
12 | 12 | - Dependency-free |
13 | | -- ES2015/AMD/Node module support |
| 13 | +- JavaScript module (ESM), CommonJS, and browser global (`window.TemplateTemplate`) support |
14 | 14 |
|
15 | 15 | ## Getting CashCash |
16 | 16 |
|
17 | 17 | You've got a couple options for adding CashCash to your project: |
18 | 18 |
|
19 | | -- [Download a tagged version](https://github.com/jgarber623/CashCash/tags) from GitHub and do it yourself _(old school)_. |
| 19 | +- [Download a release](https://github.com/jgarber623/CashCash/releases) from GitHub and do it yourself _(old school)_. |
20 | 20 | - Install using [npm](https://www.npmjs.com/package/@jgarber/cashcash): `npm install @jgarber/cashcash --save` |
21 | 21 | - Install using [Yarn](https://yarnpkg.com/en/package/@jgarber/cashcash): `yarn add @jgarber/cashcash` |
22 | 22 |
|
@@ -128,15 +128,7 @@ If you want to cut down on some typing (and potentially confuse your teammates), |
128 | 128 |
|
129 | 129 | ## Browser Support |
130 | 130 |
|
131 | | -CashCash works in modern browsers. The library makes use of several new(ish) JavaScript features, including: |
132 | | - |
133 | | -- Arrow function expressions ([MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions)) |
134 | | -- Classes ([MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes)) |
135 | | -- Template literals ([MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals)) |
136 | | -- `Document.querySelectorAll()` ([MDN](https://developer.mozilla.org/en-US/docs/Web/API/Document/querySelectorAll)) |
137 | | -- `NodeList.prototype.forEach` ([MDN](https://developer.mozilla.org/en-US/docs/Web/API/NodeList/forEach)) |
138 | | - |
139 | | -CashCash, in an effort to remain as lightweight and dependency-free as possible, leaves it up to you to choose whether or not to polyfill features for older browsers. |
| 131 | +**CashCash works in modern browsers.** The library makes use of several new(ish) JavaScript features and, in an effort to remain as lightweight and dependency-free as possible, leaves it up to you to choose whether or not to polyfill features for older browsers. |
140 | 132 |
|
141 | 133 | ## Acknowledgments |
142 | 134 |
|
|
0 commit comments