Permalink
Browse files

Merge pull request #9 from owencm/master

Added a note to ensure permissions are set correctly in Readme.md
  • Loading branch information...
scryptmouse committed Apr 23, 2014
2 parents e96e66b + d8db9a3 commit 584910c6736dabf9b53b9282290aaf4b6604e1d7
Showing with 17 additions and 1 deletion.
  1. +17 −1 README.md
View
@@ -33,6 +33,21 @@ If a type is not provided, it will default to `"local"`. To change the default,
If a user has disabled Chrome's synchronization features, `"sync"` will automatically fall back to `"local"` without issue.
+## Notes
+
+You must remember to request the storage permission in your manifest.json file.
+
+ {
+ "name": "My extension",
+ ...
+ "permissions": [
+ "storage"
+ ],
+ ...
+ }
+
+See the [chrome.storage reference guide][chromestoragereference] for more details.
+
## Caveats
### zepto.js support
@@ -68,4 +83,5 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
[cs]: https://developer.chrome.com/extensions/storage.html "chrome.storage documentation"
[dfd]: http://api.jquery.com/category/deferred-object/ "$.Deferred documentation"
[bbls]: https://github.com/jeromegn/Backbone.localStorage
-[simply-deferred]: https://github.com/sudhirj/simply-deferred "Simply Deferred"
+[simply-deferred]: https://github.com/sudhirj/simply-deferred "Simply Deferred"
+[chromestoragereference]: https://developer.chrome.com/apps/storage.html

0 comments on commit 584910c

Please sign in to comment.