{"action":"created","issue":{"url":"https://api.github.com/repos/BBC-News/Imager.js/issues/119","labels_url":"https://api.github.com/repos/BBC-News/Imager.js/issues/119/labels{/name}","comments_url":"https://api.github.com/repos/BBC-News/Imager.js/issues/119/comments","events_url":"https://api.github.com/repos/BBC-News/Imager.js/issues/119/events","html_url":"https://github.com/BBC-News/Imager.js/pull/119","id":53588891,"number":119,"title":"Camel Case new_collection","user":{"login":"marhalpert","id":745640,"avatar_url":"https://avatars.githubusercontent.com/u/745640?v=3","gravatar_id":"","url":"https://api.github.com/users/marhalpert","html_url":"https://github.com/marhalpert","followers_url":"https://api.github.com/users/marhalpert/followers","following_url":"https://api.github.com/users/marhalpert/following{/other_user}","gists_url":"https://api.github.com/users/marhalpert/gists{/gist_id}","starred_url":"https://api.github.com/users/marhalpert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marhalpert/subscriptions","organizations_url":"https://api.github.com/users/marhalpert/orgs","repos_url":"https://api.github.com/users/marhalpert/repos","events_url":"https://api.github.com/users/marhalpert/events{/privacy}","received_events_url":"https://api.github.com/users/marhalpert/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-07T02:04:03Z","updated_at":"2015-01-08T11:55:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/BBC-News/Imager.js/pulls/119","html_url":"https://github.com/BBC-News/Imager.js/pull/119","diff_url":"https://github.com/BBC-News/Imager.js/pull/119.diff","patch_url":"https://github.com/BBC-News/Imager.js/pull/119.patch"},"body":"When I run fixmyjs on imager.js this is what I get:\r\n\r\n`function applyEach(collection, callbackEach) {\r\n    var i = 0, length = collection.length, newCollection = [];\r\n    for (; i < length; i++) {\r\n      new_collection[i] = callbackEach(collection[i], i);\r\n    }\r\n    return newCollection;\r\n  }`\r\n\r\nUncaught ReferenceError: new_collection is not defined"},"comment":{"url":"https://api.github.com/repos/BBC-News/Imager.js/issues/comments/69170109","html_url":"https://github.com/BBC-News/Imager.js/pull/119#issuecomment-69170109","issue_url":"https://api.github.com/repos/BBC-News/Imager.js/issues/119","id":69170109,"user":{"login":"oncletom","id":138627,"avatar_url":"https://avatars.githubusercontent.com/u/138627?v=3","gravatar_id":"","url":"https://api.github.com/users/oncletom","html_url":"https://github.com/oncletom","followers_url":"https://api.github.com/users/oncletom/followers","following_url":"https://api.github.com/users/oncletom/following{/other_user}","gists_url":"https://api.github.com/users/oncletom/gists{/gist_id}","starred_url":"https://api.github.com/users/oncletom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oncletom/subscriptions","organizations_url":"https://api.github.com/users/oncletom/orgs","repos_url":"https://api.github.com/users/oncletom/repos","events_url":"https://api.github.com/users/oncletom/events{/privacy}","received_events_url":"https://api.github.com/users/oncletom/received_events","type":"User","site_admin":false},"created_at":"2015-01-08T11:55:42Z","updated_at":"2015-01-08T11:55:42Z","body":"Hello @marhalpert, I suppose it happens because [`camelcase` option is enabled](https://github.com/jshint/fixmyjs#truthy).\r\n\r\nIs there any reason why you run fixmyjs against Imager? The project is already linted against [jshint](https://github.com/BBC-News/Imager.js/blob/master/.jshintrc)."}}