{"action":"created","issue":{"url":"https://api.github.com/repos/mcavage/node-restify/issues/729","labels_url":"https://api.github.com/repos/mcavage/node-restify/issues/729/labels{/name}","comments_url":"https://api.github.com/repos/mcavage/node-restify/issues/729/comments","events_url":"https://api.github.com/repos/mcavage/node-restify/issues/729/events","html_url":"https://github.com/mcavage/node-restify/pull/729","id":52668461,"number":729,"title":"Added typeof check to the jsonp callback","user":{"login":"mbjordan","id":331754,"avatar_url":"https://avatars.githubusercontent.com/u/331754?v=3","gravatar_id":"","url":"https://api.github.com/users/mbjordan","html_url":"https://github.com/mbjordan","followers_url":"https://api.github.com/users/mbjordan/followers","following_url":"https://api.github.com/users/mbjordan/following{/other_user}","gists_url":"https://api.github.com/users/mbjordan/gists{/gist_id}","starred_url":"https://api.github.com/users/mbjordan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbjordan/subscriptions","organizations_url":"https://api.github.com/users/mbjordan/orgs","repos_url":"https://api.github.com/users/mbjordan/repos","events_url":"https://api.github.com/users/mbjordan/events{/privacy}","received_events_url":"https://api.github.com/users/mbjordan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-12-22T17:08:00Z","updated_at":"2015-02-25T21:49:57Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mcavage/node-restify/pulls/729","html_url":"https://github.com/mcavage/node-restify/pull/729","diff_url":"https://github.com/mcavage/node-restify/pull/729.diff","patch_url":"https://github.com/mcavage/node-restify/pull/729.patch"},"body":"When getting data via a jsonp request, its useful to have a check that ensures the callback function is defined before calling it. This prevents a reference error from being thrown in the browser if a function name is not defined when data is returned."},"comment":{"url":"https://api.github.com/repos/mcavage/node-restify/issues/comments/76068008","html_url":"https://github.com/mcavage/node-restify/pull/729#issuecomment-76068008","issue_url":"https://api.github.com/repos/mcavage/node-restify/issues/729","id":76068008,"user":{"login":"yunong","id":1226256,"avatar_url":"https://avatars.githubusercontent.com/u/1226256?v=3","gravatar_id":"","url":"https://api.github.com/users/yunong","html_url":"https://github.com/yunong","followers_url":"https://api.github.com/users/yunong/followers","following_url":"https://api.github.com/users/yunong/following{/other_user}","gists_url":"https://api.github.com/users/yunong/gists{/gist_id}","starred_url":"https://api.github.com/users/yunong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yunong/subscriptions","organizations_url":"https://api.github.com/users/yunong/orgs","repos_url":"https://api.github.com/users/yunong/repos","events_url":"https://api.github.com/users/yunong/events{/privacy}","received_events_url":"https://api.github.com/users/yunong/received_events","type":"User","site_admin":false},"created_at":"2015-02-25T21:49:57Z","updated_at":"2015-02-25T21:49:57Z","body":"Hi, thanks for contributing! Could you please add a unit test for this? Please prefix the name with \"gh #729\"."}}