{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/management_devise_01/pulls/comments/121304600","pull_request_review_id":43341472,"id":121304600,"diff_hunk":"@@ -257,69 +256,76 @@ function device_chart(){\n           });\n         }\n       },\n-      error: function (error_message){\n+      error: function (error_message) {\n         alert(error_message);\n       }\n     });\n   }\n }\n \n-function minmax(obj, min, max){\n-  var value = parseInt($(obj).val())\n-  if(value < min || isNaN(value)){\n-    alert(I18n.t(\"action_message.min_value\", {value: min}))\n+function minmax(obj, min, max) {\n+  var value = parseInt($(obj).val());\n+  if (value < min || isNaN(value)) {\n+    alert(I18n.t(\"action_message.min_value\", {value: min}));\n     value = min;\n   }\n-  else if(value > max){\n+  else if (value > max) {\n     alert(I18n.t(\"action_message.max_value\", {value: max}))\n-    value =  max;\n+    value = max;\n   }\n-  $(obj).val('')\n-  $(obj).val(value)\n+  $(obj).val('');\n+  $(obj).val(value);\n }\n \n function validateFiles(inputFile, allowedExtension) {","path":"app/assets/javascripts/dms.js","position":370,"original_position":370,"commit_id":"2bebc6ab0495085e73e5e22b01342ab074ce3f55","original_commit_id":"2bebc6ab0495085e73e5e22b01342ab074ce3f55","user":{"login":"framgia-jenkins-ci","id":16641396,"avatar_url":"https://avatars3.githubusercontent.com/u/16641396?v=3","gravatar_id":"","url":"https://api.github.com/users/framgia-jenkins-ci","html_url":"https://github.com/framgia-jenkins-ci","followers_url":"https://api.github.com/users/framgia-jenkins-ci/followers","following_url":"https://api.github.com/users/framgia-jenkins-ci/following{/other_user}","gists_url":"https://api.github.com/users/framgia-jenkins-ci/gists{/gist_id}","starred_url":"https://api.github.com/users/framgia-jenkins-ci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/framgia-jenkins-ci/subscriptions","organizations_url":"https://api.github.com/users/framgia-jenkins-ci/orgs","repos_url":"https://api.github.com/users/framgia-jenkins-ci/repos","events_url":"https://api.github.com/users/framgia-jenkins-ci/events{/privacy}","received_events_url":"https://api.github.com/users/framgia-jenkins-ci/received_events","type":"User","site_admin":false},"body":"**Reporter**: CHECKSTYLE\n**Rule**: eslint.rules.no-unused-vars\n**Severity**: ERROR\n**File**: app/assets/javascripts/dms.js L280\n\n'validateFiles' is defined but never used. (no-unused-vars)\n\n*<this is a auto generated comment from violation-comments-lib F7F8ASD8123FSDF>*\n","created_at":"2017-06-12T03:11:56Z","updated_at":"2017-06-12T03:11:56Z","html_url":"https://github.com/framgia/management_devise_01/pull/171#discussion_r121304600","pull_request_url":"https://api.github.com/repos/framgia/management_devise_01/pulls/171","_links":{"self":{"href":"https://api.github.com/repos/framgia/management_devise_01/pulls/comments/121304600"},"html":{"href":"https://github.com/framgia/management_devise_01/pull/171#discussion_r121304600"},"pull_request":{"href":"https://api.github.com/repos/framgia/management_devise_01/pulls/171"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/management_devise_01/pulls/171","id":124142898,"html_url":"https://github.com/framgia/management_devise_01/pull/171","diff_url":"https://github.com/framgia/management_devise_01/pull/171.diff","patch_url":"https://github.com/framgia/management_devise_01/pull/171.patch","issue_url":"https://api.github.com/repos/framgia/management_devise_01/issues/171","number":171,"state":"open","locked":false,"title":"Go to arbitrary page","user":{"login":"thaibm","id":5625757,"avatar_url":"https://avatars2.githubusercontent.com/u/5625757?v=3","gravatar_id":"","url":"https://api.github.com/users/thaibm","html_url":"https://github.com/thaibm","followers_url":"https://api.github.com/users/thaibm/followers","following_url":"https://api.github.com/users/thaibm/following{/other_user}","gists_url":"https://api.github.com/users/thaibm/gists{/gist_id}","starred_url":"https://api.github.com/users/thaibm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thaibm/subscriptions","organizations_url":"https://api.github.com/users/thaibm/orgs","repos_url":"https://api.github.com/users/thaibm/repos","events_url":"https://api.github.com/users/thaibm/events{/privacy}","received_events_url":"https://api.github.com/users/thaibm/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-06-06T09:12:01Z","updated_at":"2017-06-12T03:11:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c89e668dd10563a10bef84aee2c0e471c7a7dbd4","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/framgia/management_devise_01/pulls/171/commits","review_comments_url":"https://api.github.com/repos/framgia/management_devise_01/pulls/171/comments","review_comment_url":"https://api.github.com/repos/framgia/management_devise_01/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/management_devise_01/issues/171/comments","statuses_url":"https://api.github.com/repos/framgia/management_devise_01/statuses/2bebc6ab0495085e73e5e22b01342ab074ce3f55","head":{"label":"thaibm:arbitrary-page","ref":"arbitrary-page","sha":"2bebc6ab0495085e73e5e22b01342ab074ce3f55","user":{"login":"thaibm","id":5625757,"avatar_url":"https://avatars2.githubusercontent.com/u/5625757?v=3","gravatar_id":"","url":"https://api.github.com/users/thaibm","html_url":"https://github.com/thaibm","followers_url":"https://api.github.com/users/thaibm/followers","following_url":"https://api.github.com/users/thaibm/following{/other_user}","gists_url":"https://api.github.com/users/thaibm/gists{/gist_id}","starred_url":"https://api.github.com/users/thaibm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thaibm/subscriptions","organizations_url":"https://api.github.com/users/thaibm/orgs","repos_url":"https://api.github.com/users/thaibm/repos","events_url":"https://api.github.com/users/thaibm/events{/privacy}","received_events_url":"https://api.github.com/users/thaibm/received_events","type":"User","site_admin":false},"repo":{"id":93002870,"name":"management_devise_01","full_name":"thaibm/management_devise_01","owner":{"login":"thaibm","id":5625757,"avatar_url":"https://avatars2.githubusercontent.com/u/5625757?v=3","gravatar_id":"","url":"https://api.github.com/users/thaibm","html_url":"https://github.com/thaibm","followers_url":"https://api.github.com/users/thaibm/followers","following_url":"https://api.github.com/users/thaibm/following{/other_user}","gists_url":"https://api.github.com/users/thaibm/gists{/gist_id}","starred_url":"https://api.github.com/users/thaibm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thaibm/subscriptions","organizations_url":"https://api.github.com/users/thaibm/orgs","repos_url":"https://api.github.com/users/thaibm/repos","events_url":"https://api.github.com/users/thaibm/events{/privacy}","received_events_url":"https://api.github.com/users/thaibm/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/thaibm/management_devise_01","description":null,"fork":true,"url":"https://api.github.com/repos/thaibm/management_devise_01","forks_url":"https://api.github.com/repos/thaibm/management_devise_01/forks","keys_url":"https://api.github.com/repos/thaibm/management_devise_01/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thaibm/management_devise_01/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thaibm/management_devise_01/teams","hooks_url":"https://api.github.com/repos/thaibm/management_devise_01/hooks","issue_events_url":"https://api.github.com/repos/thaibm/management_devise_01/issues/events{/number}","events_url":"https://api.github.com/repos/thaibm/management_devise_01/events","assignees_url":"https://api.github.com/repos/thaibm/management_devise_01/assignees{/user}","branches_url":"https://api.github.com/repos/thaibm/management_devise_01/branches{/branch}","tags_url":"https://api.github.com/repos/thaibm/management_devise_01/tags","blobs_url":"https://api.github.com/repos/thaibm/management_devise_01/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thaibm/management_devise_01/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thaibm/management_devise_01/git/refs{/sha}","trees_url":"https://api.github.com/repos/thaibm/management_devise_01/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thaibm/management_devise_01/statuses/{sha}","languages_url":"https://api.github.com/repos/thaibm/management_devise_01/languages","stargazers_url":"https://api.github.com/repos/thaibm/management_devise_01/stargazers","contributors_url":"https://api.github.com/repos/thaibm/management_devise_01/contributors","subscribers_url":"https://api.github.com/repos/thaibm/management_devise_01/subscribers","subscription_url":"https://api.github.com/repos/thaibm/management_devise_01/subscription","commits_url":"https://api.github.com/repos/thaibm/management_devise_01/commits{/sha}","git_commits_url":"https://api.github.com/repos/thaibm/management_devise_01/git/commits{/sha}","comments_url":"https://api.github.com/repos/thaibm/management_devise_01/comments{/number}","issue_comment_url":"https://api.github.com/repos/thaibm/management_devise_01/issues/comments{/number}","contents_url":"https://api.github.com/repos/thaibm/management_devise_01/contents/{+path}","compare_url":"https://api.github.com/repos/thaibm/management_devise_01/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thaibm/management_devise_01/merges","archive_url":"https://api.github.com/repos/thaibm/management_devise_01/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thaibm/management_devise_01/downloads","issues_url":"https://api.github.com/repos/thaibm/management_devise_01/issues{/number}","pulls_url":"https://api.github.com/repos/thaibm/management_devise_01/pulls{/number}","milestones_url":"https://api.github.com/repos/thaibm/management_devise_01/milestones{/number}","notifications_url":"https://api.github.com/repos/thaibm/management_devise_01/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thaibm/management_devise_01/labels{/name}","releases_url":"https://api.github.com/repos/thaibm/management_devise_01/releases{/id}","deployments_url":"https://api.github.com/repos/thaibm/management_devise_01/deployments","created_at":"2017-06-01T01:13:12Z","updated_at":"2017-06-01T01:13:14Z","pushed_at":"2017-06-12T03:09:21Z","git_url":"git://github.com/thaibm/management_devise_01.git","ssh_url":"git@github.com:thaibm/management_devise_01.git","clone_url":"https://github.com/thaibm/management_devise_01.git","svn_url":"https://github.com/thaibm/management_devise_01","homepage":null,"size":2526,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"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":"develop"}},"base":{"label":"framgia:develop","ref":"develop","sha":"8fe8b0e3fdda6670f1899be0b74e2b8edbe60763","user":{"login":"framgia","id":2322183,"avatar_url":"https://avatars0.githubusercontent.com/u/2322183?v=3","gravatar_id":"","url":"https://api.github.com/users/framgia","html_url":"https://github.com/framgia","followers_url":"https://api.github.com/users/framgia/followers","following_url":"https://api.github.com/users/framgia/following{/other_user}","gists_url":"https://api.github.com/users/framgia/gists{/gist_id}","starred_url":"https://api.github.com/users/framgia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/framgia/subscriptions","organizations_url":"https://api.github.com/users/framgia/orgs","repos_url":"https://api.github.com/users/framgia/repos","events_url":"https://api.github.com/users/framgia/events{/privacy}","received_events_url":"https://api.github.com/users/framgia/received_events","type":"Organization","site_admin":false},"repo":{"id":78728423,"name":"management_devise_01","full_name":"framgia/management_devise_01","owner":{"login":"framgia","id":2322183,"avatar_url":"https://avatars0.githubusercontent.com/u/2322183?v=3","gravatar_id":"","url":"https://api.github.com/users/framgia","html_url":"https://github.com/framgia","followers_url":"https://api.github.com/users/framgia/followers","following_url":"https://api.github.com/users/framgia/following{/other_user}","gists_url":"https://api.github.com/users/framgia/gists{/gist_id}","starred_url":"https://api.github.com/users/framgia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/framgia/subscriptions","organizations_url":"https://api.github.com/users/framgia/orgs","repos_url":"https://api.github.com/users/framgia/repos","events_url":"https://api.github.com/users/framgia/events{/privacy}","received_events_url":"https://api.github.com/users/framgia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/framgia/management_devise_01","description":null,"fork":false,"url":"https://api.github.com/repos/framgia/management_devise_01","forks_url":"https://api.github.com/repos/framgia/management_devise_01/forks","keys_url":"https://api.github.com/repos/framgia/management_devise_01/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/management_devise_01/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/management_devise_01/teams","hooks_url":"https://api.github.com/repos/framgia/management_devise_01/hooks","issue_events_url":"https://api.github.com/repos/framgia/management_devise_01/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/management_devise_01/events","assignees_url":"https://api.github.com/repos/framgia/management_devise_01/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/management_devise_01/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/management_devise_01/tags","blobs_url":"https://api.github.com/repos/framgia/management_devise_01/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/management_devise_01/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/management_devise_01/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/management_devise_01/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/management_devise_01/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/management_devise_01/languages","stargazers_url":"https://api.github.com/repos/framgia/management_devise_01/stargazers","contributors_url":"https://api.github.com/repos/framgia/management_devise_01/contributors","subscribers_url":"https://api.github.com/repos/framgia/management_devise_01/subscribers","subscription_url":"https://api.github.com/repos/framgia/management_devise_01/subscription","commits_url":"https://api.github.com/repos/framgia/management_devise_01/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/management_devise_01/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/management_devise_01/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/management_devise_01/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/management_devise_01/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/management_devise_01/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/management_devise_01/merges","archive_url":"https://api.github.com/repos/framgia/management_devise_01/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/management_devise_01/downloads","issues_url":"https://api.github.com/repos/framgia/management_devise_01/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/management_devise_01/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/management_devise_01/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/management_devise_01/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/management_devise_01/labels{/name}","releases_url":"https://api.github.com/repos/framgia/management_devise_01/releases{/id}","deployments_url":"https://api.github.com/repos/framgia/management_devise_01/deployments","created_at":"2017-01-12T09:24:48Z","updated_at":"2017-02-16T13:24:43Z","pushed_at":"2017-06-12T03:09:23Z","git_url":"git://github.com/framgia/management_devise_01.git","ssh_url":"git@github.com:framgia/management_devise_01.git","clone_url":"https://github.com/framgia/management_devise_01.git","svn_url":"https://github.com/framgia/management_devise_01","homepage":null,"size":2504,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":17,"forks":17,"open_issues":17,"watchers":2,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/management_devise_01/pulls/171"},"html":{"href":"https://github.com/framgia/management_devise_01/pull/171"},"issue":{"href":"https://api.github.com/repos/framgia/management_devise_01/issues/171"},"comments":{"href":"https://api.github.com/repos/framgia/management_devise_01/issues/171/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/management_devise_01/pulls/171/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/management_devise_01/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/management_devise_01/pulls/171/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/management_devise_01/statuses/2bebc6ab0495085e73e5e22b01342ab074ce3f55"}}}}
{"actor":{"display_login":"framgia-jenkins-ci"}}