grevory
335676452a
Merge pull request #16 from nmehta6/master
...
detecting if Json needs to be parsed or stringified as part of addToLocalStorage() and getFromLocalStorage()
11 years ago
Nachiket Mehta
bd5bc4a4ae
Detecting if the value being stored is an object. using angular's fronJson and toJson methods to parse it.
...
This saves the user from having to call the stringyfyJson() and parseJson() before getting and setting to the local storage. Those functions can also be now ported over to use angular.toJson and angular.fromJson(). That change is not included in this commit.
11 years ago
Gregory Pike
45eb25cea9
Convert undefined values to null
11 years ago
grevory
9bb76366d4
Merge pull request #15 from staxmanade/master
...
Allow storing falsey values
11 years ago
Jason Jarrett
8f8e94e280
Allow storage of falsey values
11 years ago
grevory
9b6201ff2d
Merge pull request #14 from geun/master
...
fix cookie error
11 years ago
geun
cb8200f956
fixed cookie error
11 years ago
grevory
30f6fbe894
Merge pull request #12 from Sgoettschkes/api_set
...
[WIP] Changing API from add to set
11 years ago
grevory
a5a3416f48
Merge pull request #13 from defectus/master
...
Cookies made peristent
11 years ago
defectus
a0ec531f46
cookies made persistent
11 years ago
Sebastian Goettschkes
98e5dcccec
Adding set to API for both localStorage and cookie
11 years ago
grevory
184c26fb5c
Merge pull request #10 from sbosell/master
...
Notification broadcasts on setItem and removeItem
11 years ago
lucuma
035a10b715
Update localStorageModule.js
...
Change notifications to be consistent with original code, lowercase.
11 years ago
lucuma
255fafe769
Update localStorageModule.js
...
Configurable notifications of add and remove items.
11 years ago
Gregory Pike
fa727e840c
Merged cookies fix with errors fix
11 years ago
Gregory Pike
7457fc206d
Cookies work as fallback
11 years ago
grevory
e0fa47e663
Merge pull request #6 from revolunet/master
...
auto cookies fallback
11 years ago
Anim Yeboah
a6d887c398
Fix getting message on error
...
JavaScript error thrown has no property 'Description', should be
'message'.
See
https://developer.mozilla.org/en/docs/JavaScript/Reference/Global_Object
s/Error
11 years ago
Julien Bouquillon
aade0378f8
auto cookie fallback, fix #5
11 years ago
Gregory Pike
9b7415dfa2
Support for objects
11 years ago
Gregory Pike
d91456c0c5
Adding license
11 years ago
Gregory Pike
ce9e47e430
Added a favourite sport just for fun
11 years ago
grevory
60633b88f2
Add link to demo in readme
12 years ago
grevory
4dc2661ec8
Cookie fallback support
12 years ago
grevory
53672c1e23
Updated Read Me
12 years ago
grevory
9b801b8ec7
Added demo and fixed bugs
12 years ago
grevory
f3f82b5d3b
Merge pull request #1 from maxrabin/readme-fixup
...
Code example fixup in README.md
12 years ago
Max Rabin
53edc8f2cc
Javascript syntax highlighting
12 years ago
Max Rabin
90f9fbdb3e
fix readme spacing so it is crecognized as code
12 years ago
Gregory Pike
a8769636a2
Initial commit
12 years ago
grevory
a5717333c5
Initial commit
12 years ago