{"action":"created","comment":{"url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/pulls/comments/59500269","id":59500269,"diff_hunk":"@@ -13,4 +13,113 @@\n //= require jquery\n //= require jquery_ujs\n //= require turbolinks\n-//= require_tree .\n+//=require_tree .\n+/*\n+  function RemoveUser(id){\n+    var confirmation = confirm('Are You sure to delete this member ?')\n+      if (confirmation){\n+        $.ajax({\n+          type: 'post',\n+          url: '/check/to_delete_id',\n+          data: { key: id },\n+          success: function(data){\n+            $('#'+id).remove();\n+            console.log('#usere'+id)\n+            $('#usere-'+id).remove();\n+          }\n+        });\n+      }\n+  }\n+\n+\n+  function ForaAotucompleteFiled(availableTags){\n+    $('#data-set').html('');\n+      $(function(){\n+        $('#role_userole').autocomplete({\n+        source: availableTags,\n+        })\n+        .autocomplete('instance')\n+        ._renderItem = function( ul, item ){\n+          return $('<div>')\n+          .append( \"<input type='checkbox' name= users[] value = \" + item.id + '>' +\n+          item.firstname + item.lastname + '(' + item.email + ')' + '</input>')\n+          .appendTo( '#data-set' );\n+        };\n+      });\n+  }\n+\n+  function EditUser(){\n+    $('.usero').hide();\n+    $('.usere').show();\n+    $('#update-usr').show();\n+    $('#userebuton').hide();\n+  }\n+*/\n+    function CheckAvailabilityOfEmail(){\n+      if (validateEmail()){\n+        user_email = $( \"#user_email\" ).val()\n+        $.post( \"check_availability/email\", { email: user_email },function(data){\n+          if (!data.available){\n+             if ($('#email-validation').length == 0){\n+               node = \"<span class = 'email-validation' id = 'email-validation'> \"+data.message+\" </span>\"\n+               $('#user_email').after(node);\n+             }\n+             return false\n+          }\n+          else{\n+            $('#email-validation').remove()","path":"bookshelf/app/assets/javascripts/application.js","position":59,"original_position":59,"commit_id":"07361d2b2db8690aaef9c1d1a1af29dcada34b80","original_commit_id":"07361d2b2db8690aaef9c1d1a1af29dcada34b80","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Mixed double and single quotes.<br>Missing semicolon.","created_at":"2016-04-13T06:47:39Z","updated_at":"2016-04-13T06:47:39Z","html_url":"https://github.com/Talentica/TeamPolyglot-ROR/pull/14#discussion_r59500269","pull_request_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/pulls/14","_links":{"self":{"href":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/pulls/comments/59500269"},"html":{"href":"https://github.com/Talentica/TeamPolyglot-ROR/pull/14#discussion_r59500269"},"pull_request":{"href":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/pulls/14"}}},"pull_request":{"url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/pulls/14","id":66272027,"html_url":"https://github.com/Talentica/TeamPolyglot-ROR/pull/14","diff_url":"https://github.com/Talentica/TeamPolyglot-ROR/pull/14.diff","patch_url":"https://github.com/Talentica/TeamPolyglot-ROR/pull/14.patch","issue_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/issues/14","number":14,"state":"open","locked":false,"title":"adding front end of user registration","user":{"login":"ashwinimnnit","id":11703081,"avatar_url":"https://avatars.githubusercontent.com/u/11703081?v=3","gravatar_id":"","url":"https://api.github.com/users/ashwinimnnit","html_url":"https://github.com/ashwinimnnit","followers_url":"https://api.github.com/users/ashwinimnnit/followers","following_url":"https://api.github.com/users/ashwinimnnit/following{/other_user}","gists_url":"https://api.github.com/users/ashwinimnnit/gists{/gist_id}","starred_url":"https://api.github.com/users/ashwinimnnit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashwinimnnit/subscriptions","organizations_url":"https://api.github.com/users/ashwinimnnit/orgs","repos_url":"https://api.github.com/users/ashwinimnnit/repos","events_url":"https://api.github.com/users/ashwinimnnit/events{/privacy}","received_events_url":"https://api.github.com/users/ashwinimnnit/received_events","type":"User","site_admin":false},"body":"adding front end of user registration","created_at":"2016-04-13T06:35:49Z","updated_at":"2016-04-13T06:47:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"650b58e5f89e4fbf221cf365ae34a7cfde319808","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/pulls/14/commits","review_comments_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/pulls/14/comments","review_comment_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/issues/14/comments","statuses_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/statuses/07361d2b2db8690aaef9c1d1a1af29dcada34b80","head":{"label":"Talentica:bs_add_user_view","ref":"bs_add_user_view","sha":"07361d2b2db8690aaef9c1d1a1af29dcada34b80","user":{"login":"Talentica","id":1230582,"avatar_url":"https://avatars.githubusercontent.com/u/1230582?v=3","gravatar_id":"","url":"https://api.github.com/users/Talentica","html_url":"https://github.com/Talentica","followers_url":"https://api.github.com/users/Talentica/followers","following_url":"https://api.github.com/users/Talentica/following{/other_user}","gists_url":"https://api.github.com/users/Talentica/gists{/gist_id}","starred_url":"https://api.github.com/users/Talentica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Talentica/subscriptions","organizations_url":"https://api.github.com/users/Talentica/orgs","repos_url":"https://api.github.com/users/Talentica/repos","events_url":"https://api.github.com/users/Talentica/events{/privacy}","received_events_url":"https://api.github.com/users/Talentica/received_events","type":"Organization","site_admin":false},"repo":{"id":53565692,"name":"TeamPolyglot-ROR","full_name":"Talentica/TeamPolyglot-ROR","owner":{"login":"Talentica","id":1230582,"avatar_url":"https://avatars.githubusercontent.com/u/1230582?v=3","gravatar_id":"","url":"https://api.github.com/users/Talentica","html_url":"https://github.com/Talentica","followers_url":"https://api.github.com/users/Talentica/followers","following_url":"https://api.github.com/users/Talentica/following{/other_user}","gists_url":"https://api.github.com/users/Talentica/gists{/gist_id}","starred_url":"https://api.github.com/users/Talentica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Talentica/subscriptions","organizations_url":"https://api.github.com/users/Talentica/orgs","repos_url":"https://api.github.com/users/Talentica/repos","events_url":"https://api.github.com/users/Talentica/events{/privacy}","received_events_url":"https://api.github.com/users/Talentica/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Talentica/TeamPolyglot-ROR","description":"","fork":false,"url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR","forks_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/forks","keys_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/teams","hooks_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/hooks","issue_events_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/issues/events{/number}","events_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/events","assignees_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/assignees{/user}","branches_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/branches{/branch}","tags_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/tags","blobs_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/git/refs{/sha}","trees_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/statuses/{sha}","languages_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/languages","stargazers_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/stargazers","contributors_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/contributors","subscribers_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/subscribers","subscription_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/subscription","commits_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/commits{/sha}","git_commits_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/git/commits{/sha}","comments_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/comments{/number}","issue_comment_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/issues/comments{/number}","contents_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/contents/{+path}","compare_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/merges","archive_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/downloads","issues_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/issues{/number}","pulls_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/pulls{/number}","milestones_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/milestones{/number}","notifications_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/labels{/name}","releases_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/releases{/id}","deployments_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/deployments","created_at":"2016-03-10T07:51:00Z","updated_at":"2016-03-10T07:51:00Z","pushed_at":"2016-04-13T06:47:32Z","git_url":"git://github.com/Talentica/TeamPolyglot-ROR.git","ssh_url":"git@github.com:Talentica/TeamPolyglot-ROR.git","clone_url":"https://github.com/Talentica/TeamPolyglot-ROR.git","svn_url":"https://github.com/Talentica/TeamPolyglot-ROR","homepage":null,"size":72,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"Talentica:bs_develop","ref":"bs_develop","sha":"3305cbec89f2440445212a5835143c4b3dbfea5b","user":{"login":"Talentica","id":1230582,"avatar_url":"https://avatars.githubusercontent.com/u/1230582?v=3","gravatar_id":"","url":"https://api.github.com/users/Talentica","html_url":"https://github.com/Talentica","followers_url":"https://api.github.com/users/Talentica/followers","following_url":"https://api.github.com/users/Talentica/following{/other_user}","gists_url":"https://api.github.com/users/Talentica/gists{/gist_id}","starred_url":"https://api.github.com/users/Talentica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Talentica/subscriptions","organizations_url":"https://api.github.com/users/Talentica/orgs","repos_url":"https://api.github.com/users/Talentica/repos","events_url":"https://api.github.com/users/Talentica/events{/privacy}","received_events_url":"https://api.github.com/users/Talentica/received_events","type":"Organization","site_admin":false},"repo":{"id":53565692,"name":"TeamPolyglot-ROR","full_name":"Talentica/TeamPolyglot-ROR","owner":{"login":"Talentica","id":1230582,"avatar_url":"https://avatars.githubusercontent.com/u/1230582?v=3","gravatar_id":"","url":"https://api.github.com/users/Talentica","html_url":"https://github.com/Talentica","followers_url":"https://api.github.com/users/Talentica/followers","following_url":"https://api.github.com/users/Talentica/following{/other_user}","gists_url":"https://api.github.com/users/Talentica/gists{/gist_id}","starred_url":"https://api.github.com/users/Talentica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Talentica/subscriptions","organizations_url":"https://api.github.com/users/Talentica/orgs","repos_url":"https://api.github.com/users/Talentica/repos","events_url":"https://api.github.com/users/Talentica/events{/privacy}","received_events_url":"https://api.github.com/users/Talentica/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Talentica/TeamPolyglot-ROR","description":"","fork":false,"url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR","forks_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/forks","keys_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/teams","hooks_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/hooks","issue_events_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/issues/events{/number}","events_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/events","assignees_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/assignees{/user}","branches_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/branches{/branch}","tags_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/tags","blobs_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/git/refs{/sha}","trees_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/statuses/{sha}","languages_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/languages","stargazers_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/stargazers","contributors_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/contributors","subscribers_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/subscribers","subscription_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/subscription","commits_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/commits{/sha}","git_commits_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/git/commits{/sha}","comments_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/comments{/number}","issue_comment_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/issues/comments{/number}","contents_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/contents/{+path}","compare_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/merges","archive_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/downloads","issues_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/issues{/number}","pulls_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/pulls{/number}","milestones_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/milestones{/number}","notifications_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/labels{/name}","releases_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/releases{/id}","deployments_url":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/deployments","created_at":"2016-03-10T07:51:00Z","updated_at":"2016-03-10T07:51:00Z","pushed_at":"2016-04-13T06:47:32Z","git_url":"git://github.com/Talentica/TeamPolyglot-ROR.git","ssh_url":"git@github.com:Talentica/TeamPolyglot-ROR.git","clone_url":"https://github.com/Talentica/TeamPolyglot-ROR.git","svn_url":"https://github.com/Talentica/TeamPolyglot-ROR","homepage":null,"size":72,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/pulls/14"},"html":{"href":"https://github.com/Talentica/TeamPolyglot-ROR/pull/14"},"issue":{"href":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/issues/14"},"comments":{"href":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/Talentica/TeamPolyglot-ROR/statuses/07361d2b2db8690aaef9c1d1a1af29dcada34b80"}}}}