{"action":"opened","issue":{"url":"https://api.github.com/repos/gcofficial/tm-real-estate/issues/37","repository_url":"https://api.github.com/repos/gcofficial/tm-real-estate","labels_url":"https://api.github.com/repos/gcofficial/tm-real-estate/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/gcofficial/tm-real-estate/issues/37/comments","events_url":"https://api.github.com/repos/gcofficial/tm-real-estate/issues/37/events","html_url":"https://github.com/gcofficial/tm-real-estate/issues/37","id":150882708,"number":37,"title":"CR: assets\\js\\submit-form.js","user":{"login":"dkfiresky","id":2175645,"avatar_url":"https://avatars.githubusercontent.com/u/2175645?v=3","gravatar_id":"","url":"https://api.github.com/users/dkfiresky","html_url":"https://github.com/dkfiresky","followers_url":"https://api.github.com/users/dkfiresky/followers","following_url":"https://api.github.com/users/dkfiresky/following{/other_user}","gists_url":"https://api.github.com/users/dkfiresky/gists{/gist_id}","starred_url":"https://api.github.com/users/dkfiresky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkfiresky/subscriptions","organizations_url":"https://api.github.com/users/dkfiresky/orgs","repos_url":"https://api.github.com/users/dkfiresky/repos","events_url":"https://api.github.com/users/dkfiresky/events{/privacy}","received_events_url":"https://api.github.com/users/dkfiresky/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-25T14:39:07Z","updated_at":"2016-04-25T14:39:07Z","closed_at":null,"body":"**Code Review**: assets\\js\\submit-form.js\r\n\r\n- Use tabs (tab sign, 1 tab = 4 spaces) instead of spaces.\r\n\r\n- **Line [8](https://github.com/gcofficial/tm-real-estate/blob/master/assets/js/submit-form.js#L8)**\r\n    `'use strict';` should be defined at the top of the function body declaration.\r\n\r\n- **Line [22](https://github.com/gcofficial/tm-real-estate/blob/master/assets/js/submit-form.js#L22)**\r\n    Variable should be defined outside the loop, this will increase the performance.\r\n\r\n- **Lines [35-36](https://github.com/gcofficial/tm-real-estate/blob/master/assets/js/submit-form.js#L35-L36)**\r\n    `4` tabs expected, `5` found.\r\n\r\n- **Lines [38-40](https://github.com/gcofficial/tm-real-estate/blob/master/assets/js/submit-form.js#L38-L40), Lines [43-45](https://github.com/gcofficial/tm-real-estate/blob/master/assets/js/submit-form.js#L43-L45), Lines [49-50](https://github.com/gcofficial/tm-real-estate/blob/master/assets/js/submit-form.js#L49-L50)**\r\n    Formatting issues.\r\n\r\n- **Line [64](https://github.com/gcofficial/tm-real-estate/blob/master/assets/js/submit-form.js#L64)**\r\n    Unexpected space character."}}