{"action":"created","issue":{"url":"https://api.github.com/repos/ethereum/ethereum-org/issues/625","repository_url":"https://api.github.com/repos/ethereum/ethereum-org","labels_url":"https://api.github.com/repos/ethereum/ethereum-org/issues/625/labels{/name}","comments_url":"https://api.github.com/repos/ethereum/ethereum-org/issues/625/comments","events_url":"https://api.github.com/repos/ethereum/ethereum-org/issues/625/events","html_url":"https://github.com/ethereum/ethereum-org/issues/625","id":245137755,"number":625,"title":"throw depreciated doc update","user":{"login":"julesmoretti","id":744300,"avatar_url":"https://avatars1.githubusercontent.com/u/744300?v=4","gravatar_id":"","url":"https://api.github.com/users/julesmoretti","html_url":"https://github.com/julesmoretti","followers_url":"https://api.github.com/users/julesmoretti/followers","following_url":"https://api.github.com/users/julesmoretti/following{/other_user}","gists_url":"https://api.github.com/users/julesmoretti/gists{/gist_id}","starred_url":"https://api.github.com/users/julesmoretti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julesmoretti/subscriptions","organizations_url":"https://api.github.com/users/julesmoretti/orgs","repos_url":"https://api.github.com/users/julesmoretti/repos","events_url":"https://api.github.com/users/julesmoretti/events{/privacy}","received_events_url":"https://api.github.com/users/julesmoretti/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-07-24T16:33:33Z","updated_at":"2017-08-17T13:44:42Z","closed_at":null,"body":"Hello there:\r\n\r\nWas trying to get my hands dirty and follow one of your tutorials but copying and pasting your code did not work due to the new `throw` depreciation in favor to other things.\r\n\r\n![screen shot 2017-07-24 at 9 33 01 am](https://user-images.githubusercontent.com/744300/28533753-1e5caf42-7053-11e7-8699-af2172b8a577.png)\r\n\r\nSo please update ethereum-org/views/content/token.md\r\n\r\nAnd let me know how you would rewrite the following:\r\n\r\n```\r\n    /* Send coins */\r\n    function transfer(address _to, uint256 _value) {\r\n        if (balanceOf[msg.sender] < _value) throw;           // Check if the sender has enough\r\n        if (balanceOf[_to] + _value < balanceOf[_to]) throw; // Check for overflows\r\n        balanceOf[msg.sender] -= _value;                     // Subtract from the sender\r\n        balanceOf[_to] += _value;                            // Add the same to the recipient\r\n    }\r\n```"},"comment":{"url":"https://api.github.com/repos/ethereum/ethereum-org/issues/comments/323077749","html_url":"https://github.com/ethereum/ethereum-org/issues/625#issuecomment-323077749","issue_url":"https://api.github.com/repos/ethereum/ethereum-org/issues/625","id":323077749,"user":{"login":"renanserrano","id":20469740,"avatar_url":"https://avatars0.githubusercontent.com/u/20469740?v=4","gravatar_id":"","url":"https://api.github.com/users/renanserrano","html_url":"https://github.com/renanserrano","followers_url":"https://api.github.com/users/renanserrano/followers","following_url":"https://api.github.com/users/renanserrano/following{/other_user}","gists_url":"https://api.github.com/users/renanserrano/gists{/gist_id}","starred_url":"https://api.github.com/users/renanserrano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/renanserrano/subscriptions","organizations_url":"https://api.github.com/users/renanserrano/orgs","repos_url":"https://api.github.com/users/renanserrano/repos","events_url":"https://api.github.com/users/renanserrano/events{/privacy}","received_events_url":"https://api.github.com/users/renanserrano/received_events","type":"User","site_admin":false},"created_at":"2017-08-17T13:44:42Z","updated_at":"2017-08-17T13:44:42Z","body":"@alexvandesande i realized that the code is not updated on the ethereum website, but at github is right =D"}}
{"actor":{"display_login":"renanserrano"}}