|
|
@ -11,7 +11,7 @@ Bower (Browser) |
|
|
|
```bash |
|
|
|
bower install json-storage |
|
|
|
# or |
|
|
|
wget https://raw2.github.com/coolaj86/json-storage-js/master/json-storage.js |
|
|
|
wget https://git.coolaj86.com/coolaj86/json-storage.js/raw/branch/master/json-storage.js |
|
|
|
``` |
|
|
|
|
|
|
|
Node.JS (Server) |
|
|
@ -35,7 +35,7 @@ var localStorage = require('localStorage') |
|
|
|
} |
|
|
|
; |
|
|
|
|
|
|
|
store.set('myKey', myValue); |
|
|
|
store.set('myKey', myValue); |
|
|
|
myValue = store.get('myKey'); |
|
|
|
``` |
|
|
|
|
|
|
|