UNPKG

1.82 kBPlain TextView Raw
1v1.3.11
2+ Fix old-IE forEach
3
4v1.3.10
5+ Add store.forEach
6+ Add bower.json (sign, I know, yet another package file to maintain)
7+ Add MIT license header
8
9v1.3.9
10+ Make store.js work in Node.js (using any working localStorage shim for Node.js)
11
12v1.3.8
13+ Fix closing </iframe> tag for IE7 (GH issue #67)
14
15v1.3.7
16+ Fix store.getAll for IE6
17
18v1.3.6
19+ Remove globalStorage and drop FF 2.0/3.0 support (See https://github.com/marcuswestin/store.js/issues/44)
20
21v1.3.5
22+ Now store.set returns the set value: `store.set(key, value) == value`
23+ Values previously set with localStorage directly are now parsed handler by store.js: `localStorage['foo'] = 1; assert(store.get('foo') == 1)`
24
25v1.3.4
26+ Add store.enabled
27+ Deprecate store.disabled
28+ Add link to Jack Franklin's screencast
29
30v1.3.3
31+ Fix IE keys beginning with numeric characters (nice find @pauldwaite)
32
33v1.3.2
34+ Implement store.getAll() (patch by @blq)
35
36v1.3.0
37+ Use uglify.js for minifying store.min.js and store+json.min.js
38+ Add build script
39
40v1.2.0
41+ Remove same-path restrictions in IE6/7! (Thanks @mjpizz!)
42+ Support CommonJS and AMD module systems (Thanks @pereckerdal!)
43+ Fix: store.set('foo', undefined); store.get('foo') no longer throws (Thanks @buger!)
44
45v1.1.1
46+ Publish in npm as "store" rather than "store.js"
47+ Add commonjs export for require support
48+ Add supported browsers Chrome 6-11, Firefox 4.0
49
50v1.1.0
51+ First versioned version.
52+ API: store.set, store.get, store.remove, store.clear, store.transact
53+ Minified versions are included: store.min.js for store.js only, and store+json2.min.js for store.js and json2.js
54
55TODO
56- Get around IE6/7 per-directory restrition. @lrbabe/@louis_remi had the idea of putting the store.js API in an anonymous iframe a la https://github.com/meebo/embed-code and see what directory restriction that would fall under