hoodiehq/documentation — pull request #75 by gr2m (2014-09-22 10:04:57+00:00)
Title: reworked hoodie.store.md

Please consider all changes as suggestions only, I'm happy to revers or fix anything you're not happy with @snnd @zoepage. I must say that not only you did an amazing job, it really helped me to reflect on the API myself. Please get me in the loop whenever I can help with documentation, it's very helpful for me, too <3

- replaced 'data' with 'object(s)'
- moved scoped store api to the bottom
- removed scoped store from examples and just left hoodie.store.add etc
- changed type:add to just add
- added clear event
- added the options parameter to all methods, because I think that every
method should be fully self-explanatory and not require to read another
part of the documentation first
- Removed complex example that used callback before
- findAll, updateAll, removeAll do not require a type right now, technically.
But it's considered harmful as objects will be affected that might be used
internally only, and therefore I'd rather say it is.
- I left out the validate method, as it's not really usable yet. But we
will add it back in soon, esp. as option to the scoped store as sugested
by Dennis (love the idea)