{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/telemetry-dashboard/issues/191","labels_url":"https://api.github.com/repos/mozilla/telemetry-dashboard/issues/191/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/telemetry-dashboard/issues/191/comments","events_url":"https://api.github.com/repos/mozilla/telemetry-dashboard/issues/191/events","html_url":"https://github.com/mozilla/telemetry-dashboard/pull/191","id":116124679,"number":191,"title":"Ignore subsequent calls to v2/telemetry.js' Telemetry.init().","user":{"login":"chutten","id":1123376,"avatar_url":"https://avatars.githubusercontent.com/u/1123376?v=3","gravatar_id":"","url":"https://api.github.com/users/chutten","html_url":"https://github.com/chutten","followers_url":"https://api.github.com/users/chutten/followers","following_url":"https://api.github.com/users/chutten/following{/other_user}","gists_url":"https://api.github.com/users/chutten/gists{/gist_id}","starred_url":"https://api.github.com/users/chutten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chutten/subscriptions","organizations_url":"https://api.github.com/users/chutten/orgs","repos_url":"https://api.github.com/users/chutten/repos","events_url":"https://api.github.com/users/chutten/events{/privacy}","received_events_url":"https://api.github.com/users/chutten/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-11-10T15:06:37Z","updated_at":"2015-11-10T20:46:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mozilla/telemetry-dashboard/pulls/191","html_url":"https://github.com/mozilla/telemetry-dashboard/pull/191","diff_url":"https://github.com/mozilla/telemetry-dashboard/pull/191.diff","patch_url":"https://github.com/mozilla/telemetry-dashboard/pull/191.patch"},"body":"If you have a long-lived script, you will have to reload the page so that\r\nTelemetry.init can be called again when another date's data is available.\r\n\r\nWithout this, calling Telemetry.init over and over again could cause callbacks\r\nto be called when the internal version->date structures are in an inconsistent\r\nstate."},"comment":{"url":"https://api.github.com/repos/mozilla/telemetry-dashboard/issues/comments/155560660","html_url":"https://github.com/mozilla/telemetry-dashboard/pull/191#issuecomment-155560660","issue_url":"https://api.github.com/repos/mozilla/telemetry-dashboard/issues/191","id":155560660,"user":{"login":"chutten","id":1123376,"avatar_url":"https://avatars.githubusercontent.com/u/1123376?v=3","gravatar_id":"","url":"https://api.github.com/users/chutten","html_url":"https://github.com/chutten","followers_url":"https://api.github.com/users/chutten/followers","following_url":"https://api.github.com/users/chutten/following{/other_user}","gists_url":"https://api.github.com/users/chutten/gists{/gist_id}","starred_url":"https://api.github.com/users/chutten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chutten/subscriptions","organizations_url":"https://api.github.com/users/chutten/orgs","repos_url":"https://api.github.com/users/chutten/repos","events_url":"https://api.github.com/users/chutten/events{/privacy}","received_events_url":"https://api.github.com/users/chutten/received_events","type":"User","site_admin":false},"created_at":"2015-11-10T20:46:27Z","updated_at":"2015-11-10T20:46:27Z","body":"For slightly more trouble I can keep an array of callbacks and call them all in order once the first init's done. Bonus: no exception. Let me play with the code..."}}