From b2543a8b17951bc06305511a8242a701045ca456 Mon Sep 17 00:00:00 2001 From: Joanne Cheng Date: Mon, 2 Nov 2015 15:07:51 -0700 Subject: [PATCH] Remove need for persistence object from config --- README.md | 12 +++--------- client/js/app/app.js | 9 +++++++-- dist/keen-explorer.js | 11 ++++++++--- 3 files changed, 18 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 72fa58291..1ddaa9d8f 100644 --- a/README.md +++ b/README.md @@ -88,9 +88,9 @@ You can read more about Keen.js here: [The Keen.js client library](https://githu ### 3. Optionally include Saved Queries support -Persistence support is optional. If you include it, a "saved queries" feature will be shown and you can persist the state of the query you're working with to be looked up at a later time. If you do not want to use saved queries, just do not include it in the Keen.Explorer.App initialization, like above. +Saved query support is optional. If you include it, you can persist the state of the query you're working with to be looked up at a later time. If you do not want to use saved queries, just do not include it in the Keen.Explorer.App initialization, like above. -To include saved queries, create a new `KeenSavedQueries` object, and then pass that object to the `Keen.Explorer.App` initialization. So, instead of what you see above, you would have: +To include saved queries, just set the `savedQueries` config variable to `true`. You *must* include a master key if you want saved queries support. ```html