{"action":"created","comment":{"url":"https://api.github.com/repos/tjcsl/ion/pulls/comments/65817841","id":65817841,"diff_hunk":"@@ -12,21 +12,22 @@ $(function() {\n \n     $(\".main *:horizontallyscrollable\").on(\"touchstart\", function(e) {\n         var scrollPos = $(this).scrollLeft();\n-        if (scrollPos != 0) {\n+        if (scrollPos !== 0) {\n             e.stopPropagation();\n         }\n     });\n \n     var initX = null, initY = null, listening = false;\n-    $(window).on(\"touchstart\", function(e) {\n+    var win = $(window);\n+    win.on(\"touchstart\", function(e) {\n         initX = e.originalEvent.touches[0].clientX;\n         initY = e.originalEvent.touches[0].clientY;\n         listening = true;\n     });\n-    $(window).on(\"touchend\", function(e) {\n+    win.on(\"touchend\", function() {\n         listening = false;\n     });\n-    $(window).on(\"touchmove\", function(e) {\n+    win.on(\"touchmove\", function(e) {","path":"intranet/static/js/common.nav.js","position":35,"original_position":35,"commit_id":"0d44ebe89f5beead5d878dbd3cbb873d05b2b100","original_commit_id":"0d44ebe89f5beead5d878dbd3cbb873d05b2b100","user":{"login":"tjhsst-ion","id":10491321,"avatar_url":"https://avatars.githubusercontent.com/u/10491321?v=3","gravatar_id":"","url":"https://api.github.com/users/tjhsst-ion","html_url":"https://github.com/tjhsst-ion","followers_url":"https://api.github.com/users/tjhsst-ion/followers","following_url":"https://api.github.com/users/tjhsst-ion/following{/other_user}","gists_url":"https://api.github.com/users/tjhsst-ion/gists{/gist_id}","starred_url":"https://api.github.com/users/tjhsst-ion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjhsst-ion/subscriptions","organizations_url":"https://api.github.com/users/tjhsst-ion/orgs","repos_url":"https://api.github.com/users/tjhsst-ion/repos","events_url":"https://api.github.com/users/tjhsst-ion/events{/privacy}","received_events_url":"https://api.github.com/users/tjhsst-ion/received_events","type":"User","site_admin":false},"body":"![Codacy](https://www.codacy.com/assets/images/favicon.png) Issue found: [Function 'anonymous' has a complexity of 6.](https://www.codacy.com/app/tjhsst-ion/ion/file/2692276426/issues/source?bid=3212528&fileBranchId=3299315#l30)","created_at":"2016-06-05T13:50:15Z","updated_at":"2016-06-05T13:50:15Z","html_url":"https://github.com/tjcsl/ion/pull/455#discussion_r65817841","pull_request_url":"https://api.github.com/repos/tjcsl/ion/pulls/455","_links":{"self":{"href":"https://api.github.com/repos/tjcsl/ion/pulls/comments/65817841"},"html":{"href":"https://github.com/tjcsl/ion/pull/455#discussion_r65817841"},"pull_request":{"href":"https://api.github.com/repos/tjcsl/ion/pulls/455"}}},"pull_request":{"url":"https://api.github.com/repos/tjcsl/ion/pulls/455","id":70137141,"html_url":"https://github.com/tjcsl/ion/pull/455","diff_url":"https://github.com/tjcsl/ion/pull/455.diff","patch_url":"https://github.com/tjcsl/ion/pull/455.patch","issue_url":"https://api.github.com/repos/tjcsl/ion/issues/455","number":455,"state":"open","locked":false,"title":"Dev","user":{"login":"jamesthoughton","id":8053163,"avatar_url":"https://avatars.githubusercontent.com/u/8053163?v=3","gravatar_id":"","url":"https://api.github.com/users/jamesthoughton","html_url":"https://github.com/jamesthoughton","followers_url":"https://api.github.com/users/jamesthoughton/followers","following_url":"https://api.github.com/users/jamesthoughton/following{/other_user}","gists_url":"https://api.github.com/users/jamesthoughton/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesthoughton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesthoughton/subscriptions","organizations_url":"https://api.github.com/users/jamesthoughton/orgs","repos_url":"https://api.github.com/users/jamesthoughton/repos","events_url":"https://api.github.com/users/jamesthoughton/events{/privacy}","received_events_url":"https://api.github.com/users/jamesthoughton/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-05-15T23:30:47Z","updated_at":"2016-06-05T13:50:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"76f5bb7455fbdaad80c7a688dcb4ded94597a5ec","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/tjcsl/ion/pulls/455/commits","review_comments_url":"https://api.github.com/repos/tjcsl/ion/pulls/455/comments","review_comment_url":"https://api.github.com/repos/tjcsl/ion/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tjcsl/ion/issues/455/comments","statuses_url":"https://api.github.com/repos/tjcsl/ion/statuses/0d44ebe89f5beead5d878dbd3cbb873d05b2b100","head":{"label":"tjcsl:dev","ref":"dev","sha":"0d44ebe89f5beead5d878dbd3cbb873d05b2b100","user":{"login":"tjcsl","id":5313020,"avatar_url":"https://avatars.githubusercontent.com/u/5313020?v=3","gravatar_id":"","url":"https://api.github.com/users/tjcsl","html_url":"https://github.com/tjcsl","followers_url":"https://api.github.com/users/tjcsl/followers","following_url":"https://api.github.com/users/tjcsl/following{/other_user}","gists_url":"https://api.github.com/users/tjcsl/gists{/gist_id}","starred_url":"https://api.github.com/users/tjcsl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjcsl/subscriptions","organizations_url":"https://api.github.com/users/tjcsl/orgs","repos_url":"https://api.github.com/users/tjcsl/repos","events_url":"https://api.github.com/users/tjcsl/events{/privacy}","received_events_url":"https://api.github.com/users/tjcsl/received_events","type":"Organization","site_admin":false},"repo":{"id":22979044,"name":"ion","full_name":"tjcsl/ion","owner":{"login":"tjcsl","id":5313020,"avatar_url":"https://avatars.githubusercontent.com/u/5313020?v=3","gravatar_id":"","url":"https://api.github.com/users/tjcsl","html_url":"https://github.com/tjcsl","followers_url":"https://api.github.com/users/tjcsl/followers","following_url":"https://api.github.com/users/tjcsl/following{/other_user}","gists_url":"https://api.github.com/users/tjcsl/gists{/gist_id}","starred_url":"https://api.github.com/users/tjcsl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjcsl/subscriptions","organizations_url":"https://api.github.com/users/tjcsl/orgs","repos_url":"https://api.github.com/users/tjcsl/repos","events_url":"https://api.github.com/users/tjcsl/events{/privacy}","received_events_url":"https://api.github.com/users/tjcsl/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tjcsl/ion","description":"TJ Intranet 3 (Ion)","fork":false,"url":"https://api.github.com/repos/tjcsl/ion","forks_url":"https://api.github.com/repos/tjcsl/ion/forks","keys_url":"https://api.github.com/repos/tjcsl/ion/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tjcsl/ion/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tjcsl/ion/teams","hooks_url":"https://api.github.com/repos/tjcsl/ion/hooks","issue_events_url":"https://api.github.com/repos/tjcsl/ion/issues/events{/number}","events_url":"https://api.github.com/repos/tjcsl/ion/events","assignees_url":"https://api.github.com/repos/tjcsl/ion/assignees{/user}","branches_url":"https://api.github.com/repos/tjcsl/ion/branches{/branch}","tags_url":"https://api.github.com/repos/tjcsl/ion/tags","blobs_url":"https://api.github.com/repos/tjcsl/ion/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tjcsl/ion/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tjcsl/ion/git/refs{/sha}","trees_url":"https://api.github.com/repos/tjcsl/ion/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tjcsl/ion/statuses/{sha}","languages_url":"https://api.github.com/repos/tjcsl/ion/languages","stargazers_url":"https://api.github.com/repos/tjcsl/ion/stargazers","contributors_url":"https://api.github.com/repos/tjcsl/ion/contributors","subscribers_url":"https://api.github.com/repos/tjcsl/ion/subscribers","subscription_url":"https://api.github.com/repos/tjcsl/ion/subscription","commits_url":"https://api.github.com/repos/tjcsl/ion/commits{/sha}","git_commits_url":"https://api.github.com/repos/tjcsl/ion/git/commits{/sha}","comments_url":"https://api.github.com/repos/tjcsl/ion/comments{/number}","issue_comment_url":"https://api.github.com/repos/tjcsl/ion/issues/comments{/number}","contents_url":"https://api.github.com/repos/tjcsl/ion/contents/{+path}","compare_url":"https://api.github.com/repos/tjcsl/ion/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tjcsl/ion/merges","archive_url":"https://api.github.com/repos/tjcsl/ion/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tjcsl/ion/downloads","issues_url":"https://api.github.com/repos/tjcsl/ion/issues{/number}","pulls_url":"https://api.github.com/repos/tjcsl/ion/pulls{/number}","milestones_url":"https://api.github.com/repos/tjcsl/ion/milestones{/number}","notifications_url":"https://api.github.com/repos/tjcsl/ion/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tjcsl/ion/labels{/name}","releases_url":"https://api.github.com/repos/tjcsl/ion/releases{/id}","deployments_url":"https://api.github.com/repos/tjcsl/ion/deployments","created_at":"2014-08-15T04:59:41Z","updated_at":"2016-05-14T17:15:09Z","pushed_at":"2016-06-05T13:47:34Z","git_url":"git://github.com/tjcsl/ion.git","ssh_url":"git@github.com:tjcsl/ion.git","clone_url":"https://github.com/tjcsl/ion.git","svn_url":"https://github.com/tjcsl/ion","homepage":"https://ion.tjhsst.edu","size":88735,"stargazers_count":24,"watchers_count":24,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":12,"mirror_url":null,"open_issues_count":63,"forks":12,"open_issues":63,"watchers":24,"default_branch":"master"}},"base":{"label":"tjcsl:master","ref":"master","sha":"8339ff1ba38a940ef7e5f9423ba62a72d3d3edfb","user":{"login":"tjcsl","id":5313020,"avatar_url":"https://avatars.githubusercontent.com/u/5313020?v=3","gravatar_id":"","url":"https://api.github.com/users/tjcsl","html_url":"https://github.com/tjcsl","followers_url":"https://api.github.com/users/tjcsl/followers","following_url":"https://api.github.com/users/tjcsl/following{/other_user}","gists_url":"https://api.github.com/users/tjcsl/gists{/gist_id}","starred_url":"https://api.github.com/users/tjcsl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjcsl/subscriptions","organizations_url":"https://api.github.com/users/tjcsl/orgs","repos_url":"https://api.github.com/users/tjcsl/repos","events_url":"https://api.github.com/users/tjcsl/events{/privacy}","received_events_url":"https://api.github.com/users/tjcsl/received_events","type":"Organization","site_admin":false},"repo":{"id":22979044,"name":"ion","full_name":"tjcsl/ion","owner":{"login":"tjcsl","id":5313020,"avatar_url":"https://avatars.githubusercontent.com/u/5313020?v=3","gravatar_id":"","url":"https://api.github.com/users/tjcsl","html_url":"https://github.com/tjcsl","followers_url":"https://api.github.com/users/tjcsl/followers","following_url":"https://api.github.com/users/tjcsl/following{/other_user}","gists_url":"https://api.github.com/users/tjcsl/gists{/gist_id}","starred_url":"https://api.github.com/users/tjcsl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjcsl/subscriptions","organizations_url":"https://api.github.com/users/tjcsl/orgs","repos_url":"https://api.github.com/users/tjcsl/repos","events_url":"https://api.github.com/users/tjcsl/events{/privacy}","received_events_url":"https://api.github.com/users/tjcsl/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tjcsl/ion","description":"TJ Intranet 3 (Ion)","fork":false,"url":"https://api.github.com/repos/tjcsl/ion","forks_url":"https://api.github.com/repos/tjcsl/ion/forks","keys_url":"https://api.github.com/repos/tjcsl/ion/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tjcsl/ion/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tjcsl/ion/teams","hooks_url":"https://api.github.com/repos/tjcsl/ion/hooks","issue_events_url":"https://api.github.com/repos/tjcsl/ion/issues/events{/number}","events_url":"https://api.github.com/repos/tjcsl/ion/events","assignees_url":"https://api.github.com/repos/tjcsl/ion/assignees{/user}","branches_url":"https://api.github.com/repos/tjcsl/ion/branches{/branch}","tags_url":"https://api.github.com/repos/tjcsl/ion/tags","blobs_url":"https://api.github.com/repos/tjcsl/ion/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tjcsl/ion/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tjcsl/ion/git/refs{/sha}","trees_url":"https://api.github.com/repos/tjcsl/ion/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tjcsl/ion/statuses/{sha}","languages_url":"https://api.github.com/repos/tjcsl/ion/languages","stargazers_url":"https://api.github.com/repos/tjcsl/ion/stargazers","contributors_url":"https://api.github.com/repos/tjcsl/ion/contributors","subscribers_url":"https://api.github.com/repos/tjcsl/ion/subscribers","subscription_url":"https://api.github.com/repos/tjcsl/ion/subscription","commits_url":"https://api.github.com/repos/tjcsl/ion/commits{/sha}","git_commits_url":"https://api.github.com/repos/tjcsl/ion/git/commits{/sha}","comments_url":"https://api.github.com/repos/tjcsl/ion/comments{/number}","issue_comment_url":"https://api.github.com/repos/tjcsl/ion/issues/comments{/number}","contents_url":"https://api.github.com/repos/tjcsl/ion/contents/{+path}","compare_url":"https://api.github.com/repos/tjcsl/ion/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tjcsl/ion/merges","archive_url":"https://api.github.com/repos/tjcsl/ion/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tjcsl/ion/downloads","issues_url":"https://api.github.com/repos/tjcsl/ion/issues{/number}","pulls_url":"https://api.github.com/repos/tjcsl/ion/pulls{/number}","milestones_url":"https://api.github.com/repos/tjcsl/ion/milestones{/number}","notifications_url":"https://api.github.com/repos/tjcsl/ion/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tjcsl/ion/labels{/name}","releases_url":"https://api.github.com/repos/tjcsl/ion/releases{/id}","deployments_url":"https://api.github.com/repos/tjcsl/ion/deployments","created_at":"2014-08-15T04:59:41Z","updated_at":"2016-05-14T17:15:09Z","pushed_at":"2016-06-05T13:47:34Z","git_url":"git://github.com/tjcsl/ion.git","ssh_url":"git@github.com:tjcsl/ion.git","clone_url":"https://github.com/tjcsl/ion.git","svn_url":"https://github.com/tjcsl/ion","homepage":"https://ion.tjhsst.edu","size":88735,"stargazers_count":24,"watchers_count":24,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":12,"mirror_url":null,"open_issues_count":63,"forks":12,"open_issues":63,"watchers":24,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tjcsl/ion/pulls/455"},"html":{"href":"https://github.com/tjcsl/ion/pull/455"},"issue":{"href":"https://api.github.com/repos/tjcsl/ion/issues/455"},"comments":{"href":"https://api.github.com/repos/tjcsl/ion/issues/455/comments"},"review_comments":{"href":"https://api.github.com/repos/tjcsl/ion/pulls/455/comments"},"review_comment":{"href":"https://api.github.com/repos/tjcsl/ion/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tjcsl/ion/pulls/455/commits"},"statuses":{"href":"https://api.github.com/repos/tjcsl/ion/statuses/0d44ebe89f5beead5d878dbd3cbb873d05b2b100"}}}}
{"actor":{"display_login":"tjhsst-ion"}}