{"action":"created","issue":{"url":"https://api.github.com/repos/gustafl/lexeme/issues/10","repository_url":"https://api.github.com/repos/gustafl/lexeme","labels_url":"https://api.github.com/repos/gustafl/lexeme/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/gustafl/lexeme/issues/10/comments","events_url":"https://api.github.com/repos/gustafl/lexeme/issues/10/events","html_url":"https://github.com/gustafl/lexeme/issues/10","id":133601072,"number":10,"title":"Add support for local storage","user":{"login":"gustafl","id":7037538,"avatar_url":"https://avatars.githubusercontent.com/u/7037538?v=3","gravatar_id":"","url":"https://api.github.com/users/gustafl","html_url":"https://github.com/gustafl","followers_url":"https://api.github.com/users/gustafl/followers","following_url":"https://api.github.com/users/gustafl/following{/other_user}","gists_url":"https://api.github.com/users/gustafl/gists{/gist_id}","starred_url":"https://api.github.com/users/gustafl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gustafl/subscriptions","organizations_url":"https://api.github.com/users/gustafl/orgs","repos_url":"https://api.github.com/users/gustafl/repos","events_url":"https://api.github.com/users/gustafl/events{/privacy}","received_events_url":"https://api.github.com/users/gustafl/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gustafl/lexeme/labels/client","name":"client","color":"69bcff"},{"url":"https://api.github.com/repos/gustafl/lexeme/labels/priority","name":"priority","color":"ffe82b"}],"state":"open","locked":false,"assignee":{"login":"gustafl","id":7037538,"avatar_url":"https://avatars.githubusercontent.com/u/7037538?v=3","gravatar_id":"","url":"https://api.github.com/users/gustafl","html_url":"https://github.com/gustafl","followers_url":"https://api.github.com/users/gustafl/followers","following_url":"https://api.github.com/users/gustafl/following{/other_user}","gists_url":"https://api.github.com/users/gustafl/gists{/gist_id}","starred_url":"https://api.github.com/users/gustafl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gustafl/subscriptions","organizations_url":"https://api.github.com/users/gustafl/orgs","repos_url":"https://api.github.com/users/gustafl/repos","events_url":"https://api.github.com/users/gustafl/events{/privacy}","received_events_url":"https://api.github.com/users/gustafl/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/gustafl/lexeme/milestones/1","html_url":"https://github.com/gustafl/lexeme/milestones/Version%200.1.0%20(Rimbaud)","labels_url":"https://api.github.com/repos/gustafl/lexeme/milestones/1/labels","id":1582379,"number":1,"title":"Version 0.1.0 (Rimbaud)","description":"This version should have all the basics in place. This includes:\r\n\r\n* Lexeme database\r\n* REST API to database\r\n* Select lexical category\r\n* Make form adapt to lexical category and language\r\n* Store words locally\r\n* Highlight words manually and automatically\r\n* Handle both lexemes and inflections\r\n* SQL inserts for nouns, verbs and adjectives\r\n\r\nNot included:\r\n\r\n* Selecting text\r\n* Login\r\n* Validation\r\n* IPA input\r\n* Tab indexes and access keys\r\n* Security considerations","creator":{"login":"gustafl","id":7037538,"avatar_url":"https://avatars.githubusercontent.com/u/7037538?v=3","gravatar_id":"","url":"https://api.github.com/users/gustafl","html_url":"https://github.com/gustafl","followers_url":"https://api.github.com/users/gustafl/followers","following_url":"https://api.github.com/users/gustafl/following{/other_user}","gists_url":"https://api.github.com/users/gustafl/gists{/gist_id}","starred_url":"https://api.github.com/users/gustafl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gustafl/subscriptions","organizations_url":"https://api.github.com/users/gustafl/orgs","repos_url":"https://api.github.com/users/gustafl/repos","events_url":"https://api.github.com/users/gustafl/events{/privacy}","received_events_url":"https://api.github.com/users/gustafl/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":19,"state":"open","created_at":"2016-02-15T02:17:25Z","updated_at":"2016-02-24T03:02:32Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2016-02-15T01:30:05Z","updated_at":"2016-02-24T03:11:52Z","closed_at":null,"body":"The user's progress should be stored locally in the browser until the user explicitly decides to upload it to the server. This needs some thought. What happens with conflicting data?"},"comment":{"url":"https://api.github.com/repos/gustafl/lexeme/issues/comments/188037721","html_url":"https://github.com/gustafl/lexeme/issues/10#issuecomment-188037721","issue_url":"https://api.github.com/repos/gustafl/lexeme/issues/10","id":188037721,"user":{"login":"gustafl","id":7037538,"avatar_url":"https://avatars.githubusercontent.com/u/7037538?v=3","gravatar_id":"","url":"https://api.github.com/users/gustafl","html_url":"https://github.com/gustafl","followers_url":"https://api.github.com/users/gustafl/followers","following_url":"https://api.github.com/users/gustafl/following{/other_user}","gists_url":"https://api.github.com/users/gustafl/gists{/gist_id}","starred_url":"https://api.github.com/users/gustafl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gustafl/subscriptions","organizations_url":"https://api.github.com/users/gustafl/orgs","repos_url":"https://api.github.com/users/gustafl/repos","events_url":"https://api.github.com/users/gustafl/events{/privacy}","received_events_url":"https://api.github.com/users/gustafl/received_events","type":"User","site_admin":false},"created_at":"2016-02-24T03:11:52Z","updated_at":"2016-02-24T03:11:52Z","body":"Here's the basic code to work with Web Storage:\r\n\r\n```js\r\n// Get LocalStorage object\r\nvar storage = window.localStorage;\r\n\r\n// Check if key/value pair exists\r\nif (storage.firstName === undefined) {\r\n    ...\r\n}\r\n\r\n// Set value of key/value pair\r\nstorage.firstName = 'Gustaf';\r\n\r\n// Get value of key/value pair\r\nvar firstName = storage.firstName;\r\n```"}}