{"action":"created","issue":{"url":"https://api.github.com/repos/code-dot-org/code-dot-org/issues/2961","labels_url":"https://api.github.com/repos/code-dot-org/code-dot-org/issues/2961/labels{/name}","comments_url":"https://api.github.com/repos/code-dot-org/code-dot-org/issues/2961/comments","events_url":"https://api.github.com/repos/code-dot-org/code-dot-org/issues/2961/events","html_url":"https://github.com/code-dot-org/code-dot-org/pull/2961","id":91359299,"number":2961,"title":"[Finishes #95291102] Autosave level html","user":{"login":"Bjvanminnen","id":1767466,"avatar_url":"https://avatars.githubusercontent.com/u/1767466?v=3","gravatar_id":"","url":"https://api.github.com/users/Bjvanminnen","html_url":"https://github.com/Bjvanminnen","followers_url":"https://api.github.com/users/Bjvanminnen/followers","following_url":"https://api.github.com/users/Bjvanminnen/following{/other_user}","gists_url":"https://api.github.com/users/Bjvanminnen/gists{/gist_id}","starred_url":"https://api.github.com/users/Bjvanminnen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bjvanminnen/subscriptions","organizations_url":"https://api.github.com/users/Bjvanminnen/orgs","repos_url":"https://api.github.com/users/Bjvanminnen/repos","events_url":"https://api.github.com/users/Bjvanminnen/events{/privacy}","received_events_url":"https://api.github.com/users/Bjvanminnen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-26T20:51:25Z","updated_at":"2015-06-26T21:00:38Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/code-dot-org/code-dot-org/pulls/2961","html_url":"https://github.com/code-dot-org/code-dot-org/pull/2961","diff_url":"https://github.com/code-dot-org/code-dot-org/pull/2961.diff","patch_url":"https://github.com/code-dot-org/code-dot-org/pull/2961.patch"},"body":"- Simplifies save a little more, allowing us to make getEditorSource a local function.\r\n- Check for differences in levelHtml or levelSource when deciding whether to autosave\r\n- Serialize the levelHtml on autosave if we're in design mode, otherwise we're just saving the levelHtml from whenever we last transitioned between code mode/design mode."},"comment":{"url":"https://api.github.com/repos/code-dot-org/code-dot-org/issues/comments/115880434","html_url":"https://github.com/code-dot-org/code-dot-org/pull/2961#issuecomment-115880434","issue_url":"https://api.github.com/repos/code-dot-org/code-dot-org/issues/2961","id":115880434,"user":{"login":"joshlory","id":413693,"avatar_url":"https://avatars.githubusercontent.com/u/413693?v=3","gravatar_id":"","url":"https://api.github.com/users/joshlory","html_url":"https://github.com/joshlory","followers_url":"https://api.github.com/users/joshlory/followers","following_url":"https://api.github.com/users/joshlory/following{/other_user}","gists_url":"https://api.github.com/users/joshlory/gists{/gist_id}","starred_url":"https://api.github.com/users/joshlory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshlory/subscriptions","organizations_url":"https://api.github.com/users/joshlory/orgs","repos_url":"https://api.github.com/users/joshlory/repos","events_url":"https://api.github.com/users/joshlory/events{/privacy}","received_events_url":"https://api.github.com/users/joshlory/received_events","type":"User","site_admin":false},"created_at":"2015-06-26T21:00:38Z","updated_at":"2015-06-26T21:00:38Z","body":"LGTM"}}