{"action":"created","comment":{"url":"https://api.github.com/repos/ZeeCoder/z-file-validator/pulls/comments/32558743","id":32558743,"diff_hunk":"@@ -3,6 +3,9 @@ var dom_config = require('z-dom-config');\n function FileValidator($input, dataAttrName, callback) {\n     var self = this;\n \n+    // This boolean variable if equals true, then validate function passes callback functions the all validation code in one array\n+    this.is_fetch_array = false;","path":"FileValidator.js","position":5,"original_position":5,"commit_id":"7702bf9e311a37300672cfe4e4bafb8791b6a296","original_commit_id":"7702bf9e311a37300672cfe4e4bafb8791b6a296","user":{"login":"ZeeCoder","id":3679506,"avatar_url":"https://avatars.githubusercontent.com/u/3679506?v=3","gravatar_id":"","url":"https://api.github.com/users/ZeeCoder","html_url":"https://github.com/ZeeCoder","followers_url":"https://api.github.com/users/ZeeCoder/followers","following_url":"https://api.github.com/users/ZeeCoder/following{/other_user}","gists_url":"https://api.github.com/users/ZeeCoder/gists{/gist_id}","starred_url":"https://api.github.com/users/ZeeCoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZeeCoder/subscriptions","organizations_url":"https://api.github.com/users/ZeeCoder/orgs","repos_url":"https://api.github.com/users/ZeeCoder/repos","events_url":"https://api.github.com/users/ZeeCoder/events{/privacy}","received_events_url":"https://api.github.com/users/ZeeCoder/received_events","type":"User","site_admin":false},"body":"I only use snake_case for local referencies for modules.\r\nLocal variables should use camelCasing.\r\nAlso, the name itself doesn't tell you much, it should be `returnErrorsInArray` instead.\r\n\r\nAlso, the comment should be \"If this boolean variable equals true, then the validation function returns all the possible error codes as an array.\".\r\nAnd don't forget to break the line after 80 characters.","created_at":"2015-06-16T19:09:50Z","updated_at":"2015-06-16T19:09:50Z","html_url":"https://github.com/ZeeCoder/z-file-validator/pull/2#discussion_r32558743","pull_request_url":"https://api.github.com/repos/ZeeCoder/z-file-validator/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/ZeeCoder/z-file-validator/pulls/comments/32558743"},"html":{"href":"https://github.com/ZeeCoder/z-file-validator/pull/2#discussion_r32558743"},"pull_request":{"href":"https://api.github.com/repos/ZeeCoder/z-file-validator/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/ZeeCoder/z-file-validator/pulls/2","id":37813146,"html_url":"https://github.com/ZeeCoder/z-file-validator/pull/2","diff_url":"https://github.com/ZeeCoder/z-file-validator/pull/2.diff","patch_url":"https://github.com/ZeeCoder/z-file-validator/pull/2.patch","issue_url":"https://api.github.com/repos/ZeeCoder/z-file-validator/issues/2","number":2,"state":"open","locked":false,"title":"extension: Returns an array of all the validation code","user":{"login":"Leviatus21","id":4105303,"avatar_url":"https://avatars.githubusercontent.com/u/4105303?v=3","gravatar_id":"","url":"https://api.github.com/users/Leviatus21","html_url":"https://github.com/Leviatus21","followers_url":"https://api.github.com/users/Leviatus21/followers","following_url":"https://api.github.com/users/Leviatus21/following{/other_user}","gists_url":"https://api.github.com/users/Leviatus21/gists{/gist_id}","starred_url":"https://api.github.com/users/Leviatus21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Leviatus21/subscriptions","organizations_url":"https://api.github.com/users/Leviatus21/orgs","repos_url":"https://api.github.com/users/Leviatus21/repos","events_url":"https://api.github.com/users/Leviatus21/events{/privacy}","received_events_url":"https://api.github.com/users/Leviatus21/received_events","type":"User","site_admin":false},"body":"The validationCodesByArray function using the first parameters which the callback receives, validation codes is being stored as an array","created_at":"2015-06-16T16:17:11Z","updated_at":"2015-06-16T19:09:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"99f2d7b58b84c902caaceda5c7bf5a6369bb0cab","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ZeeCoder/z-file-validator/pulls/2/commits","review_comments_url":"https://api.github.com/repos/ZeeCoder/z-file-validator/pulls/2/comments","review_comment_url":"https://api.github.com/repos/ZeeCoder/z-file-validator/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ZeeCoder/z-file-validator/issues/2/comments","statuses_url":"https://api.github.com/repos/ZeeCoder/z-file-validator/statuses/7702bf9e311a37300672cfe4e4bafb8791b6a296","head":{"label":"Leviatus21:master","ref":"master","sha":"7702bf9e311a37300672cfe4e4bafb8791b6a296","user":{"login":"Leviatus21","id":4105303,"avatar_url":"https://avatars.githubusercontent.com/u/4105303?v=3","gravatar_id":"","url":"https://api.github.com/users/Leviatus21","html_url":"https://github.com/Leviatus21","followers_url":"https://api.github.com/users/Leviatus21/followers","following_url":"https://api.github.com/users/Leviatus21/following{/other_user}","gists_url":"https://api.github.com/users/Leviatus21/gists{/gist_id}","starred_url":"https://api.github.com/users/Leviatus21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Leviatus21/subscriptions","organizations_url":"https://api.github.com/users/Leviatus21/orgs","repos_url":"https://api.github.com/users/Leviatus21/repos","events_url":"https://api.github.com/users/Leviatus21/events{/privacy}","received_events_url":"https://api.github.com/users/Leviatus21/received_events","type":"User","site_admin":false},"repo":{"id":37536499,"name":"z-file-validator","full_name":"Leviatus21/z-file-validator","owner":{"login":"Leviatus21","id":4105303,"avatar_url":"https://avatars.githubusercontent.com/u/4105303?v=3","gravatar_id":"","url":"https://api.github.com/users/Leviatus21","html_url":"https://github.com/Leviatus21","followers_url":"https://api.github.com/users/Leviatus21/followers","following_url":"https://api.github.com/users/Leviatus21/following{/other_user}","gists_url":"https://api.github.com/users/Leviatus21/gists{/gist_id}","starred_url":"https://api.github.com/users/Leviatus21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Leviatus21/subscriptions","organizations_url":"https://api.github.com/users/Leviatus21/orgs","repos_url":"https://api.github.com/users/Leviatus21/repos","events_url":"https://api.github.com/users/Leviatus21/events{/privacy}","received_events_url":"https://api.github.com/users/Leviatus21/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Leviatus21/z-file-validator","description":"Validates a file input based on the provided configurations.","fork":true,"url":"https://api.github.com/repos/Leviatus21/z-file-validator","forks_url":"https://api.github.com/repos/Leviatus21/z-file-validator/forks","keys_url":"https://api.github.com/repos/Leviatus21/z-file-validator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Leviatus21/z-file-validator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Leviatus21/z-file-validator/teams","hooks_url":"https://api.github.com/repos/Leviatus21/z-file-validator/hooks","issue_events_url":"https://api.github.com/repos/Leviatus21/z-file-validator/issues/events{/number}","events_url":"https://api.github.com/repos/Leviatus21/z-file-validator/events","assignees_url":"https://api.github.com/repos/Leviatus21/z-file-validator/assignees{/user}","branches_url":"https://api.github.com/repos/Leviatus21/z-file-validator/branches{/branch}","tags_url":"https://api.github.com/repos/Leviatus21/z-file-validator/tags","blobs_url":"https://api.github.com/repos/Leviatus21/z-file-validator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Leviatus21/z-file-validator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Leviatus21/z-file-validator/git/refs{/sha}","trees_url":"https://api.github.com/repos/Leviatus21/z-file-validator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Leviatus21/z-file-validator/statuses/{sha}","languages_url":"https://api.github.com/repos/Leviatus21/z-file-validator/languages","stargazers_url":"https://api.github.com/repos/Leviatus21/z-file-validator/stargazers","contributors_url":"https://api.github.com/repos/Leviatus21/z-file-validator/contributors","subscribers_url":"https://api.github.com/repos/Leviatus21/z-file-validator/subscribers","subscription_url":"https://api.github.com/repos/Leviatus21/z-file-validator/subscription","commits_url":"https://api.github.com/repos/Leviatus21/z-file-validator/commits{/sha}","git_commits_url":"https://api.github.com/repos/Leviatus21/z-file-validator/git/commits{/sha}","comments_url":"https://api.github.com/repos/Leviatus21/z-file-validator/comments{/number}","issue_comment_url":"https://api.github.com/repos/Leviatus21/z-file-validator/issues/comments{/number}","contents_url":"https://api.github.com/repos/Leviatus21/z-file-validator/contents/{+path}","compare_url":"https://api.github.com/repos/Leviatus21/z-file-validator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Leviatus21/z-file-validator/merges","archive_url":"https://api.github.com/repos/Leviatus21/z-file-validator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Leviatus21/z-file-validator/downloads","issues_url":"https://api.github.com/repos/Leviatus21/z-file-validator/issues{/number}","pulls_url":"https://api.github.com/repos/Leviatus21/z-file-validator/pulls{/number}","milestones_url":"https://api.github.com/repos/Leviatus21/z-file-validator/milestones{/number}","notifications_url":"https://api.github.com/repos/Leviatus21/z-file-validator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Leviatus21/z-file-validator/labels{/name}","releases_url":"https://api.github.com/repos/Leviatus21/z-file-validator/releases{/id}","created_at":"2015-06-16T14:48:59Z","updated_at":"2015-06-16T14:49:00Z","pushed_at":"2015-06-16T15:54:51Z","git_url":"git://github.com/Leviatus21/z-file-validator.git","ssh_url":"git@github.com:Leviatus21/z-file-validator.git","clone_url":"https://github.com/Leviatus21/z-file-validator.git","svn_url":"https://github.com/Leviatus21/z-file-validator","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ZeeCoder:master","ref":"master","sha":"497dd4df85bed8705c2e6ac28e25c10ca13c9e3a","user":{"login":"ZeeCoder","id":3679506,"avatar_url":"https://avatars.githubusercontent.com/u/3679506?v=3","gravatar_id":"","url":"https://api.github.com/users/ZeeCoder","html_url":"https://github.com/ZeeCoder","followers_url":"https://api.github.com/users/ZeeCoder/followers","following_url":"https://api.github.com/users/ZeeCoder/following{/other_user}","gists_url":"https://api.github.com/users/ZeeCoder/gists{/gist_id}","starred_url":"https://api.github.com/users/ZeeCoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZeeCoder/subscriptions","organizations_url":"https://api.github.com/users/ZeeCoder/orgs","repos_url":"https://api.github.com/users/ZeeCoder/repos","events_url":"https://api.github.com/users/ZeeCoder/events{/privacy}","received_events_url":"https://api.github.com/users/ZeeCoder/received_events","type":"User","site_admin":false},"repo":{"id":37209650,"name":"z-file-validator","full_name":"ZeeCoder/z-file-validator","owner":{"login":"ZeeCoder","id":3679506,"avatar_url":"https://avatars.githubusercontent.com/u/3679506?v=3","gravatar_id":"","url":"https://api.github.com/users/ZeeCoder","html_url":"https://github.com/ZeeCoder","followers_url":"https://api.github.com/users/ZeeCoder/followers","following_url":"https://api.github.com/users/ZeeCoder/following{/other_user}","gists_url":"https://api.github.com/users/ZeeCoder/gists{/gist_id}","starred_url":"https://api.github.com/users/ZeeCoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZeeCoder/subscriptions","organizations_url":"https://api.github.com/users/ZeeCoder/orgs","repos_url":"https://api.github.com/users/ZeeCoder/repos","events_url":"https://api.github.com/users/ZeeCoder/events{/privacy}","received_events_url":"https://api.github.com/users/ZeeCoder/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ZeeCoder/z-file-validator","description":"Validates a file input based on the provided configurations.","fork":false,"url":"https://api.github.com/repos/ZeeCoder/z-file-validator","forks_url":"https://api.github.com/repos/ZeeCoder/z-file-validator/forks","keys_url":"https://api.github.com/repos/ZeeCoder/z-file-validator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ZeeCoder/z-file-validator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ZeeCoder/z-file-validator/teams","hooks_url":"https://api.github.com/repos/ZeeCoder/z-file-validator/hooks","issue_events_url":"https://api.github.com/repos/ZeeCoder/z-file-validator/issues/events{/number}","events_url":"https://api.github.com/repos/ZeeCoder/z-file-validator/events","assignees_url":"https://api.github.com/repos/ZeeCoder/z-file-validator/assignees{/user}","branches_url":"https://api.github.com/repos/ZeeCoder/z-file-validator/branches{/branch}","tags_url":"https://api.github.com/repos/ZeeCoder/z-file-validator/tags","blobs_url":"https://api.github.com/repos/ZeeCoder/z-file-validator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ZeeCoder/z-file-validator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ZeeCoder/z-file-validator/git/refs{/sha}","trees_url":"https://api.github.com/repos/ZeeCoder/z-file-validator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ZeeCoder/z-file-validator/statuses/{sha}","languages_url":"https://api.github.com/repos/ZeeCoder/z-file-validator/languages","stargazers_url":"https://api.github.com/repos/ZeeCoder/z-file-validator/stargazers","contributors_url":"https://api.github.com/repos/ZeeCoder/z-file-validator/contributors","subscribers_url":"https://api.github.com/repos/ZeeCoder/z-file-validator/subscribers","subscription_url":"https://api.github.com/repos/ZeeCoder/z-file-validator/subscription","commits_url":"https://api.github.com/repos/ZeeCoder/z-file-validator/commits{/sha}","git_commits_url":"https://api.github.com/repos/ZeeCoder/z-file-validator/git/commits{/sha}","comments_url":"https://api.github.com/repos/ZeeCoder/z-file-validator/comments{/number}","issue_comment_url":"https://api.github.com/repos/ZeeCoder/z-file-validator/issues/comments{/number}","contents_url":"https://api.github.com/repos/ZeeCoder/z-file-validator/contents/{+path}","compare_url":"https://api.github.com/repos/ZeeCoder/z-file-validator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ZeeCoder/z-file-validator/merges","archive_url":"https://api.github.com/repos/ZeeCoder/z-file-validator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ZeeCoder/z-file-validator/downloads","issues_url":"https://api.github.com/repos/ZeeCoder/z-file-validator/issues{/number}","pulls_url":"https://api.github.com/repos/ZeeCoder/z-file-validator/pulls{/number}","milestones_url":"https://api.github.com/repos/ZeeCoder/z-file-validator/milestones{/number}","notifications_url":"https://api.github.com/repos/ZeeCoder/z-file-validator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ZeeCoder/z-file-validator/labels{/name}","releases_url":"https://api.github.com/repos/ZeeCoder/z-file-validator/releases{/id}","created_at":"2015-06-10T16:44:49Z","updated_at":"2015-06-10T22:24:44Z","pushed_at":"2015-06-16T16:17:11Z","git_url":"git://github.com/ZeeCoder/z-file-validator.git","ssh_url":"git@github.com:ZeeCoder/z-file-validator.git","clone_url":"https://github.com/ZeeCoder/z-file-validator.git","svn_url":"https://github.com/ZeeCoder/z-file-validator","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ZeeCoder/z-file-validator/pulls/2"},"html":{"href":"https://github.com/ZeeCoder/z-file-validator/pull/2"},"issue":{"href":"https://api.github.com/repos/ZeeCoder/z-file-validator/issues/2"},"comments":{"href":"https://api.github.com/repos/ZeeCoder/z-file-validator/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/ZeeCoder/z-file-validator/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/ZeeCoder/z-file-validator/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ZeeCoder/z-file-validator/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/ZeeCoder/z-file-validator/statuses/7702bf9e311a37300672cfe4e4bafb8791b6a296"}}}}