{"action":"created","issue":{"url":"https://api.github.com/repos/grevory/angular-local-storage/issues/237","repository_url":"https://api.github.com/repos/grevory/angular-local-storage","labels_url":"https://api.github.com/repos/grevory/angular-local-storage/issues/237/labels{/name}","comments_url":"https://api.github.com/repos/grevory/angular-local-storage/issues/237/comments","events_url":"https://api.github.com/repos/grevory/angular-local-storage/issues/237/events","html_url":"https://github.com/grevory/angular-local-storage/issues/237","id":91982137,"number":237,"title":"Add feature to add an optional 3rd parameter to set to specify whether to fall back to cookie or not ","user":{"login":"kriston13","id":1905786,"avatar_url":"https://avatars.githubusercontent.com/u/1905786?v=3","gravatar_id":"","url":"https://api.github.com/users/kriston13","html_url":"https://github.com/kriston13","followers_url":"https://api.github.com/users/kriston13/followers","following_url":"https://api.github.com/users/kriston13/following{/other_user}","gists_url":"https://api.github.com/users/kriston13/gists{/gist_id}","starred_url":"https://api.github.com/users/kriston13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kriston13/subscriptions","organizations_url":"https://api.github.com/users/kriston13/orgs","repos_url":"https://api.github.com/users/kriston13/repos","events_url":"https://api.github.com/users/kriston13/events{/privacy}","received_events_url":"https://api.github.com/users/kriston13/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/grevory/angular-local-storage/labels/duplicate","name":"duplicate","color":"D2DAE1"},{"url":"https://api.github.com/repos/grevory/angular-local-storage/labels/feature","name":"feature","color":"91CA55"},{"url":"https://api.github.com/repos/grevory/angular-local-storage/labels/rfc","name":"rfc","color":"CC317C"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-30T04:58:32Z","updated_at":"2016-02-19T15:10:29Z","closed_at":"2016-02-19T15:10:29Z","body":"We need a way to optionally NOT fall back to a cookie in the event that local storage is not available. We're really looking for a 3rd optional parameter in the set method - set(key, value, fallback) - that defaults to true, but can be specified to say that the cookie fallback should not be used if it would otherwise be used.\r\n\r\nThis is mostly because we sometimes want to put stuff in local storage that are more than 4k large, but if local storage isn't supported, then we don't want to try to create a cookie that is more than 4k large.\r\n\r\nIf I were to do the edit to a forked branch, would that be ok?\r\nThanks"},"comment":{"url":"https://api.github.com/repos/grevory/angular-local-storage/issues/comments/186252984","html_url":"https://github.com/grevory/angular-local-storage/issues/237#issuecomment-186252984","issue_url":"https://api.github.com/repos/grevory/angular-local-storage/issues/237","id":186252984,"user":{"login":"ealves-pt","id":5909095,"avatar_url":"https://avatars.githubusercontent.com/u/5909095?v=3","gravatar_id":"","url":"https://api.github.com/users/ealves-pt","html_url":"https://github.com/ealves-pt","followers_url":"https://api.github.com/users/ealves-pt/followers","following_url":"https://api.github.com/users/ealves-pt/following{/other_user}","gists_url":"https://api.github.com/users/ealves-pt/gists{/gist_id}","starred_url":"https://api.github.com/users/ealves-pt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ealves-pt/subscriptions","organizations_url":"https://api.github.com/users/ealves-pt/orgs","repos_url":"https://api.github.com/users/ealves-pt/repos","events_url":"https://api.github.com/users/ealves-pt/events{/privacy}","received_events_url":"https://api.github.com/users/ealves-pt/received_events","type":"User","site_admin":false},"created_at":"2016-02-19T15:10:29Z","updated_at":"2016-02-19T15:10:29Z","body":"Let's continue this discussion on #168 "}}