From 235f4af2c044cfbbb860b490b539c7d86fc51bb6 Mon Sep 17 00:00:00 2001 From: Sean Date: Sun, 18 Jan 2015 19:37:20 +0000 Subject: [PATCH] updating readme --- .gitdown/README.md | 3 +++ README.md | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitdown/README.md b/.gitdown/README.md index 95361bd..bb75fd7 100644 --- a/.gitdown/README.md +++ b/.gitdown/README.md @@ -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 diff --git a/README.md b/README.md index eef2bf3..33c3554 100644 --- a/README.md +++ b/README.md @@ -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.

Usage

@@ -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