{"action":"opened","issue":{"url":"https://api.github.com/repos/chrsmith/html5rocks/issues/427","labels_url":"https://api.github.com/repos/chrsmith/html5rocks/issues/427/labels{/name}","comments_url":"https://api.github.com/repos/chrsmith/html5rocks/issues/427/comments","events_url":"https://api.github.com/repos/chrsmith/html5rocks/issues/427/events","html_url":"https://github.com/chrsmith/html5rocks/issues/427","id":59384610,"number":427,"title":"localStorage example code doesn't match example functionality","user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-01T06:37:02Z","updated_at":"2015-03-01T06:37:02Z","closed_at":null,"body":"```\n-Please describe the issue:\nhttp://slides.html5rocks.com/#web-storage\nthe example code (as shown) attaches the function to the textarea keyup event, \nwhereas the working example attaches the function to the save button's click \nevent:\ndocument.querySelector('#save-ta').addEventListener('click', function () { \n\nit's not terribly confusing but ideally the code shown would match the example \nin functionality.\n\nThank you,\nSequoia\n```\n\nOriginal issue reported on code.google.com by `sequoia....@gmail.com` on 9 Feb 2011 at 8:39"}}