Skip to content
This repository has been archived by the owner on Mar 8, 2021. It is now read-only.

Commit

Permalink
updating readme
Browse files Browse the repository at this point in the history
  • Loading branch information
tymondesigns committed Jan 18, 2015
1 parent 1967cbf commit 235f4af
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitdown/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,13 @@ Configure via `lockerProvider` (*optional*)
.config(['lockerProvider', function config(lockerProvider) {
lockerProvider.setDefaultDriver('session')
.setDefaultNamespace('myAppName')
.setSeparator('.')
.setEventsEnabled(false);
}]);
```

*Note*: You can also pass `false` into `setDefaultNamespace()` if you prefer to not have a namespace in your keys.

inject `locker` into your controller/service/directive etc

```js
Expand Down
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ http://www.jsdelivr.com/#!angular.locker

Simply download the zip file [HERE](https://github.com/tymondesigns/angular-locker/archive/master.zip) and include `dist/angular-locker.min.js` in your project.

1.76 kB Minified & gzipped.
1.75 kB Minified & gzipped.

<h2 id="usage">Usage</h2>

Expand All @@ -69,10 +69,13 @@ Configure via `lockerProvider` (*optional*)
.config(['lockerProvider', function config(lockerProvider) {
lockerProvider.setDefaultDriver('session')
.setDefaultNamespace('myAppName')
.setSeparator('.')
.setEventsEnabled(false);
}]);
```

*Note*: You can also pass `false` into `setDefaultNamespace()` if you prefer to not have a namespace in your keys.

inject `locker` into your controller/service/directive etc

```js
Expand Down

0 comments on commit 235f4af

Please sign in to comment.