{"action":"created","issue":{"url":"https://api.github.com/repos/jquery/learn.jquery.com/issues/545","labels_url":"https://api.github.com/repos/jquery/learn.jquery.com/issues/545/labels{/name}","comments_url":"https://api.github.com/repos/jquery/learn.jquery.com/issues/545/comments","events_url":"https://api.github.com/repos/jquery/learn.jquery.com/issues/545/events","html_url":"https://github.com/jquery/learn.jquery.com/pull/545","id":39644012,"number":545,"title":"Fix first two code samples.","user":{"login":"PoweredByCoffee","id":5445117,"avatar_url":"https://avatars.githubusercontent.com/u/5445117?v=3","gravatar_id":"","url":"https://api.github.com/users/PoweredByCoffee","html_url":"https://github.com/PoweredByCoffee","followers_url":"https://api.github.com/users/PoweredByCoffee/followers","following_url":"https://api.github.com/users/PoweredByCoffee/following{/other_user}","gists_url":"https://api.github.com/users/PoweredByCoffee/gists{/gist_id}","starred_url":"https://api.github.com/users/PoweredByCoffee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PoweredByCoffee/subscriptions","organizations_url":"https://api.github.com/users/PoweredByCoffee/orgs","repos_url":"https://api.github.com/users/PoweredByCoffee/repos","events_url":"https://api.github.com/users/PoweredByCoffee/events{/privacy}","received_events_url":"https://api.github.com/users/PoweredByCoffee/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jquery/learn.jquery.com/labels/Needs+CLA+signature","name":"Needs CLA signature","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-08-06T17:16:52Z","updated_at":"2015-01-05T19:34:04Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jquery/learn.jquery.com/pulls/545","html_url":"https://github.com/jquery/learn.jquery.com/pull/545","diff_url":"https://github.com/jquery/learn.jquery.com/pull/545.diff","patch_url":"https://github.com/jquery/learn.jquery.com/pull/545.patch"},"body":"The original sample below will really give out a Reference Error since the function wasn't called in the first place.\r\n\r\n```js\r\nfunction myFunc() { x = 5; }\r\nconsole.log( x ); // 5\r\n```\r\nIt should be:\r\n```js\r\nfunction myFunc() { x = 5; }\r\nmyFunc()\r\nconsole.log( x ); // 5\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/jquery/learn.jquery.com/issues/comments/68762620","html_url":"https://github.com/jquery/learn.jquery.com/pull/545#issuecomment-68762620","issue_url":"https://api.github.com/repos/jquery/learn.jquery.com/issues/545","id":68762620,"user":{"login":"arthurvr","id":6025224,"avatar_url":"https://avatars.githubusercontent.com/u/6025224?v=3","gravatar_id":"","url":"https://api.github.com/users/arthurvr","html_url":"https://github.com/arthurvr","followers_url":"https://api.github.com/users/arthurvr/followers","following_url":"https://api.github.com/users/arthurvr/following{/other_user}","gists_url":"https://api.github.com/users/arthurvr/gists{/gist_id}","starred_url":"https://api.github.com/users/arthurvr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arthurvr/subscriptions","organizations_url":"https://api.github.com/users/arthurvr/orgs","repos_url":"https://api.github.com/users/arthurvr/repos","events_url":"https://api.github.com/users/arthurvr/events{/privacy}","received_events_url":"https://api.github.com/users/arthurvr/received_events","type":"User","site_admin":false},"created_at":"2015-01-05T19:34:04Z","updated_at":"2015-01-05T19:34:04Z","body":"Perfect."}}