Commit Graph

275 Commits (master)
 

Author SHA1 Message Date
Ariel Mashraki 0c86054aba feat(gruntfile): robust gruntfile 10 years ago
Ariel Mashraki e692f70bc2 fix(package): add grunt-concat 10 years ago
Ariel Mashraki 24b6f4d1d6 refactor(src): create and remove src files to src dir 10 years ago
Sebastian Gronewold f7753704c2 Cleanuped code for enforced cookie usage
In my last pull request I added the first support for handling of the enforced usage of cookies as storage. Now I added this support to the remove function and to the clearAll function. Also I exluded warnings that the browser does not support local storage if the user explicitely wants to use cookies.
10 years ago
Sebastian Gronewold 0b8be0935a Added PHPStorm project files to .gitignore 10 years ago
Gregory Pike 64d5beded5 Merge pull request #118 from a8m/master
fix CI build falling, and broken tests
10 years ago
Ariel Mashraki 642f1fe7fc fix(dist): uglify angular-local-storage 10 years ago
Ariel Mashraki f05c83cd74 fix(package): update version to 0.0.7 10 years ago
Ariel Mashraki ee19f3dac6 fix(bower): update version to 0.0.7 10 years ago
Ariel Mashraki 9e3537bfd5 fix(localStorageService): fix usage of 'this' keyword on closures 10 years ago
Gregory Pike b29b89676d Merge pull request #117 from a8m/master
Create unit test, helpers and mocking. Issue #114
10 years ago
Gregory Pike 71747d4a5d Merge pull request #112 from kanerogers/patch-1
Add installation instructions to README.md
10 years ago
Kane Rogers 1252851e56 angular-loading-bar != angular-local-storage
Whoops!
10 years ago
Gregory Pike a811978ce5 Updated version 10 years ago
Gregory Pike e06726f0e4 Updated version 10 years ago
Gregory Pike f7dd45e8e6 Merge pull request #116 from FeelgoodDE/master
Handling for explicit usage of cookie fallback
10 years ago
Gregory Pike 1437e35e58 Merge pull request #113 from kanerogers/patch-2
Add delete example to README.md
10 years ago
Gregory Pike a42db53a7c Merge pull request #106 from rdepena/patch-1
removed references to deprecated add functions.
10 years ago
Gregory Pike 0a256f307b Merge pull request #105 from egyptianbman/patch-1
Check for document being in [0] key of $document
10 years ago
Gregory Pike 2c57fdf15e Merge pull request #103 from darrylhebbes/patch-1
Update README.md
10 years ago
Ariel Mashraki 60b3e5df94 test(localStorageService): create unit test, mocking and helpers 10 years ago
Ariel Mashraki c66a761b3b refactor(test): remove old file test 10 years ago
Ariel Mashraki 0d94b97503 fix(karma.conf): remove unnecessary comma 10 years ago
Ariel Mashraki 18a02e5c6e test(locationStorage): create unit test file 10 years ago
Sebastian Gronewold 570d7657c4 Reverted changes... 10 years ago
Sebastian Gronewold bbf57b78a7 Merge branch 'master' of https://github.com/FeelgoodDE/angular-local-storage 10 years ago
Sebastian Gronewold e7c465c898 Handling for explicit usage of cookie fallback
If the user explicitely set the storage type to cookie also the
getFromLlocalStorage and addToLocalStorage method should use the cookie
fallback.
10 years ago
Sebastian Gronewold 7ef86fb4a5 Reverted changes as they have already been pull requested 10 years ago
Sebastian Gronewold 330fc3f28b Added unwrapping of the jquery encapsulated $document variable
See
http://www.bennadel.com/blog/2630-accessing-document-properties-in-angularjs.htm
10 years ago
Kane Rogers 9d050c9ebe Add delete example to README.md 10 years ago
Kane Rogers f3ef129b28 Add installation instructions to README.md
Now I know how to install it! 😄
10 years ago
Ricardo de Peña b1ea75c8c7 removed references to deprecated add functions.
demo documentation still refers to deprecated add functions.
10 years ago
Beshoy Girgis 7ac1e52905 Check for document being in [0] key of $document
I have a factory that calls localStorageService.cookie.clearAll() which throws an error of `TypeError: Cannot read property 'split' of undefined`.  It turns out that this error is caused by $document having document be in `$document[0]`.  The proposed update solves my issue; thanks!
10 years ago
Darryl Hebbes 12c8104c5b Update README.md
Added an example of binding to a $scope variable
10 years ago
Gregory Pike d08649f426 Repositioned ads to make them less intrusive 10 years ago
Gregory Pike 3b2bc3a0de Added ads to the demo
Sorry guys, I need to earn a living
10 years ago
Gregory Pike 15d1fb454d Updated version 10 years ago
Gregory Pike 4389885e15 Updated dependencies 10 years ago
Gregory Pike 8cfff25b19 Uglify and update the version number 10 years ago
Gregory Pike b398f3bad1 Merge pull request #96 from georgebonnr/master
Fix for issue #81
10 years ago
George Bonner 1c5cabf7ac Squashed commit of the following:
commit 8beff969457285fb85d10ca96205a3dc7a3d729f
Author: George Bonner <georgebonnr@gmail.com>
Date:   Mon May 12 16:31:42 2014 -0700

    typo fix

commit 8ba0a658b5e1831dfd3b8299327a2be50ecec0f2
Author: George Bonner <georgebonnr@gmail.com>
Date:   Mon May 12 16:19:35 2014 -0700

    Fix

commit 5d9c6c5afd4b9a56a03522e644c01d41c2a344eb
Author: George Bonner <georgebonnr@gmail.com>
Date:   Mon May 12 15:58:48 2014 -0700

    fix unhandled errors in chrome

    $window[storageType] would throw unhandled error in Chrome some cases as browserSupportsLocalStorage() had not yet been called.
10 years ago
Gregory Pike 2cdbb7e5ff Merge pull request #92 from jburwell/master
Expand Unit Tests and add deriveKey
10 years ago
Gregory Pike 50754b0fea Do not flush data on page load 10 years ago
John Burwell 3948d7ddfc - Checks the key list in every applicable scenario
- Clears local storage between test runs
10 years ago
John Burwell 45287e883e - Adds Vim swap files to .gitignore 10 years ago
John Burwell 9129451a27 - Adds the deriveQualifiedKey and deriveKey methods to ca;culate the key
with the prefix -- supporting deterministic internal operation and
loosely coupled white box testing
- Adds tests for remove, deriveKey, and key replacement
- Splits the add tests into 3 scenerios -- add JSON, add string, and add
  integer
- Remove the test stubs for get, set, and clearAll to properly test the
  underlying methods
10 years ago
Gregory Pike 7c1515a253 Setup for continuous integration 10 years ago
Gregory Pike 2f7860a99c Fixed browser local storage support bug
Also repaired Grunt setup
10 years ago
Gregory Pike 19532a006f Merge pull request #91 from eydreeyawn/patch-1
demo.html example update
10 years ago
Adrian Enriquez a0fbfadb20 demo.html example update
Added example of localStorageService.remove('key'); and localStorageService.removeAll();
10 years ago