mirror of
https://github.com/localForage/localForage.git
synced 2026-01-25 14:44:26 +00:00
non-promise example in installation docs
This commit is contained in:
parent
5c211d9300
commit
5a90e52a5e
@ -65,7 +65,7 @@ bower install localforage
|
||||
```
|
||||
``` html
|
||||
<script src="localforage.js"></script>
|
||||
<script>localforage.getItem('my alert', alert);</script>
|
||||
<script>localforage.getItem('somekey', function(err, val) { alert(val) });</script>
|
||||
```
|
||||
|
||||
To use localForage, [download the latest release](https://github.com/mozilla/localForage/releases) or install with [bower](http://bower.io/) (`bower install localforage`).
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user