{"action":"created","issue":{"url":"https://api.github.com/repos/mjackson/history/issues/314","repository_url":"https://api.github.com/repos/mjackson/history","labels_url":"https://api.github.com/repos/mjackson/history/issues/314/labels{/name}","comments_url":"https://api.github.com/repos/mjackson/history/issues/314/comments","events_url":"https://api.github.com/repos/mjackson/history/issues/314/events","html_url":"https://github.com/mjackson/history/pull/314","id":160782713,"number":314,"title":"Update createHistory.js","user":{"login":"dckesler","id":8698308,"avatar_url":"https://avatars.githubusercontent.com/u/8698308?v=3","gravatar_id":"","url":"https://api.github.com/users/dckesler","html_url":"https://github.com/dckesler","followers_url":"https://api.github.com/users/dckesler/followers","following_url":"https://api.github.com/users/dckesler/following{/other_user}","gists_url":"https://api.github.com/users/dckesler/gists{/gist_id}","starred_url":"https://api.github.com/users/dckesler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dckesler/subscriptions","organizations_url":"https://api.github.com/users/dckesler/orgs","repos_url":"https://api.github.com/users/dckesler/repos","events_url":"https://api.github.com/users/dckesler/events{/privacy}","received_events_url":"https://api.github.com/users/dckesler/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-06-16T23:24:29Z","updated_at":"2016-08-18T05:35:47Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mjackson/history/pulls/314","html_url":"https://github.com/mjackson/history/pull/314","diff_url":"https://github.com/mjackson/history/pull/314.diff","patch_url":"https://github.com/mjackson/history/pull/314.patch"},"body":"When using this library, my coworker and I ran into a problem with the location being stale. After creating history we would need to turn off the event listeners, and then at a later point re-enable the history and event listeners. Unfortunately, when the listen function ran after re-enabling history `location` was the url of when we disabled history rather than being reflective of the current url. By running `getCurrentLocation` on each listen the location is always current."},"comment":{"url":"https://api.github.com/repos/mjackson/history/issues/comments/240628397","html_url":"https://github.com/mjackson/history/pull/314#issuecomment-240628397","issue_url":"https://api.github.com/repos/mjackson/history/issues/314","id":240628397,"user":{"login":"taion","id":3112159,"avatar_url":"https://avatars.githubusercontent.com/u/3112159?v=3","gravatar_id":"","url":"https://api.github.com/users/taion","html_url":"https://github.com/taion","followers_url":"https://api.github.com/users/taion/followers","following_url":"https://api.github.com/users/taion/following{/other_user}","gists_url":"https://api.github.com/users/taion/gists{/gist_id}","starred_url":"https://api.github.com/users/taion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taion/subscriptions","organizations_url":"https://api.github.com/users/taion/orgs","repos_url":"https://api.github.com/users/taion/repos","events_url":"https://api.github.com/users/taion/events{/privacy}","received_events_url":"https://api.github.com/users/taion/received_events","type":"User","site_admin":false},"created_at":"2016-08-18T05:35:47Z","updated_at":"2016-08-18T05:35:47Z","body":"It's a dumb Safari thing. Unrelated to this PR."}}
{"actor":{"display_login":"taion"}}