Skip to content

Commit

Permalink
Merge pull request #30 from davidchambers/no-yepnope
Browse files Browse the repository at this point in the history
readme: remove reference to (deprecated) yepnope
  • Loading branch information
davidchambers authored Feb 25, 2017
2 parents 8ab60b0 + 4fb914f commit b17e0e0
Showing 1 changed file with 3 additions and 18 deletions.
21 changes: 3 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,7 @@
≈ 500 byte* polyfill for browsers which don't provide [`window.btoa`][1] and
[`window.atob`][2].

Although the script does no harm in browsers which do provide these functions,
a conditional script loader such as [yepnope][3] can prevent unnecessary HTTP
requests.

```javascript
yepnope({
test: window.btoa && window.atob,
nope: 'base64.js',
callback: function () {
// `btoa` and `atob` are now safe to use
}
})
```

Base64.js stems from a [gist][4] by [yahiko][5].
Base64.js stems from a [gist][3] by [yahiko][4].

### Running the test suite

Expand All @@ -31,6 +17,5 @@ Base64.js stems from a [gist][4] by [yahiko][5].

[1]: https://developer.mozilla.org/en/DOM/window.btoa
[2]: https://developer.mozilla.org/en/DOM/window.atob
[3]: http://yepnopejs.com/
[4]: https://gist.github.com/229984
[5]: https://github.com/yahiko
[3]: https://gist.github.com/229984
[4]: https://github.com/yahiko

0 comments on commit b17e0e0

Please sign in to comment.