{"action":"created","issue":{"url":"https://api.github.com/repos/radiodan/radiodan.js/issues/5","labels_url":"https://api.github.com/repos/radiodan/radiodan.js/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/radiodan/radiodan.js/issues/5/comments","events_url":"https://api.github.com/repos/radiodan/radiodan.js/issues/5/events","html_url":"https://github.com/radiodan/radiodan.js/pull/5","id":57479887,"number":5,"title":"Add jshint and 'use strict'","user":{"login":"chrisn","id":57790,"avatar_url":"https://avatars.githubusercontent.com/u/57790?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisn","html_url":"https://github.com/chrisn","followers_url":"https://api.github.com/users/chrisn/followers","following_url":"https://api.github.com/users/chrisn/following{/other_user}","gists_url":"https://api.github.com/users/chrisn/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisn/subscriptions","organizations_url":"https://api.github.com/users/chrisn/orgs","repos_url":"https://api.github.com/users/chrisn/repos","events_url":"https://api.github.com/users/chrisn/events{/privacy}","received_events_url":"https://api.github.com/users/chrisn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-12T16:05:58Z","updated_at":"2015-02-12T16:31:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/radiodan/radiodan.js/pulls/5","html_url":"https://github.com/radiodan/radiodan.js/pull/5","diff_url":"https://github.com/radiodan/radiodan.js/pull/5.diff","patch_url":"https://github.com/radiodan/radiodan.js/pull/5.patch"},"body":"Hi,\r\n\r\nI'd like to add jshint code verification, and enable [strict mode](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode) in the radiodan.js codebase. These are both useful for finding potential errors in the code. I've added this to the project's Gruntfile and made code changes to fix any warnings generated (these were mostly syntactic). The default grunt task now runs jshint before running the unit tests and `grunt jshint` will run just the jshint step.\r\n\r\nI hope this is OK!\r\n\r\nChris\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/radiodan/radiodan.js/issues/comments/74102265","html_url":"https://github.com/radiodan/radiodan.js/pull/5#issuecomment-74102265","issue_url":"https://api.github.com/repos/radiodan/radiodan.js/issues/5","id":74102265,"user":{"login":"chrisn","id":57790,"avatar_url":"https://avatars.githubusercontent.com/u/57790?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisn","html_url":"https://github.com/chrisn","followers_url":"https://api.github.com/users/chrisn/followers","following_url":"https://api.github.com/users/chrisn/following{/other_user}","gists_url":"https://api.github.com/users/chrisn/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisn/subscriptions","organizations_url":"https://api.github.com/users/chrisn/orgs","repos_url":"https://api.github.com/users/chrisn/repos","events_url":"https://api.github.com/users/chrisn/events{/privacy}","received_events_url":"https://api.github.com/users/chrisn/received_events","type":"User","site_admin":false},"created_at":"2015-02-12T16:31:23Z","updated_at":"2015-02-12T16:31:23Z","body":"Thanks Dan. I normally run it manually, but `grunt watch` will run jshint and the unit tests when files are changed."}}