Merge branch 'master' of github.com:grevory/angular-local-storage into regex_clear

revert-117-master
Matthew Wickman 11 years ago
commit 7ca4d4b9e0

@ -28,7 +28,7 @@ module.exports = function(grunt) {
}
},
dev: {
src: [ 'localStorageModule.js' ],
src: [ 'angular-local-storage.js' ],
options: {
jshintrc: '.jshintrc',
}

@ -3,7 +3,15 @@ angular-local-storage
An Angular module that gives you access to the browsers local storage
Remember to set your app name (settings.appPrefix) in the settings at the beginning of localStorageModule.js.
Remember to set your app name (settings.appPrefix) in the settings at the beginning of angular-local-storage.js:
```javascript
angular.module('LocalStorageModule').value('prefix', 'myPre');
angular.module('testApp', ['LocalStorageModule'])
.config(function ($routeProvider) {
....
});
```
To do:
- Add tests
@ -22,4 +30,4 @@ angular.module('yourModule', ['LocalStorageModule'])
localStorageService.add('Favorite Sport','Ultimate Frisbee');
}]);
```
Check out the full demo and documentation at http://gregpike.net/demos/angular-local-storage/demo.html
Check out the full demo and documentation at http://gregpike.net/demos/angular-local-storage/demo.html

@ -5,12 +5,11 @@
"authors": [
"grevory <greg@gregpike.ca>"
],
"description": "An Angular module that gives you access to the browsers local storage",
"description": "An Angular module that gives you access to the browser's local storage",
"main": "angular-local-storage.js",
"keywords": [
"AngularJS",
"Local",
"Storage"
"Local Storage"
],
"license": "MIT",
"ignore": [

@ -59,7 +59,7 @@
<h6>Dependencies:</h6>
<ul>
<li><code>AngularJS</code> <small><a href="http://angularjs.org/">http://angularjs.org/</a></small></li>
<li><code>Angular Local Storage Module</code> <small><a href="localStorageModule.js">localStorageModule.js</a></small></li>
<li><code>Angular Local Storage Module</code> <small><a href="../angular-local-storage.js">angular-local-storage.js</a></small></li>
</ul>
<h6>JS Example</h6>
@ -131,7 +131,7 @@ var YourCtrl = function($scope, localStorageService, ...) {
<!-- JAVASCRIPT -->
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.0.1/angular.min.js"></script>
<script src="http://google-code-prettify.googlecode.com/svn/trunk/src/prettify.js"></script>
<script src="../localStorageModule.js"></script>
<script src="../angular-local-storage.js"></script>
<script src="demo-app.js"></script>
</body>
</html>

@ -28,7 +28,7 @@ module.exports = function(config) {
files: [
bower + 'angular/angular.js',
bower + 'angular-mocks/angular-mocks.js',
'localStorageModule.js',
'angular-local-storage.js',
'test/spec/**/*.js'
],