{"action":"created","issue":{"url":"https://api.github.com/repos/cloudera/hue/issues/424","repository_url":"https://api.github.com/repos/cloudera/hue","labels_url":"https://api.github.com/repos/cloudera/hue/issues/424/labels{/name}","comments_url":"https://api.github.com/repos/cloudera/hue/issues/424/comments","events_url":"https://api.github.com/repos/cloudera/hue/issues/424/events","html_url":"https://github.com/cloudera/hue/pull/424","id":176320357,"number":424,"title":"Correct check for undefined variable","user":{"login":"mathiasrw","id":1063454,"avatar_url":"https://avatars.githubusercontent.com/u/1063454?v=3","gravatar_id":"","url":"https://api.github.com/users/mathiasrw","html_url":"https://github.com/mathiasrw","followers_url":"https://api.github.com/users/mathiasrw/followers","following_url":"https://api.github.com/users/mathiasrw/following{/other_user}","gists_url":"https://api.github.com/users/mathiasrw/gists{/gist_id}","starred_url":"https://api.github.com/users/mathiasrw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mathiasrw/subscriptions","organizations_url":"https://api.github.com/users/mathiasrw/orgs","repos_url":"https://api.github.com/users/mathiasrw/repos","events_url":"https://api.github.com/users/mathiasrw/events{/privacy}","received_events_url":"https://api.github.com/users/mathiasrw/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-12T08:30:10Z","updated_at":"2016-09-12T21:35:36Z","closed_at":"2016-09-12T21:34:58Z","pull_request":{"url":"https://api.github.com/repos/cloudera/hue/pulls/424","html_url":"https://github.com/cloudera/hue/pull/424","diff_url":"https://github.com/cloudera/hue/pull/424.diff","patch_url":"https://github.com/cloudera/hue/pull/424.patch"},"body":"The code was comparing the result of `typeof` with a variable named `undefined`. As typeof returns a string it should compare to `'undefined'`.\r\n\r\nWhat we really want is to check if `callback` is a function, so I changed the nature of the `if` condition."},"comment":{"url":"https://api.github.com/repos/cloudera/hue/issues/comments/246501944","html_url":"https://github.com/cloudera/hue/pull/424#issuecomment-246501944","issue_url":"https://api.github.com/repos/cloudera/hue/issues/424","id":246501944,"user":{"login":"romainr","id":17945,"avatar_url":"https://avatars.githubusercontent.com/u/17945?v=3","gravatar_id":"","url":"https://api.github.com/users/romainr","html_url":"https://github.com/romainr","followers_url":"https://api.github.com/users/romainr/followers","following_url":"https://api.github.com/users/romainr/following{/other_user}","gists_url":"https://api.github.com/users/romainr/gists{/gist_id}","starred_url":"https://api.github.com/users/romainr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romainr/subscriptions","organizations_url":"https://api.github.com/users/romainr/orgs","repos_url":"https://api.github.com/users/romainr/repos","events_url":"https://api.github.com/users/romainr/events{/privacy}","received_events_url":"https://api.github.com/users/romainr/received_events","type":"User","site_admin":false},"created_at":"2016-09-12T21:35:36Z","updated_at":"2016-09-12T21:35:36Z","body":"Thanks!\r\n\r\nAnd would you mind adding your name to the list of legal contributor names? https://github.com/cloudera/hue/wiki/Ccla#online-form"}}
{"actor":{"display_login":"romainr"}}