{"action":"created","issue":{"url":"https://api.github.com/repos/MrSwitch/hello.js/issues/374","labels_url":"https://api.github.com/repos/MrSwitch/hello.js/issues/374/labels{/name}","comments_url":"https://api.github.com/repos/MrSwitch/hello.js/issues/374/comments","events_url":"https://api.github.com/repos/MrSwitch/hello.js/issues/374/events","html_url":"https://github.com/MrSwitch/hello.js/issues/374","id":120405147,"number":374,"title":"Detect initial \"loading\" state","user":{"login":"omichelsen","id":876633,"avatar_url":"https://avatars.githubusercontent.com/u/876633?v=3","gravatar_id":"","url":"https://api.github.com/users/omichelsen","html_url":"https://github.com/omichelsen","followers_url":"https://api.github.com/users/omichelsen/followers","following_url":"https://api.github.com/users/omichelsen/following{/other_user}","gists_url":"https://api.github.com/users/omichelsen/gists{/gist_id}","starred_url":"https://api.github.com/users/omichelsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omichelsen/subscriptions","organizations_url":"https://api.github.com/users/omichelsen/orgs","repos_url":"https://api.github.com/users/omichelsen/repos","events_url":"https://api.github.com/users/omichelsen/events{/privacy}","received_events_url":"https://api.github.com/users/omichelsen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/MrSwitch/hello.js/labels/New","name":"New","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-12-04T13:49:19Z","updated_at":"2016-01-06T22:04:40Z","closed_at":"2016-01-06T21:43:46Z","body":"When users come to my website, I would like to know whether hello.js is working (auto-login), so I can show a loading spinner. Also it would help a lot on pages that require auth, to know whether hello.js is working on auth.\r\n\r\nI know I can poke around localStorage myself to see if there is anything saved, but is there an official way - maybe a promise or special event I can listen for?"},"comment":{"url":"https://api.github.com/repos/MrSwitch/hello.js/issues/comments/169477161","html_url":"https://github.com/MrSwitch/hello.js/issues/374#issuecomment-169477161","issue_url":"https://api.github.com/repos/MrSwitch/hello.js/issues/374","id":169477161,"user":{"login":"omichelsen","id":876633,"avatar_url":"https://avatars.githubusercontent.com/u/876633?v=3","gravatar_id":"","url":"https://api.github.com/users/omichelsen","html_url":"https://github.com/omichelsen","followers_url":"https://api.github.com/users/omichelsen/followers","following_url":"https://api.github.com/users/omichelsen/following{/other_user}","gists_url":"https://api.github.com/users/omichelsen/gists{/gist_id}","starred_url":"https://api.github.com/users/omichelsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omichelsen/subscriptions","organizations_url":"https://api.github.com/users/omichelsen/orgs","repos_url":"https://api.github.com/users/omichelsen/repos","events_url":"https://api.github.com/users/omichelsen/events{/privacy}","received_events_url":"https://api.github.com/users/omichelsen/received_events","type":"User","site_admin":false},"created_at":"2016-01-06T22:04:40Z","updated_at":"2016-01-06T22:04:40Z","body":"Awesome, thanks man! :+1: "}}