{"action":"closed","number":193,"pull_request":{"url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/pulls/193","id":42977326,"html_url":"https://github.com/sfu-natlang/lensingwikipedia/pull/193","diff_url":"https://github.com/sfu-natlang/lensingwikipedia/pull/193.diff","patch_url":"https://github.com/sfu-natlang/lensingwikipedia/pull/193.patch","issue_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/issues/193","number":193,"state":"closed","locked":false,"title":"Add a config variable to select displayed views","user":{"login":"vlad003","id":631497,"avatar_url":"https://avatars.githubusercontent.com/u/631497?v=3","gravatar_id":"","url":"https://api.github.com/users/vlad003","html_url":"https://github.com/vlad003","followers_url":"https://api.github.com/users/vlad003/followers","following_url":"https://api.github.com/users/vlad003/following{/other_user}","gists_url":"https://api.github.com/users/vlad003/gists{/gist_id}","starred_url":"https://api.github.com/users/vlad003/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vlad003/subscriptions","organizations_url":"https://api.github.com/users/vlad003/orgs","repos_url":"https://api.github.com/users/vlad003/repos","events_url":"https://api.github.com/users/vlad003/events{/privacy}","received_events_url":"https://api.github.com/users/vlad003/received_events","type":"User","site_admin":false},"body":"This is definitely an ugly way of doing this, but I can't do this a loop since there are sometimes 2 or 3 names for the same view, and the setup functions don't all have the same interface.\r\n\r\nIf I were to refactor the views a bit to stick with 1 name per view, and have a global 'parameters' object that each setup function would get (and then only read the attributes it's interested in), then this could be turned into a cleaner loop.\r\n\r\nIf this refactor doesn't conflict with anyone else's work, I'd like to do it, and then this PR will be ready to be merged.","created_at":"2015-08-20T20:56:57Z","updated_at":"2015-08-24T15:57:05Z","closed_at":"2015-08-24T15:57:05Z","merged_at":"2015-08-24T15:57:05Z","merge_commit_sha":"dd9c6d5e71f35e6b044537f0d46e37f601fbef62","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/pulls/193/commits","review_comments_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/pulls/193/comments","review_comment_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/issues/193/comments","statuses_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/statuses/c5047e5e72cd84ec77e9548ece3ce6a743e2bb88","head":{"label":"sfu-natlang:frontend/optional-tabs","ref":"frontend/optional-tabs","sha":"c5047e5e72cd84ec77e9548ece3ce6a743e2bb88","user":{"login":"sfu-natlang","id":1696850,"avatar_url":"https://avatars.githubusercontent.com/u/1696850?v=3","gravatar_id":"","url":"https://api.github.com/users/sfu-natlang","html_url":"https://github.com/sfu-natlang","followers_url":"https://api.github.com/users/sfu-natlang/followers","following_url":"https://api.github.com/users/sfu-natlang/following{/other_user}","gists_url":"https://api.github.com/users/sfu-natlang/gists{/gist_id}","starred_url":"https://api.github.com/users/sfu-natlang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sfu-natlang/subscriptions","organizations_url":"https://api.github.com/users/sfu-natlang/orgs","repos_url":"https://api.github.com/users/sfu-natlang/repos","events_url":"https://api.github.com/users/sfu-natlang/events{/privacy}","received_events_url":"https://api.github.com/users/sfu-natlang/received_events","type":"Organization","site_admin":false},"repo":{"id":9592401,"name":"lensingwikipedia","full_name":"sfu-natlang/lensingwikipedia","owner":{"login":"sfu-natlang","id":1696850,"avatar_url":"https://avatars.githubusercontent.com/u/1696850?v=3","gravatar_id":"","url":"https://api.github.com/users/sfu-natlang","html_url":"https://github.com/sfu-natlang","followers_url":"https://api.github.com/users/sfu-natlang/followers","following_url":"https://api.github.com/users/sfu-natlang/following{/other_user}","gists_url":"https://api.github.com/users/sfu-natlang/gists{/gist_id}","starred_url":"https://api.github.com/users/sfu-natlang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sfu-natlang/subscriptions","organizations_url":"https://api.github.com/users/sfu-natlang/orgs","repos_url":"https://api.github.com/users/sfu-natlang/repos","events_url":"https://api.github.com/users/sfu-natlang/events{/privacy}","received_events_url":"https://api.github.com/users/sfu-natlang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sfu-natlang/lensingwikipedia","description":"Lensing Wikipedia is an interface to visually browse through human history as represented in Wikipedia. This the source code that runs the website http://lensingwikipedia.cs.sfu.ca/","fork":false,"url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia","forks_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/forks","keys_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/teams","hooks_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/hooks","issue_events_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/issues/events{/number}","events_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/events","assignees_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/assignees{/user}","branches_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/branches{/branch}","tags_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/tags","blobs_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/git/refs{/sha}","trees_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/statuses/{sha}","languages_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/languages","stargazers_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/stargazers","contributors_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/contributors","subscribers_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/subscribers","subscription_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/subscription","commits_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/commits{/sha}","git_commits_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/git/commits{/sha}","comments_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/comments{/number}","issue_comment_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/issues/comments{/number}","contents_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/contents/{+path}","compare_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/merges","archive_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/downloads","issues_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/issues{/number}","pulls_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/pulls{/number}","milestones_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/milestones{/number}","notifications_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/labels{/name}","releases_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/releases{/id}","created_at":"2013-04-22T06:33:03Z","updated_at":"2015-05-08T15:33:51Z","pushed_at":"2015-08-24T15:57:05Z","git_url":"git://github.com/sfu-natlang/lensingwikipedia.git","ssh_url":"git@github.com:sfu-natlang/lensingwikipedia.git","clone_url":"https://github.com/sfu-natlang/lensingwikipedia.git","svn_url":"https://github.com/sfu-natlang/lensingwikipedia","homepage":"","size":4229,"stargazers_count":6,"watchers_count":6,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":34,"forks":2,"open_issues":34,"watchers":6,"default_branch":"master"}},"base":{"label":"sfu-natlang:master","ref":"master","sha":"7559fe3edcf9ed6ec30dfa0a5a523c804666cee0","user":{"login":"sfu-natlang","id":1696850,"avatar_url":"https://avatars.githubusercontent.com/u/1696850?v=3","gravatar_id":"","url":"https://api.github.com/users/sfu-natlang","html_url":"https://github.com/sfu-natlang","followers_url":"https://api.github.com/users/sfu-natlang/followers","following_url":"https://api.github.com/users/sfu-natlang/following{/other_user}","gists_url":"https://api.github.com/users/sfu-natlang/gists{/gist_id}","starred_url":"https://api.github.com/users/sfu-natlang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sfu-natlang/subscriptions","organizations_url":"https://api.github.com/users/sfu-natlang/orgs","repos_url":"https://api.github.com/users/sfu-natlang/repos","events_url":"https://api.github.com/users/sfu-natlang/events{/privacy}","received_events_url":"https://api.github.com/users/sfu-natlang/received_events","type":"Organization","site_admin":false},"repo":{"id":9592401,"name":"lensingwikipedia","full_name":"sfu-natlang/lensingwikipedia","owner":{"login":"sfu-natlang","id":1696850,"avatar_url":"https://avatars.githubusercontent.com/u/1696850?v=3","gravatar_id":"","url":"https://api.github.com/users/sfu-natlang","html_url":"https://github.com/sfu-natlang","followers_url":"https://api.github.com/users/sfu-natlang/followers","following_url":"https://api.github.com/users/sfu-natlang/following{/other_user}","gists_url":"https://api.github.com/users/sfu-natlang/gists{/gist_id}","starred_url":"https://api.github.com/users/sfu-natlang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sfu-natlang/subscriptions","organizations_url":"https://api.github.com/users/sfu-natlang/orgs","repos_url":"https://api.github.com/users/sfu-natlang/repos","events_url":"https://api.github.com/users/sfu-natlang/events{/privacy}","received_events_url":"https://api.github.com/users/sfu-natlang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sfu-natlang/lensingwikipedia","description":"Lensing Wikipedia is an interface to visually browse through human history as represented in Wikipedia. This the source code that runs the website http://lensingwikipedia.cs.sfu.ca/","fork":false,"url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia","forks_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/forks","keys_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/teams","hooks_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/hooks","issue_events_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/issues/events{/number}","events_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/events","assignees_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/assignees{/user}","branches_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/branches{/branch}","tags_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/tags","blobs_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/git/refs{/sha}","trees_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/statuses/{sha}","languages_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/languages","stargazers_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/stargazers","contributors_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/contributors","subscribers_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/subscribers","subscription_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/subscription","commits_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/commits{/sha}","git_commits_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/git/commits{/sha}","comments_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/comments{/number}","issue_comment_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/issues/comments{/number}","contents_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/contents/{+path}","compare_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/merges","archive_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/downloads","issues_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/issues{/number}","pulls_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/pulls{/number}","milestones_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/milestones{/number}","notifications_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/labels{/name}","releases_url":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/releases{/id}","created_at":"2013-04-22T06:33:03Z","updated_at":"2015-05-08T15:33:51Z","pushed_at":"2015-08-24T15:57:05Z","git_url":"git://github.com/sfu-natlang/lensingwikipedia.git","ssh_url":"git@github.com:sfu-natlang/lensingwikipedia.git","clone_url":"https://github.com/sfu-natlang/lensingwikipedia.git","svn_url":"https://github.com/sfu-natlang/lensingwikipedia","homepage":"","size":4229,"stargazers_count":6,"watchers_count":6,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":34,"forks":2,"open_issues":34,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/pulls/193"},"html":{"href":"https://github.com/sfu-natlang/lensingwikipedia/pull/193"},"issue":{"href":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/issues/193"},"comments":{"href":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/issues/193/comments"},"review_comments":{"href":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/pulls/193/comments"},"review_comment":{"href":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/pulls/193/commits"},"statuses":{"href":"https://api.github.com/repos/sfu-natlang/lensingwikipedia/statuses/c5047e5e72cd84ec77e9548ece3ce6a743e2bb88"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"anoopsarkar","id":193767,"avatar_url":"https://avatars.githubusercontent.com/u/193767?v=3","gravatar_id":"","url":"https://api.github.com/users/anoopsarkar","html_url":"https://github.com/anoopsarkar","followers_url":"https://api.github.com/users/anoopsarkar/followers","following_url":"https://api.github.com/users/anoopsarkar/following{/other_user}","gists_url":"https://api.github.com/users/anoopsarkar/gists{/gist_id}","starred_url":"https://api.github.com/users/anoopsarkar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anoopsarkar/subscriptions","organizations_url":"https://api.github.com/users/anoopsarkar/orgs","repos_url":"https://api.github.com/users/anoopsarkar/repos","events_url":"https://api.github.com/users/anoopsarkar/events{/privacy}","received_events_url":"https://api.github.com/users/anoopsarkar/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"commits":3,"additions":112,"deletions":71,"changed_files":13}}