I was trying to figure out from the Store docs if you can define a limited list of types. I'd like to use only sessionStorage and userData. Is there a way to define this with the options hash?
Patrick
Patrick Clancy
unread,
Sep 4, 2012, 12:55:19 PM9/4/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ampl...@googlegroups.com
The technical requirements don't allow the use of localStorage, but do allow session and user. (go figure...) If it's not possible... then I can conditionally pick the specific storage type from within my script.
Scott González
unread,
Sep 4, 2012, 1:00:17 PM9/4/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ampl...@googlegroups.com
You can detect support via `amplify.store.sessionStorage` and you can set what gets used with `amplify.store.type = "sessionStorage"`, but this honestly seems silly.
Patrick Clancy
unread,
Sep 4, 2012, 1:16:40 PM9/4/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ampl...@googlegroups.com
Thanks for the help. I've just started to use Amplifyjs. It looks totally awesome!