Commit Graph

275 Commits (master)
 

Author SHA1 Message Date
ehaozuo ab81628c93 add uglified version for users 11 years ago
Alex Gorbatchev c0e86dc1bd Fixes `QUOTA_EXCEEDED_ERR` error is private Safari window. 11 years ago
Marques Woodson 2bff9d3e3c Configured the service to a provider type for more configurability. 11 years ago
mwq27 e96a2b2435 Added check if stored value is a number to spyOn, since localStorage will store integers as strings. 11 years ago
Gregory Pike ecea0d0ec4 Merge pull request #49 from mwq27/master
I just added a few tests for the .get and .set methods.
11 years ago
mwq27 650e9b825d Update test.js 11 years ago
mwq27 7354a44bae Update test.js 11 years ago
Matthew Wickman 7ca4d4b9e0 Merge branch 'master' of github.com:grevory/angular-local-storage into regex_clear 11 years ago
grevory e0ee1851ca Merge pull request #41 from eddiemonge/patch-1
Update README.md
11 years ago
Eddie Monge Jr. 9d539cad94 Update README.md
add instructions for setting prefix
11 years ago
grevory 1b4aaf0f79 Merge pull request #40 from eddiemonge/rename
rename part 2
11 years ago
grevory 86da00f3a6 Merge pull request #38 from eddiemonge/bowertypo
fix typo in bower
11 years ago
Eddie Monge 176065aa00 rename part 2 11 years ago
Eddie Monge 2bbac5a6ba fix typo in bower 11 years ago
Matthew Wickman 697e340738 Merge branch 'master' of github.com:grevory/angular-local-storage into regex_clear 11 years ago
grevory 92c594e922 Merge pull request #39 from eddiemonge/rename
rename file to be more angular descriptive
11 years ago
Eddie Monge 4079d517a0 rename file to be more angular descriptive 11 years ago
grevory 833606949e Merge pull request #37 from eddiemonge/grunt
Add Grunt to automate testing and linting. Add Karma to run tests
11 years ago
Eddie Monge 3a4436f5af Add Grunt to automate testing and linting. Add Karma to run tests 11 years ago
grevory 10f23f21ab Merge pull request #34 from eddiemonge/gitfiles
add git files to the repo
11 years ago
Eddie Monge edacb75732 add git files to the repo 11 years ago
grevory 0c1b8e8e19 Merge pull request #32 from eddiemonge/demo
move demos to their own folder to keep repo cleaner
11 years ago
grevory ce358fc99b Merge pull request #31 from eddiemonge/package
add package.json file to manage dependencies
11 years ago
grevory 401584e657 Merge pull request #30 from eddiemonge/bower
Add bower.json file
11 years ago
Eddie Monge 8e44da5b4b move demos to their own folder to keep repo cleaner 11 years ago
Eddie Monge 6b62d711ea add package.json file to manage dependencies 11 years ago
Eddie Monge 04801ee5d6 Add bower.json file 11 years ago
Gregory Pike 5679c279a5 Changed license to MIT 11 years ago
Matthew Wickman b6e40ea795 fixing global variable 11 years ago
Matthew Wickman 76d682a2da adding ability to clear local storage based on a regex 11 years ago
grevory a9d180c607 Merge pull request #27 from darlanalves/master
Fix returned value when the previously store value was null.
11 years ago
Darlan Alves 04df295c81 Fix returned value when the previously store value was null 11 years ago
grevory 4b74562d85 Merge pull request #22 from mhalttu/master
Fix: You can't set a cookie after you have removed another cookie
11 years ago
grevory d386b940b4 Merge pull request #26 from CaryLandholt/master
Add IIFE to avoid introducing global variables
11 years ago
Gregory Pike fdc1bab863 Fixed notices from JSLint 11 years ago
Cary Landholt cf39b3c339 Add IIFE to avoid introducing global variables
Without the closure provided by the IIFE, angularLocalStorage is a global variable.

The IIFE prevents global variable introduction.
11 years ago
Markus Halttunen 69de00f350 Fixed a problem where you couldn't set a cookie after you had removed another one. The problem is that we shouldn't modify the expiry field of the shared cookie object. Now we simply set the expiry date of the removed cookie without touching the cookie object itself. 11 years ago
grevory db5638ad57 Merge pull request #21 from jpmec/master
Added getKeysForLocalStorage method.
11 years ago
Joshua Petitt 6b7404ad07 Added getKeysForLocalStorage method. 11 years ago
grevory 6df74ff7ae Merge pull request #20 from gihanshp/master
Added javascript array to string and string to array conversion
11 years ago
Gihan S f6e4ea9e5b Added javascript array auto stringyfy and reverse when adding and getting from localstorage. 11 years ago
grevory 9d44d538c0 Merge pull request #19 from nmehta6/master
Allow the prefix value to be overwritten
11 years ago
Nachiket Mehta 25209ce489 Changed constant to value
Changing angularLocalStorage.constant('prefix', 'ls') to angularLocalStorage.value('prefix', 'ls'). Now, this prefix can be overwritten by the consuming app.
11 years ago
Gregory Pike bf333b14f2 Remove unnecessary JSON methods 11 years ago
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