{"action":"opened","issue":{"url":"https://api.github.com/repos/toobigtoignore/issf/issues/25","repository_url":"https://api.github.com/repos/toobigtoignore/issf","labels_url":"https://api.github.com/repos/toobigtoignore/issf/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/toobigtoignore/issf/issues/25/comments","events_url":"https://api.github.com/repos/toobigtoignore/issf/issues/25/events","html_url":"https://github.com/toobigtoignore/issf/issues/25","id":381995445,"node_id":"MDU6SXNzdWUzODE5OTU0NDU=","number":25,"title":"Remove arbitrary console logs","user":{"login":"jackharrhy","id":6486417,"node_id":"MDQ6VXNlcjY0ODY0MTc=","avatar_url":"https://avatars3.githubusercontent.com/u/6486417?v=4","gravatar_id":"","url":"https://api.github.com/users/jackharrhy","html_url":"https://github.com/jackharrhy","followers_url":"https://api.github.com/users/jackharrhy/followers","following_url":"https://api.github.com/users/jackharrhy/following{/other_user}","gists_url":"https://api.github.com/users/jackharrhy/gists{/gist_id}","starred_url":"https://api.github.com/users/jackharrhy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jackharrhy/subscriptions","organizations_url":"https://api.github.com/users/jackharrhy/orgs","repos_url":"https://api.github.com/users/jackharrhy/repos","events_url":"https://api.github.com/users/jackharrhy/events{/privacy}","received_events_url":"https://api.github.com/users/jackharrhy/received_events","type":"User","site_admin":false},"labels":[{"id":984048843,"node_id":"MDU6TGFiZWw5ODQwNDg4NDM=","url":"https://api.github.com/repos/toobigtoignore/issf/labels/good%20first%20issue","name":"good first issue","color":"7057ff","default":true},{"id":984048844,"node_id":"MDU6TGFiZWw5ODQwNDg4NDQ=","url":"https://api.github.com/repos/toobigtoignore/issf/labels/invalid","name":"invalid","color":"e4e669","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-18T20:12:11Z","updated_at":"2018-11-18T20:12:11Z","closed_at":null,"author_association":"NONE","body":"**Describe the bug**\r\nRandom console logs seem to be have left around the project that are no longer needed/running on production when they shouldn't\r\n\r\n**To Reproduce**\r\n1. Go to 'https://issfcloud.toobigtoignore.net/'\r\n2. View dev. console\r\n3. See many arbitrary logs from random scripts scattered around the main `index.html` page. \r\n\r\n**Expected behavior**\r\nLogs _should_ be for important issues, not just stating things about that page as it is loading.\r\n\r\nOr should only log if something such as a `DEBUG` environment variable is handed to the container; not on production.\r\n\r\n**Screenshots**\r\n\r\n![image](https://user-images.githubusercontent.com/6486417/48677488-46a61280-eb50-11e8-851a-d1db8ca66a44.png)\r\n\r\nCode snippets such as:\r\n\r\n```javascript\r\nif (searchterms !== null && searchterms !== \"null\" && searchterms !== \"undefined\" && typeof searchterms !== \"undefined\") {\r\n    console.log(typeof searchterms); // someone really really really really really doesn't want this to be null\r\n    $('#searchTerms').html(\"<strong>Current Search Terms:</strong> \" + searchterms + \" \" + tableDataSource.length + \" records)\");\r\n}\r\n```\r\n"}}
{"actor":{"display_login":"jackharrhy"}}