{"action":"created","comment":{"url":"https://api.github.com/repos/Courseography/courseography/pulls/comments/35485314","id":35485314,"diff_hunk":"@@ -124,3 +125,19 @@ function enableReset() {\n \n     fillFCECount();\n }\n+\n+/**\n+ * Enables the Focuses nav in the sidebar if the CS graph is selected.\n+ * @param:{string} id ID of the graph we just selected\n+**/\n+function changeFocusEnable(id) {\n+    var currentGraph = graphs[id - 1].title;\n+    if (currentGraph.indexOf(\"Computer Science\") >= 0)\n+    {","path":"public/js/graph/sidebar/sidebar_events.js","position":null,"original_position":20,"commit_id":"92b87c281261fb8a7211473ce5868aca54551618","original_commit_id":"93e4e3afeb5e9e69d4eaf60914f054e6d70d13dd","user":{"login":"Ian-Stewart-Binks","id":6301000,"avatar_url":"https://avatars.githubusercontent.com/u/6301000?v=3","gravatar_id":"","url":"https://api.github.com/users/Ian-Stewart-Binks","html_url":"https://github.com/Ian-Stewart-Binks","followers_url":"https://api.github.com/users/Ian-Stewart-Binks/followers","following_url":"https://api.github.com/users/Ian-Stewart-Binks/following{/other_user}","gists_url":"https://api.github.com/users/Ian-Stewart-Binks/gists{/gist_id}","starred_url":"https://api.github.com/users/Ian-Stewart-Binks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ian-Stewart-Binks/subscriptions","organizations_url":"https://api.github.com/users/Ian-Stewart-Binks/orgs","repos_url":"https://api.github.com/users/Ian-Stewart-Binks/repos","events_url":"https://api.github.com/users/Ian-Stewart-Binks/events{/privacy}","received_events_url":"https://api.github.com/users/Ian-Stewart-Binks/received_events","type":"User","site_admin":false},"body":"Not a problem. Watch out though, it looks like the `else` statement walked onto the next line.","created_at":"2015-07-25T18:13:41Z","updated_at":"2015-07-25T18:13:41Z","html_url":"https://github.com/Courseography/courseography/pull/679#discussion_r35485314","pull_request_url":"https://api.github.com/repos/Courseography/courseography/pulls/679","_links":{"self":{"href":"https://api.github.com/repos/Courseography/courseography/pulls/comments/35485314"},"html":{"href":"https://github.com/Courseography/courseography/pull/679#discussion_r35485314"},"pull_request":{"href":"https://api.github.com/repos/Courseography/courseography/pulls/679"}}},"pull_request":{"url":"https://api.github.com/repos/Courseography/courseography/pulls/679","id":39775804,"html_url":"https://github.com/Courseography/courseography/pull/679","diff_url":"https://github.com/Courseography/courseography/pull/679.diff","patch_url":"https://github.com/Courseography/courseography/pull/679.patch","issue_url":"https://api.github.com/repos/Courseography/courseography/issues/679","number":679,"state":"open","locked":false,"title":"Issue 664 Focuses Visibility fix","user":{"login":"christinem","id":5077973,"avatar_url":"https://avatars.githubusercontent.com/u/5077973?v=3","gravatar_id":"","url":"https://api.github.com/users/christinem","html_url":"https://github.com/christinem","followers_url":"https://api.github.com/users/christinem/followers","following_url":"https://api.github.com/users/christinem/following{/other_user}","gists_url":"https://api.github.com/users/christinem/gists{/gist_id}","starred_url":"https://api.github.com/users/christinem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christinem/subscriptions","organizations_url":"https://api.github.com/users/christinem/orgs","repos_url":"https://api.github.com/users/christinem/repos","events_url":"https://api.github.com/users/christinem/events{/privacy}","received_events_url":"https://api.github.com/users/christinem/received_events","type":"User","site_admin":false},"body":"This fixes Issue #664.","created_at":"2015-07-13T03:03:06Z","updated_at":"2015-07-25T18:13:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ad63f26ee30f0a5394c4276e658b206a27264ede","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Courseography/courseography/pulls/679/commits","review_comments_url":"https://api.github.com/repos/Courseography/courseography/pulls/679/comments","review_comment_url":"https://api.github.com/repos/Courseography/courseography/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Courseography/courseography/issues/679/comments","statuses_url":"https://api.github.com/repos/Courseography/courseography/statuses/92b87c281261fb8a7211473ce5868aca54551618","head":{"label":"christinem:issue-664","ref":"issue-664","sha":"92b87c281261fb8a7211473ce5868aca54551618","user":{"login":"christinem","id":5077973,"avatar_url":"https://avatars.githubusercontent.com/u/5077973?v=3","gravatar_id":"","url":"https://api.github.com/users/christinem","html_url":"https://github.com/christinem","followers_url":"https://api.github.com/users/christinem/followers","following_url":"https://api.github.com/users/christinem/following{/other_user}","gists_url":"https://api.github.com/users/christinem/gists{/gist_id}","starred_url":"https://api.github.com/users/christinem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christinem/subscriptions","organizations_url":"https://api.github.com/users/christinem/orgs","repos_url":"https://api.github.com/users/christinem/repos","events_url":"https://api.github.com/users/christinem/events{/privacy}","received_events_url":"https://api.github.com/users/christinem/received_events","type":"User","site_admin":false},"repo":{"id":28279251,"name":"courseography","full_name":"christinem/courseography","owner":{"login":"christinem","id":5077973,"avatar_url":"https://avatars.githubusercontent.com/u/5077973?v=3","gravatar_id":"","url":"https://api.github.com/users/christinem","html_url":"https://github.com/christinem","followers_url":"https://api.github.com/users/christinem/followers","following_url":"https://api.github.com/users/christinem/following{/other_user}","gists_url":"https://api.github.com/users/christinem/gists{/gist_id}","starred_url":"https://api.github.com/users/christinem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christinem/subscriptions","organizations_url":"https://api.github.com/users/christinem/orgs","repos_url":"https://api.github.com/users/christinem/repos","events_url":"https://api.github.com/users/christinem/events{/privacy}","received_events_url":"https://api.github.com/users/christinem/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/christinem/courseography","description":"Courseography is a tool created by David Liu and Ian Stewart-Binks to guide students through their undergraduate careers.","fork":true,"url":"https://api.github.com/repos/christinem/courseography","forks_url":"https://api.github.com/repos/christinem/courseography/forks","keys_url":"https://api.github.com/repos/christinem/courseography/keys{/key_id}","collaborators_url":"https://api.github.com/repos/christinem/courseography/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/christinem/courseography/teams","hooks_url":"https://api.github.com/repos/christinem/courseography/hooks","issue_events_url":"https://api.github.com/repos/christinem/courseography/issues/events{/number}","events_url":"https://api.github.com/repos/christinem/courseography/events","assignees_url":"https://api.github.com/repos/christinem/courseography/assignees{/user}","branches_url":"https://api.github.com/repos/christinem/courseography/branches{/branch}","tags_url":"https://api.github.com/repos/christinem/courseography/tags","blobs_url":"https://api.github.com/repos/christinem/courseography/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/christinem/courseography/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/christinem/courseography/git/refs{/sha}","trees_url":"https://api.github.com/repos/christinem/courseography/git/trees{/sha}","statuses_url":"https://api.github.com/repos/christinem/courseography/statuses/{sha}","languages_url":"https://api.github.com/repos/christinem/courseography/languages","stargazers_url":"https://api.github.com/repos/christinem/courseography/stargazers","contributors_url":"https://api.github.com/repos/christinem/courseography/contributors","subscribers_url":"https://api.github.com/repos/christinem/courseography/subscribers","subscription_url":"https://api.github.com/repos/christinem/courseography/subscription","commits_url":"https://api.github.com/repos/christinem/courseography/commits{/sha}","git_commits_url":"https://api.github.com/repos/christinem/courseography/git/commits{/sha}","comments_url":"https://api.github.com/repos/christinem/courseography/comments{/number}","issue_comment_url":"https://api.github.com/repos/christinem/courseography/issues/comments{/number}","contents_url":"https://api.github.com/repos/christinem/courseography/contents/{+path}","compare_url":"https://api.github.com/repos/christinem/courseography/compare/{base}...{head}","merges_url":"https://api.github.com/repos/christinem/courseography/merges","archive_url":"https://api.github.com/repos/christinem/courseography/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/christinem/courseography/downloads","issues_url":"https://api.github.com/repos/christinem/courseography/issues{/number}","pulls_url":"https://api.github.com/repos/christinem/courseography/pulls{/number}","milestones_url":"https://api.github.com/repos/christinem/courseography/milestones{/number}","notifications_url":"https://api.github.com/repos/christinem/courseography/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/christinem/courseography/labels{/name}","releases_url":"https://api.github.com/repos/christinem/courseography/releases{/id}","created_at":"2014-12-20T21:15:10Z","updated_at":"2015-05-02T03:57:54Z","pushed_at":"2015-07-20T15:29:03Z","git_url":"git://github.com/christinem/courseography.git","ssh_url":"git@github.com:christinem/courseography.git","clone_url":"https://github.com/christinem/courseography.git","svn_url":"https://github.com/christinem/courseography","homepage":"","size":35075,"stargazers_count":0,"watchers_count":0,"language":"Haskell","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":"Courseography:master","ref":"master","sha":"b998f069f282e5ec08ad641eed654686a14c0d8b","user":{"login":"Courseography","id":9721671,"avatar_url":"https://avatars.githubusercontent.com/u/9721671?v=3","gravatar_id":"","url":"https://api.github.com/users/Courseography","html_url":"https://github.com/Courseography","followers_url":"https://api.github.com/users/Courseography/followers","following_url":"https://api.github.com/users/Courseography/following{/other_user}","gists_url":"https://api.github.com/users/Courseography/gists{/gist_id}","starred_url":"https://api.github.com/users/Courseography/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Courseography/subscriptions","organizations_url":"https://api.github.com/users/Courseography/orgs","repos_url":"https://api.github.com/users/Courseography/repos","events_url":"https://api.github.com/users/Courseography/events{/privacy}","received_events_url":"https://api.github.com/users/Courseography/received_events","type":"Organization","site_admin":false},"repo":{"id":16873349,"name":"courseography","full_name":"Courseography/courseography","owner":{"login":"Courseography","id":9721671,"avatar_url":"https://avatars.githubusercontent.com/u/9721671?v=3","gravatar_id":"","url":"https://api.github.com/users/Courseography","html_url":"https://github.com/Courseography","followers_url":"https://api.github.com/users/Courseography/followers","following_url":"https://api.github.com/users/Courseography/following{/other_user}","gists_url":"https://api.github.com/users/Courseography/gists{/gist_id}","starred_url":"https://api.github.com/users/Courseography/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Courseography/subscriptions","organizations_url":"https://api.github.com/users/Courseography/orgs","repos_url":"https://api.github.com/users/Courseography/repos","events_url":"https://api.github.com/users/Courseography/events{/privacy}","received_events_url":"https://api.github.com/users/Courseography/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Courseography/courseography","description":"Courseography is a tool created by David Liu and Ian Stewart-Binks to guide students through their undergraduate careers.","fork":false,"url":"https://api.github.com/repos/Courseography/courseography","forks_url":"https://api.github.com/repos/Courseography/courseography/forks","keys_url":"https://api.github.com/repos/Courseography/courseography/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Courseography/courseography/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Courseography/courseography/teams","hooks_url":"https://api.github.com/repos/Courseography/courseography/hooks","issue_events_url":"https://api.github.com/repos/Courseography/courseography/issues/events{/number}","events_url":"https://api.github.com/repos/Courseography/courseography/events","assignees_url":"https://api.github.com/repos/Courseography/courseography/assignees{/user}","branches_url":"https://api.github.com/repos/Courseography/courseography/branches{/branch}","tags_url":"https://api.github.com/repos/Courseography/courseography/tags","blobs_url":"https://api.github.com/repos/Courseography/courseography/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Courseography/courseography/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Courseography/courseography/git/refs{/sha}","trees_url":"https://api.github.com/repos/Courseography/courseography/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Courseography/courseography/statuses/{sha}","languages_url":"https://api.github.com/repos/Courseography/courseography/languages","stargazers_url":"https://api.github.com/repos/Courseography/courseography/stargazers","contributors_url":"https://api.github.com/repos/Courseography/courseography/contributors","subscribers_url":"https://api.github.com/repos/Courseography/courseography/subscribers","subscription_url":"https://api.github.com/repos/Courseography/courseography/subscription","commits_url":"https://api.github.com/repos/Courseography/courseography/commits{/sha}","git_commits_url":"https://api.github.com/repos/Courseography/courseography/git/commits{/sha}","comments_url":"https://api.github.com/repos/Courseography/courseography/comments{/number}","issue_comment_url":"https://api.github.com/repos/Courseography/courseography/issues/comments{/number}","contents_url":"https://api.github.com/repos/Courseography/courseography/contents/{+path}","compare_url":"https://api.github.com/repos/Courseography/courseography/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Courseography/courseography/merges","archive_url":"https://api.github.com/repos/Courseography/courseography/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Courseography/courseography/downloads","issues_url":"https://api.github.com/repos/Courseography/courseography/issues{/number}","pulls_url":"https://api.github.com/repos/Courseography/courseography/pulls{/number}","milestones_url":"https://api.github.com/repos/Courseography/courseography/milestones{/number}","notifications_url":"https://api.github.com/repos/Courseography/courseography/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Courseography/courseography/labels{/name}","releases_url":"https://api.github.com/repos/Courseography/courseography/releases{/id}","created_at":"2014-02-15T22:32:22Z","updated_at":"2015-07-18T02:09:22Z","pushed_at":"2015-07-25T18:12:38Z","git_url":"git://github.com/Courseography/courseography.git","ssh_url":"git@github.com:Courseography/courseography.git","clone_url":"https://github.com/Courseography/courseography.git","svn_url":"https://github.com/Courseography/courseography","homepage":"","size":41960,"stargazers_count":12,"watchers_count":12,"language":"Haskell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":21,"mirror_url":null,"open_issues_count":43,"forks":21,"open_issues":43,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Courseography/courseography/pulls/679"},"html":{"href":"https://github.com/Courseography/courseography/pull/679"},"issue":{"href":"https://api.github.com/repos/Courseography/courseography/issues/679"},"comments":{"href":"https://api.github.com/repos/Courseography/courseography/issues/679/comments"},"review_comments":{"href":"https://api.github.com/repos/Courseography/courseography/pulls/679/comments"},"review_comment":{"href":"https://api.github.com/repos/Courseography/courseography/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Courseography/courseography/pulls/679/commits"},"statuses":{"href":"https://api.github.com/repos/Courseography/courseography/statuses/92b87c281261fb8a7211473ce5868aca54551618"}}}}