{"action":"created","issue":{"url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/issues/679","repository_url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib","labels_url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/issues/679/labels{/name}","comments_url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/issues/679/comments","events_url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/issues/679/events","html_url":"https://github.com/bitcoinjs/bitcoinjs-lib/pull/679","id":185613095,"number":679,"title":"Replace script type strings with constants","user":{"login":"afk11","id":5617245,"avatar_url":"https://avatars.githubusercontent.com/u/5617245?v=3","gravatar_id":"","url":"https://api.github.com/users/afk11","html_url":"https://github.com/afk11","followers_url":"https://api.github.com/users/afk11/followers","following_url":"https://api.github.com/users/afk11/following{/other_user}","gists_url":"https://api.github.com/users/afk11/gists{/gist_id}","starred_url":"https://api.github.com/users/afk11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afk11/subscriptions","organizations_url":"https://api.github.com/users/afk11/orgs","repos_url":"https://api.github.com/users/afk11/repos","events_url":"https://api.github.com/users/afk11/events{/privacy}","received_events_url":"https://api.github.com/users/afk11/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-27T09:10:11Z","updated_at":"2016-10-28T04:14:41Z","closed_at":"2016-10-28T04:14:41Z","pull_request":{"url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/pulls/679","html_url":"https://github.com/bitcoinjs/bitcoinjs-lib/pull/679","diff_url":"https://github.com/bitcoinjs/bitcoinjs-lib/pull/679.diff","patch_url":"https://github.com/bitcoinjs/bitcoinjs-lib/pull/679.patch"},"body":"I find it's good practice to avoid repetitively using a string values throughout code. \r\n  * It generally makes it easier for consumers of the library to check the correct value should they ever change\r\n  * IDE's will complain if you've typed the wrong string\r\n\r\nAlso added an npm script to fix the code style: `npm run standard-fixer`"},"comment":{"url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/issues/comments/256832358","html_url":"https://github.com/bitcoinjs/bitcoinjs-lib/pull/679#issuecomment-256832358","issue_url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/issues/679","id":256832358,"user":{"login":"dcousens","id":413395,"avatar_url":"https://avatars.githubusercontent.com/u/413395?v=3","gravatar_id":"","url":"https://api.github.com/users/dcousens","html_url":"https://github.com/dcousens","followers_url":"https://api.github.com/users/dcousens/followers","following_url":"https://api.github.com/users/dcousens/following{/other_user}","gists_url":"https://api.github.com/users/dcousens/gists{/gist_id}","starred_url":"https://api.github.com/users/dcousens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcousens/subscriptions","organizations_url":"https://api.github.com/users/dcousens/orgs","repos_url":"https://api.github.com/users/dcousens/repos","events_url":"https://api.github.com/users/dcousens/events{/privacy}","received_events_url":"https://api.github.com/users/dcousens/received_events","type":"User","site_admin":false},"created_at":"2016-10-28T04:14:41Z","updated_at":"2016-10-28T04:14:41Z","body":"concept ACK"}}
{"actor":{"display_login":"dcousens"}}