{"action":"created","comment":{"url":"https://api.github.com/repos/Mooophy/meetu/pulls/comments/59975068","id":59975068,"diff_hunk":"@@ -48,11 +48,18 @@\n @section Scripts {\n     @Scripts.Render(\"~/bundles/jqueryval\")\n     <script>\n-        $(\".js-login-jump-icon\").click(function () {\n+        if ($(\".validation-summary-errors\").length > 0) {","path":"MeetU/MeetU/Views/Account/Login.cshtml","position":14,"original_position":14,"commit_id":"2d51aea95b006a294ca3b4f97ed2e8863fdc124c","original_commit_id":"2d51aea95b006a294ca3b4f97ed2e8863fdc124c","user":{"login":"rong4188","id":10201833,"avatar_url":"https://avatars.githubusercontent.com/u/10201833?v=3","gravatar_id":"","url":"https://api.github.com/users/rong4188","html_url":"https://github.com/rong4188","followers_url":"https://api.github.com/users/rong4188/followers","following_url":"https://api.github.com/users/rong4188/following{/other_user}","gists_url":"https://api.github.com/users/rong4188/gists{/gist_id}","starred_url":"https://api.github.com/users/rong4188/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rong4188/subscriptions","organizations_url":"https://api.github.com/users/rong4188/orgs","repos_url":"https://api.github.com/users/rong4188/repos","events_url":"https://api.github.com/users/rong4188/events{/privacy}","received_events_url":"https://api.github.com/users/rong4188/received_events","type":"User","site_admin":false},"body":"the class without 'js-' prefix shouldn't be used in js code. in this case, you should add a class called 'js-validation-summary-errors' to the element, then call it. The reason why we want to do that is we want to decouple logic and style. if in the future we want to change the html structure or just change some css, we can just change those classes without 'js-' prefix and don't need to have more concerns on logic.","created_at":"2016-04-16T22:27:33Z","updated_at":"2016-04-16T22:27:33Z","html_url":"https://github.com/Mooophy/meetu/pull/69#discussion_r59975068","pull_request_url":"https://api.github.com/repos/Mooophy/meetu/pulls/69","_links":{"self":{"href":"https://api.github.com/repos/Mooophy/meetu/pulls/comments/59975068"},"html":{"href":"https://github.com/Mooophy/meetu/pull/69#discussion_r59975068"},"pull_request":{"href":"https://api.github.com/repos/Mooophy/meetu/pulls/69"}}},"pull_request":{"url":"https://api.github.com/repos/Mooophy/meetu/pulls/69","id":66733846,"html_url":"https://github.com/Mooophy/meetu/pull/69","diff_url":"https://github.com/Mooophy/meetu/pull/69.diff","patch_url":"https://github.com/Mooophy/meetu/pull/69.patch","issue_url":"https://api.github.com/repos/Mooophy/meetu/issues/69","number":69,"state":"open","locked":false,"title":"rework on scroll down","user":{"login":"kevinzhang2012","id":12708531,"avatar_url":"https://avatars.githubusercontent.com/u/12708531?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinzhang2012","html_url":"https://github.com/kevinzhang2012","followers_url":"https://api.github.com/users/kevinzhang2012/followers","following_url":"https://api.github.com/users/kevinzhang2012/following{/other_user}","gists_url":"https://api.github.com/users/kevinzhang2012/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinzhang2012/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinzhang2012/subscriptions","organizations_url":"https://api.github.com/users/kevinzhang2012/orgs","repos_url":"https://api.github.com/users/kevinzhang2012/repos","events_url":"https://api.github.com/users/kevinzhang2012/events{/privacy}","received_events_url":"https://api.github.com/users/kevinzhang2012/received_events","type":"User","site_admin":false},"body":"@Mooophy @rong4188 ","created_at":"2016-04-16T10:03:36Z","updated_at":"2016-04-16T22:27:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"55b11bc19df74dba8be37d87136317e3d21d8a54","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Mooophy/meetu/pulls/69/commits","review_comments_url":"https://api.github.com/repos/Mooophy/meetu/pulls/69/comments","review_comment_url":"https://api.github.com/repos/Mooophy/meetu/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Mooophy/meetu/issues/69/comments","statuses_url":"https://api.github.com/repos/Mooophy/meetu/statuses/2d51aea95b006a294ca3b4f97ed2e8863fdc124c","head":{"label":"kevinzhang2012:dev","ref":"dev","sha":"2d51aea95b006a294ca3b4f97ed2e8863fdc124c","user":{"login":"kevinzhang2012","id":12708531,"avatar_url":"https://avatars.githubusercontent.com/u/12708531?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinzhang2012","html_url":"https://github.com/kevinzhang2012","followers_url":"https://api.github.com/users/kevinzhang2012/followers","following_url":"https://api.github.com/users/kevinzhang2012/following{/other_user}","gists_url":"https://api.github.com/users/kevinzhang2012/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinzhang2012/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinzhang2012/subscriptions","organizations_url":"https://api.github.com/users/kevinzhang2012/orgs","repos_url":"https://api.github.com/users/kevinzhang2012/repos","events_url":"https://api.github.com/users/kevinzhang2012/events{/privacy}","received_events_url":"https://api.github.com/users/kevinzhang2012/received_events","type":"User","site_admin":false},"repo":{"id":56322243,"name":"meetu","full_name":"kevinzhang2012/meetu","owner":{"login":"kevinzhang2012","id":12708531,"avatar_url":"https://avatars.githubusercontent.com/u/12708531?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinzhang2012","html_url":"https://github.com/kevinzhang2012","followers_url":"https://api.github.com/users/kevinzhang2012/followers","following_url":"https://api.github.com/users/kevinzhang2012/following{/other_user}","gists_url":"https://api.github.com/users/kevinzhang2012/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinzhang2012/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinzhang2012/subscriptions","organizations_url":"https://api.github.com/users/kevinzhang2012/orgs","repos_url":"https://api.github.com/users/kevinzhang2012/repos","events_url":"https://api.github.com/users/kevinzhang2012/events{/privacy}","received_events_url":"https://api.github.com/users/kevinzhang2012/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kevinzhang2012/meetu","description":"A small social web app developed, and being used, by me and my friends.","fork":true,"url":"https://api.github.com/repos/kevinzhang2012/meetu","forks_url":"https://api.github.com/repos/kevinzhang2012/meetu/forks","keys_url":"https://api.github.com/repos/kevinzhang2012/meetu/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kevinzhang2012/meetu/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kevinzhang2012/meetu/teams","hooks_url":"https://api.github.com/repos/kevinzhang2012/meetu/hooks","issue_events_url":"https://api.github.com/repos/kevinzhang2012/meetu/issues/events{/number}","events_url":"https://api.github.com/repos/kevinzhang2012/meetu/events","assignees_url":"https://api.github.com/repos/kevinzhang2012/meetu/assignees{/user}","branches_url":"https://api.github.com/repos/kevinzhang2012/meetu/branches{/branch}","tags_url":"https://api.github.com/repos/kevinzhang2012/meetu/tags","blobs_url":"https://api.github.com/repos/kevinzhang2012/meetu/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kevinzhang2012/meetu/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kevinzhang2012/meetu/git/refs{/sha}","trees_url":"https://api.github.com/repos/kevinzhang2012/meetu/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kevinzhang2012/meetu/statuses/{sha}","languages_url":"https://api.github.com/repos/kevinzhang2012/meetu/languages","stargazers_url":"https://api.github.com/repos/kevinzhang2012/meetu/stargazers","contributors_url":"https://api.github.com/repos/kevinzhang2012/meetu/contributors","subscribers_url":"https://api.github.com/repos/kevinzhang2012/meetu/subscribers","subscription_url":"https://api.github.com/repos/kevinzhang2012/meetu/subscription","commits_url":"https://api.github.com/repos/kevinzhang2012/meetu/commits{/sha}","git_commits_url":"https://api.github.com/repos/kevinzhang2012/meetu/git/commits{/sha}","comments_url":"https://api.github.com/repos/kevinzhang2012/meetu/comments{/number}","issue_comment_url":"https://api.github.com/repos/kevinzhang2012/meetu/issues/comments{/number}","contents_url":"https://api.github.com/repos/kevinzhang2012/meetu/contents/{+path}","compare_url":"https://api.github.com/repos/kevinzhang2012/meetu/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kevinzhang2012/meetu/merges","archive_url":"https://api.github.com/repos/kevinzhang2012/meetu/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kevinzhang2012/meetu/downloads","issues_url":"https://api.github.com/repos/kevinzhang2012/meetu/issues{/number}","pulls_url":"https://api.github.com/repos/kevinzhang2012/meetu/pulls{/number}","milestones_url":"https://api.github.com/repos/kevinzhang2012/meetu/milestones{/number}","notifications_url":"https://api.github.com/repos/kevinzhang2012/meetu/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kevinzhang2012/meetu/labels{/name}","releases_url":"https://api.github.com/repos/kevinzhang2012/meetu/releases{/id}","deployments_url":"https://api.github.com/repos/kevinzhang2012/meetu/deployments","created_at":"2016-04-15T13:29:02Z","updated_at":"2016-04-15T13:29:03Z","pushed_at":"2016-04-16T10:02:53Z","git_url":"git://github.com/kevinzhang2012/meetu.git","ssh_url":"git@github.com:kevinzhang2012/meetu.git","clone_url":"https://github.com/kevinzhang2012/meetu.git","svn_url":"https://github.com/kevinzhang2012/meetu","homepage":"","size":12671,"stargazers_count":0,"watchers_count":0,"language":"C#","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":"Mooophy:dev","ref":"dev","sha":"01ac29bfdbc1e3bf217a43751342940025a8a486","user":{"login":"Mooophy","id":5942966,"avatar_url":"https://avatars.githubusercontent.com/u/5942966?v=3","gravatar_id":"","url":"https://api.github.com/users/Mooophy","html_url":"https://github.com/Mooophy","followers_url":"https://api.github.com/users/Mooophy/followers","following_url":"https://api.github.com/users/Mooophy/following{/other_user}","gists_url":"https://api.github.com/users/Mooophy/gists{/gist_id}","starred_url":"https://api.github.com/users/Mooophy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mooophy/subscriptions","organizations_url":"https://api.github.com/users/Mooophy/orgs","repos_url":"https://api.github.com/users/Mooophy/repos","events_url":"https://api.github.com/users/Mooophy/events{/privacy}","received_events_url":"https://api.github.com/users/Mooophy/received_events","type":"User","site_admin":false},"repo":{"id":49243067,"name":"meetu","full_name":"Mooophy/meetu","owner":{"login":"Mooophy","id":5942966,"avatar_url":"https://avatars.githubusercontent.com/u/5942966?v=3","gravatar_id":"","url":"https://api.github.com/users/Mooophy","html_url":"https://github.com/Mooophy","followers_url":"https://api.github.com/users/Mooophy/followers","following_url":"https://api.github.com/users/Mooophy/following{/other_user}","gists_url":"https://api.github.com/users/Mooophy/gists{/gist_id}","starred_url":"https://api.github.com/users/Mooophy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mooophy/subscriptions","organizations_url":"https://api.github.com/users/Mooophy/orgs","repos_url":"https://api.github.com/users/Mooophy/repos","events_url":"https://api.github.com/users/Mooophy/events{/privacy}","received_events_url":"https://api.github.com/users/Mooophy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Mooophy/meetu","description":"A small social web app developed, and being used, by me and my friends.","fork":false,"url":"https://api.github.com/repos/Mooophy/meetu","forks_url":"https://api.github.com/repos/Mooophy/meetu/forks","keys_url":"https://api.github.com/repos/Mooophy/meetu/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Mooophy/meetu/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Mooophy/meetu/teams","hooks_url":"https://api.github.com/repos/Mooophy/meetu/hooks","issue_events_url":"https://api.github.com/repos/Mooophy/meetu/issues/events{/number}","events_url":"https://api.github.com/repos/Mooophy/meetu/events","assignees_url":"https://api.github.com/repos/Mooophy/meetu/assignees{/user}","branches_url":"https://api.github.com/repos/Mooophy/meetu/branches{/branch}","tags_url":"https://api.github.com/repos/Mooophy/meetu/tags","blobs_url":"https://api.github.com/repos/Mooophy/meetu/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Mooophy/meetu/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Mooophy/meetu/git/refs{/sha}","trees_url":"https://api.github.com/repos/Mooophy/meetu/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Mooophy/meetu/statuses/{sha}","languages_url":"https://api.github.com/repos/Mooophy/meetu/languages","stargazers_url":"https://api.github.com/repos/Mooophy/meetu/stargazers","contributors_url":"https://api.github.com/repos/Mooophy/meetu/contributors","subscribers_url":"https://api.github.com/repos/Mooophy/meetu/subscribers","subscription_url":"https://api.github.com/repos/Mooophy/meetu/subscription","commits_url":"https://api.github.com/repos/Mooophy/meetu/commits{/sha}","git_commits_url":"https://api.github.com/repos/Mooophy/meetu/git/commits{/sha}","comments_url":"https://api.github.com/repos/Mooophy/meetu/comments{/number}","issue_comment_url":"https://api.github.com/repos/Mooophy/meetu/issues/comments{/number}","contents_url":"https://api.github.com/repos/Mooophy/meetu/contents/{+path}","compare_url":"https://api.github.com/repos/Mooophy/meetu/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Mooophy/meetu/merges","archive_url":"https://api.github.com/repos/Mooophy/meetu/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Mooophy/meetu/downloads","issues_url":"https://api.github.com/repos/Mooophy/meetu/issues{/number}","pulls_url":"https://api.github.com/repos/Mooophy/meetu/pulls{/number}","milestones_url":"https://api.github.com/repos/Mooophy/meetu/milestones{/number}","notifications_url":"https://api.github.com/repos/Mooophy/meetu/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Mooophy/meetu/labels{/name}","releases_url":"https://api.github.com/repos/Mooophy/meetu/releases{/id}","deployments_url":"https://api.github.com/repos/Mooophy/meetu/deployments","created_at":"2016-01-08T02:05:54Z","updated_at":"2016-04-08T05:56:32Z","pushed_at":"2016-04-16T10:03:36Z","git_url":"git://github.com/Mooophy/meetu.git","ssh_url":"git@github.com:Mooophy/meetu.git","clone_url":"https://github.com/Mooophy/meetu.git","svn_url":"https://github.com/Mooophy/meetu","homepage":"","size":12944,"stargazers_count":5,"watchers_count":5,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":3,"forks":7,"open_issues":3,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Mooophy/meetu/pulls/69"},"html":{"href":"https://github.com/Mooophy/meetu/pull/69"},"issue":{"href":"https://api.github.com/repos/Mooophy/meetu/issues/69"},"comments":{"href":"https://api.github.com/repos/Mooophy/meetu/issues/69/comments"},"review_comments":{"href":"https://api.github.com/repos/Mooophy/meetu/pulls/69/comments"},"review_comment":{"href":"https://api.github.com/repos/Mooophy/meetu/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Mooophy/meetu/pulls/69/commits"},"statuses":{"href":"https://api.github.com/repos/Mooophy/meetu/statuses/2d51aea95b006a294ca3b4f97ed2e8863fdc124c"}}}}