{"action":"created","issue":{"url":"https://api.github.com/repos/UniversalViewer/universalviewer/issues/197","labels_url":"https://api.github.com/repos/UniversalViewer/universalviewer/issues/197/labels{/name}","comments_url":"https://api.github.com/repos/UniversalViewer/universalviewer/issues/197/comments","events_url":"https://api.github.com/repos/UniversalViewer/universalviewer/issues/197/events","html_url":"https://github.com/UniversalViewer/universalviewer/pull/197","id":119899344,"number":197,"title":"Added option to save user settings to localStorage.","user":{"login":"bazer","id":760713,"avatar_url":"https://avatars.githubusercontent.com/u/760713?v=3","gravatar_id":"","url":"https://api.github.com/users/bazer","html_url":"https://github.com/bazer","followers_url":"https://api.github.com/users/bazer/followers","following_url":"https://api.github.com/users/bazer/following{/other_user}","gists_url":"https://api.github.com/users/bazer/gists{/gist_id}","starred_url":"https://api.github.com/users/bazer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bazer/subscriptions","organizations_url":"https://api.github.com/users/bazer/orgs","repos_url":"https://api.github.com/users/bazer/repos","events_url":"https://api.github.com/users/bazer/events{/privacy}","received_events_url":"https://api.github.com/users/bazer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-02T09:19:57Z","updated_at":"2015-12-03T16:35:37Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/UniversalViewer/universalviewer/pulls/197","html_url":"https://github.com/UniversalViewer/universalviewer/pull/197","diff_url":"https://github.com/UniversalViewer/universalviewer/pull/197.diff","patch_url":"https://github.com/UniversalViewer/universalviewer/pull/197.patch"},"body":"Hi again!\r\n\r\nI used your new code for saving to localStorage to implement saving of the options in the settings dialog. It saves the setting for navigator, paging and viewport, but not the language. I set it to save for 10 years, don't know if that's a good idea or not."},"comment":{"url":"https://api.github.com/repos/UniversalViewer/universalviewer/issues/comments/161708445","html_url":"https://github.com/UniversalViewer/universalviewer/pull/197#issuecomment-161708445","issue_url":"https://api.github.com/repos/UniversalViewer/universalviewer/issues/197","id":161708445,"user":{"login":"bazer","id":760713,"avatar_url":"https://avatars.githubusercontent.com/u/760713?v=3","gravatar_id":"","url":"https://api.github.com/users/bazer","html_url":"https://github.com/bazer","followers_url":"https://api.github.com/users/bazer/followers","following_url":"https://api.github.com/users/bazer/following{/other_user}","gists_url":"https://api.github.com/users/bazer/gists{/gist_id}","starred_url":"https://api.github.com/users/bazer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bazer/subscriptions","organizations_url":"https://api.github.com/users/bazer/orgs","repos_url":"https://api.github.com/users/bazer/repos","events_url":"https://api.github.com/users/bazer/events{/privacy}","received_events_url":"https://api.github.com/users/bazer/received_events","type":"User","site_admin":false},"created_at":"2015-12-03T16:35:37Z","updated_at":"2015-12-03T16:35:37Z","body":"Isn't the local storage unique per domain anyway? But yeah, it should probably be a bit more specific, uv.settings sounds good.\r\n\r\nI can change it and append the pull request, but I'm not back in the office until Monday so it'll have to wait until then. Or just merge and change it if you want the patch now."}}