{"action":"opened","issue":{"url":"https://api.github.com/repos/maddiereddy/PlugHubs/issues/1","repository_url":"https://api.github.com/repos/maddiereddy/PlugHubs","labels_url":"https://api.github.com/repos/maddiereddy/PlugHubs/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/maddiereddy/PlugHubs/issues/1/comments","events_url":"https://api.github.com/repos/maddiereddy/PlugHubs/issues/1/events","html_url":"https://github.com/maddiereddy/PlugHubs/issues/1","id":296836611,"number":1,"title":"Obtrusive javascript mingled with unobtrusive javascript","user":{"login":"thujone","id":591501,"avatar_url":"https://avatars1.githubusercontent.com/u/591501?v=4","gravatar_id":"","url":"https://api.github.com/users/thujone","html_url":"https://github.com/thujone","followers_url":"https://api.github.com/users/thujone/followers","following_url":"https://api.github.com/users/thujone/following{/other_user}","gists_url":"https://api.github.com/users/thujone/gists{/gist_id}","starred_url":"https://api.github.com/users/thujone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thujone/subscriptions","organizations_url":"https://api.github.com/users/thujone/orgs","repos_url":"https://api.github.com/users/thujone/repos","events_url":"https://api.github.com/users/thujone/events{/privacy}","received_events_url":"https://api.github.com/users/thujone/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-13T18:16:58Z","updated_at":"2018-02-13T18:16:58Z","closed_at":null,"author_association":"NONE","body":"https://github.com/maddiereddy/PlugHubs/blob/72e762b8d98d4b1165c0d5edd0b40da4aaccf928/index.html#L18\r\n\r\nIt can be argued what is better, obtrusive javascript or unobtrusive javascript. React and Vue components often call for obtrusive javascript, but unobtrusive (with jquery) has been the standard for over ten years. What you most likely shouldn't do is mingle both approaches within the same app. For this app, I would recommend you use the jquery unobtrusive style, which means you would take all these inline javascript event handlers and move them into a section in your javascript."}}
{"actor":{"display_login":"thujone"}}