|
|
|
@ -3,10 +3,11 @@ angular-local-storage
|
|
|
|
|
|
|
|
|
|
An Angular module that gives you access to the browsers local storage, **v0.1.3**
|
|
|
|
|
|
|
|
|
|
[![Build Status](https://secure.travis-ci.org/grevory/angular-local-storage.png?branch=master)](https://travis-ci.org/grevory/)
|
|
|
|
|
[![Build Status](https://secure.travis-ci.org/grevory/angular-local-storage.png?branch=master)](https://travis-ci.org/grevory/) [![Coverage Status](https://img.shields.io/coveralls/grevory/angular-local-storage.svg)](https://coveralls.io/r/grevory/angular-local-storage?branch=master)
|
|
|
|
|
|
|
|
|
|
##Table of contents:
|
|
|
|
|
- [Get Started](#get-started)
|
|
|
|
|
- [Development](#development)
|
|
|
|
|
- [Configuration](#configuration)
|
|
|
|
|
- [setPrefix](#setprefix)
|
|
|
|
|
- [setStorageType](#setstoragetype)
|
|
|
|
@ -319,19 +320,22 @@ myApp.controller('MainCtrl', function($scope, localStorageService) {
|
|
|
|
|
Check out the full demo at http://gregpike.net/demos/angular-local-storage/demo.html
|
|
|
|
|
|
|
|
|
|
##Development:
|
|
|
|
|
* Don't forget about tests.
|
|
|
|
|
* If you planning add some feature please create issue before.
|
|
|
|
|
|
|
|
|
|
Clone the project:
|
|
|
|
|
```bash
|
|
|
|
|
```sh
|
|
|
|
|
$ git clone https://github.com/<your-repo>/angular-local-storage.git
|
|
|
|
|
$ npm install
|
|
|
|
|
$ bower install
|
|
|
|
|
```
|
|
|
|
|
Run the tests:
|
|
|
|
|
```bash
|
|
|
|
|
```sh
|
|
|
|
|
$ grunt test
|
|
|
|
|
```
|
|
|
|
|
**Deploy:**<br/>
|
|
|
|
|
Run the build task, update version before(bower,package)
|
|
|
|
|
```bash
|
|
|
|
|
```sh
|
|
|
|
|
$ grunt dist
|
|
|
|
|
$ git tag 0.*.*
|
|
|
|
|
$ git push origin master --tags
|
|
|
|
|