{"action":"created","comment":{"url":"https://api.github.com/repos/NorwegianKiwi/codeclub-viewer/pulls/comments/68660014","id":68660014,"diff_hunk":"@@ -0,0 +1,22 @@\n+import {createSelector} from 'reselect';\n+import {filterLessons} from '../util';\n+\n+const getAllCourses = (state) => state.allCourses;\n+const getFilter = (state) => state.filter;\n+\n+export const getFilteredCourses = createSelector(","path":"src/selectors/course.js","position":7,"original_position":7,"commit_id":"96060cfd027e91bdbeeb7f50ba4ff4087fb883fe","original_commit_id":"96060cfd027e91bdbeeb7f50ba4ff4087fb883fe","user":{"login":"NorwegianKiwi","id":8851134,"avatar_url":"https://avatars.githubusercontent.com/u/8851134?v=3","gravatar_id":"","url":"https://api.github.com/users/NorwegianKiwi","html_url":"https://github.com/NorwegianKiwi","followers_url":"https://api.github.com/users/NorwegianKiwi/followers","following_url":"https://api.github.com/users/NorwegianKiwi/following{/other_user}","gists_url":"https://api.github.com/users/NorwegianKiwi/gists{/gist_id}","starred_url":"https://api.github.com/users/NorwegianKiwi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NorwegianKiwi/subscriptions","organizations_url":"https://api.github.com/users/NorwegianKiwi/orgs","repos_url":"https://api.github.com/users/NorwegianKiwi/repos","events_url":"https://api.github.com/users/NorwegianKiwi/events{/privacy}","received_events_url":"https://api.github.com/users/NorwegianKiwi/received_events","type":"User","site_admin":false},"body":"Fint om du skriver en liten kommentar om hva getFilteredCourses returnerer.","created_at":"2016-06-27T21:30:24Z","updated_at":"2016-06-27T21:30:24Z","html_url":"https://github.com/NorwegianKiwi/codeclub-viewer/pull/15#discussion_r68660014","pull_request_url":"https://api.github.com/repos/NorwegianKiwi/codeclub-viewer/pulls/15","_links":{"self":{"href":"https://api.github.com/repos/NorwegianKiwi/codeclub-viewer/pulls/comments/68660014"},"html":{"href":"https://github.com/NorwegianKiwi/codeclub-viewer/pull/15#discussion_r68660014"},"pull_request":{"href":"https://api.github.com/repos/NorwegianKiwi/codeclub-viewer/pulls/15"}}},"pull_request":{"url":"https://api.github.com/repos/NorwegianKiwi/codeclub-viewer/pulls/15","id":75226346,"html_url":"https://github.com/NorwegianKiwi/codeclub-viewer/pull/15","diff_url":"https://github.com/NorwegianKiwi/codeclub-viewer/pull/15.diff","patch_url":"https://github.com/NorwegianKiwi/codeclub-viewer/pull/15.patch","issue_url":"https://api.github.com/repos/NorwegianKiwi/codeclub-viewer/issues/15","number":15,"state":"open","locked":false,"title":"Redux","user":{"login":"kristandre","id":6992505,"avatar_url":"https://avatars.githubusercontent.com/u/6992505?v=3","gravatar_id":"","url":"https://api.github.com/users/kristandre","html_url":"https://github.com/kristandre","followers_url":"https://api.github.com/users/kristandre/followers","following_url":"https://api.github.com/users/kristandre/following{/other_user}","gists_url":"https://api.github.com/users/kristandre/gists{/gist_id}","starred_url":"https://api.github.com/users/kristandre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kristandre/subscriptions","organizations_url":"https://api.github.com/users/kristandre/orgs","repos_url":"https://api.github.com/users/kristandre/repos","events_url":"https://api.github.com/users/kristandre/events{/privacy}","received_events_url":"https://api.github.com/users/kristandre/received_events","type":"User","site_admin":false},"body":"Lagt inn redux og endret eksisterende kode i FrontPage slik at den tar ibruk redux.\r\n\r\n## State Tree\r\nHer er et utklipp av state treet ved et gitt tidspunkt, hvor noe i filteret har blitt trykket på (klikk for større bilde):\r\n![state tree2](https://cloud.githubusercontent.com/assets/6992505/16380143/908a01a4-3c75-11e6-8a5e-099c8a82d9ab.png)\r\n(Oppdatert etter [d624504](https://github.com/NorwegianKiwi/codeclub-viewer/pull/15/commits/d6245040b63bdf7732df87ab7e1f9388b05713c7))\r\n","created_at":"2016-06-26T10:18:27Z","updated_at":"2016-06-27T21:30:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9c7eb6b7ef4742205e6ea7b9968f0bda535cae3d","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/NorwegianKiwi/codeclub-viewer/pulls/15/commits","review_comments_url":"https://api.github.com/repos/NorwegianKiwi/codeclub-viewer/pulls/15/comments","review_comment_url":"https://api.github.com/repos/NorwegianKiwi/codeclub-viewer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NorwegianKiwi/codeclub-viewer/issues/15/comments","statuses_url":"https://api.github.com/repos/NorwegianKiwi/codeclub-viewer/statuses/96060cfd027e91bdbeeb7f50ba4ff4087fb883fe","head":{"label":"kristandre:redux","ref":"redux","sha":"96060cfd027e91bdbeeb7f50ba4ff4087fb883fe","user":{"login":"kristandre","id":6992505,"avatar_url":"https://avatars.githubusercontent.com/u/6992505?v=3","gravatar_id":"","url":"https://api.github.com/users/kristandre","html_url":"https://github.com/kristandre","followers_url":"https://api.github.com/users/kristandre/followers","following_url":"https://api.github.com/users/kristandre/following{/other_user}","gists_url":"https://api.github.com/users/kristandre/gists{/gist_id}","starred_url":"https://api.github.com/users/kristandre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kristandre/subscriptions","organizations_url":"https://api.github.com/users/kristandre/orgs","repos_url":"https://api.github.com/users/kristandre/repos","events_url":"https://api.github.com/users/kristandre/events{/privacy}","received_events_url":"https://api.github.com/users/kristandre/received_events","type":"User","site_admin":false},"repo":{"id":61231908,"name":"codeclub-viewer","full_name":"kristandre/codeclub-viewer","owner":{"login":"kristandre","id":6992505,"avatar_url":"https://avatars.githubusercontent.com/u/6992505?v=3","gravatar_id":"","url":"https://api.github.com/users/kristandre","html_url":"https://github.com/kristandre","followers_url":"https://api.github.com/users/kristandre/followers","following_url":"https://api.github.com/users/kristandre/following{/other_user}","gists_url":"https://api.github.com/users/kristandre/gists{/gist_id}","starred_url":"https://api.github.com/users/kristandre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kristandre/subscriptions","organizations_url":"https://api.github.com/users/kristandre/orgs","repos_url":"https://api.github.com/users/kristandre/repos","events_url":"https://api.github.com/users/kristandre/events{/privacy}","received_events_url":"https://api.github.com/users/kristandre/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kristandre/codeclub-viewer","description":"A viewer to display codeclub lessons","fork":true,"url":"https://api.github.com/repos/kristandre/codeclub-viewer","forks_url":"https://api.github.com/repos/kristandre/codeclub-viewer/forks","keys_url":"https://api.github.com/repos/kristandre/codeclub-viewer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kristandre/codeclub-viewer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kristandre/codeclub-viewer/teams","hooks_url":"https://api.github.com/repos/kristandre/codeclub-viewer/hooks","issue_events_url":"https://api.github.com/repos/kristandre/codeclub-viewer/issues/events{/number}","events_url":"https://api.github.com/repos/kristandre/codeclub-viewer/events","assignees_url":"https://api.github.com/repos/kristandre/codeclub-viewer/assignees{/user}","branches_url":"https://api.github.com/repos/kristandre/codeclub-viewer/branches{/branch}","tags_url":"https://api.github.com/repos/kristandre/codeclub-viewer/tags","blobs_url":"https://api.github.com/repos/kristandre/codeclub-viewer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kristandre/codeclub-viewer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kristandre/codeclub-viewer/git/refs{/sha}","trees_url":"https://api.github.com/repos/kristandre/codeclub-viewer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kristandre/codeclub-viewer/statuses/{sha}","languages_url":"https://api.github.com/repos/kristandre/codeclub-viewer/languages","stargazers_url":"https://api.github.com/repos/kristandre/codeclub-viewer/stargazers","contributors_url":"https://api.github.com/repos/kristandre/codeclub-viewer/contributors","subscribers_url":"https://api.github.com/repos/kristandre/codeclub-viewer/subscribers","subscription_url":"https://api.github.com/repos/kristandre/codeclub-viewer/subscription","commits_url":"https://api.github.com/repos/kristandre/codeclub-viewer/commits{/sha}","git_commits_url":"https://api.github.com/repos/kristandre/codeclub-viewer/git/commits{/sha}","comments_url":"https://api.github.com/repos/kristandre/codeclub-viewer/comments{/number}","issue_comment_url":"https://api.github.com/repos/kristandre/codeclub-viewer/issues/comments{/number}","contents_url":"https://api.github.com/repos/kristandre/codeclub-viewer/contents/{+path}","compare_url":"https://api.github.com/repos/kristandre/codeclub-viewer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kristandre/codeclub-viewer/merges","archive_url":"https://api.github.com/repos/kristandre/codeclub-viewer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kristandre/codeclub-viewer/downloads","issues_url":"https://api.github.com/repos/kristandre/codeclub-viewer/issues{/number}","pulls_url":"https://api.github.com/repos/kristandre/codeclub-viewer/pulls{/number}","milestones_url":"https://api.github.com/repos/kristandre/codeclub-viewer/milestones{/number}","notifications_url":"https://api.github.com/repos/kristandre/codeclub-viewer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kristandre/codeclub-viewer/labels{/name}","releases_url":"https://api.github.com/repos/kristandre/codeclub-viewer/releases{/id}","deployments_url":"https://api.github.com/repos/kristandre/codeclub-viewer/deployments","created_at":"2016-06-15T18:41:14Z","updated_at":"2016-06-19T14:08:24Z","pushed_at":"2016-06-27T21:07:48Z","git_url":"git://github.com/kristandre/codeclub-viewer.git","ssh_url":"git@github.com:kristandre/codeclub-viewer.git","clone_url":"https://github.com/kristandre/codeclub-viewer.git","svn_url":"https://github.com/kristandre/codeclub-viewer","homepage":null,"size":1944,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"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":"NorwegianKiwi:master","ref":"master","sha":"d98ed46910f8ea1108c7ebf77cf971222bc7569b","user":{"login":"NorwegianKiwi","id":8851134,"avatar_url":"https://avatars.githubusercontent.com/u/8851134?v=3","gravatar_id":"","url":"https://api.github.com/users/NorwegianKiwi","html_url":"https://github.com/NorwegianKiwi","followers_url":"https://api.github.com/users/NorwegianKiwi/followers","following_url":"https://api.github.com/users/NorwegianKiwi/following{/other_user}","gists_url":"https://api.github.com/users/NorwegianKiwi/gists{/gist_id}","starred_url":"https://api.github.com/users/NorwegianKiwi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NorwegianKiwi/subscriptions","organizations_url":"https://api.github.com/users/NorwegianKiwi/orgs","repos_url":"https://api.github.com/users/NorwegianKiwi/repos","events_url":"https://api.github.com/users/NorwegianKiwi/events{/privacy}","received_events_url":"https://api.github.com/users/NorwegianKiwi/received_events","type":"User","site_admin":false},"repo":{"id":57991455,"name":"codeclub-viewer","full_name":"NorwegianKiwi/codeclub-viewer","owner":{"login":"NorwegianKiwi","id":8851134,"avatar_url":"https://avatars.githubusercontent.com/u/8851134?v=3","gravatar_id":"","url":"https://api.github.com/users/NorwegianKiwi","html_url":"https://github.com/NorwegianKiwi","followers_url":"https://api.github.com/users/NorwegianKiwi/followers","following_url":"https://api.github.com/users/NorwegianKiwi/following{/other_user}","gists_url":"https://api.github.com/users/NorwegianKiwi/gists{/gist_id}","starred_url":"https://api.github.com/users/NorwegianKiwi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NorwegianKiwi/subscriptions","organizations_url":"https://api.github.com/users/NorwegianKiwi/orgs","repos_url":"https://api.github.com/users/NorwegianKiwi/repos","events_url":"https://api.github.com/users/NorwegianKiwi/events{/privacy}","received_events_url":"https://api.github.com/users/NorwegianKiwi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/NorwegianKiwi/codeclub-viewer","description":"A viewer to display codeclub lessons","fork":false,"url":"https://api.github.com/repos/NorwegianKiwi/codeclub-viewer","forks_url":"https://api.github.com/repos/NorwegianKiwi/codeclub-viewer/forks","keys_url":"https://api.github.com/repos/NorwegianKiwi/codeclub-viewer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NorwegianKiwi/codeclub-viewer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NorwegianKiwi/codeclub-viewer/teams","hooks_url":"https://api.github.com/repos/NorwegianKiwi/codeclub-viewer/hooks","issue_events_url":"https://api.github.com/repos/NorwegianKiwi/codeclub-viewer/issues/events{/number}","events_url":"https://api.github.com/repos/NorwegianKiwi/codeclub-viewer/events","assignees_url":"https://api.github.com/repos/NorwegianKiwi/codeclub-viewer/assignees{/user}","branches_url":"https://api.github.com/repos/NorwegianKiwi/codeclub-viewer/branches{/branch}","tags_url":"https://api.github.com/repos/NorwegianKiwi/codeclub-viewer/tags","blobs_url":"https://api.github.com/repos/NorwegianKiwi/codeclub-viewer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NorwegianKiwi/codeclub-viewer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NorwegianKiwi/codeclub-viewer/git/refs{/sha}","trees_url":"https://api.github.com/repos/NorwegianKiwi/codeclub-viewer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NorwegianKiwi/codeclub-viewer/statuses/{sha}","languages_url":"https://api.github.com/repos/NorwegianKiwi/codeclub-viewer/languages","stargazers_url":"https://api.github.com/repos/NorwegianKiwi/codeclub-viewer/stargazers","contributors_url":"https://api.github.com/repos/NorwegianKiwi/codeclub-viewer/contributors","subscribers_url":"https://api.github.com/repos/NorwegianKiwi/codeclub-viewer/subscribers","subscription_url":"https://api.github.com/repos/NorwegianKiwi/codeclub-viewer/subscription","commits_url":"https://api.github.com/repos/NorwegianKiwi/codeclub-viewer/commits{/sha}","git_commits_url":"https://api.github.com/repos/NorwegianKiwi/codeclub-viewer/git/commits{/sha}","comments_url":"https://api.github.com/repos/NorwegianKiwi/codeclub-viewer/comments{/number}","issue_comment_url":"https://api.github.com/repos/NorwegianKiwi/codeclub-viewer/issues/comments{/number}","contents_url":"https://api.github.com/repos/NorwegianKiwi/codeclub-viewer/contents/{+path}","compare_url":"https://api.github.com/repos/NorwegianKiwi/codeclub-viewer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NorwegianKiwi/codeclub-viewer/merges","archive_url":"https://api.github.com/repos/NorwegianKiwi/codeclub-viewer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NorwegianKiwi/codeclub-viewer/downloads","issues_url":"https://api.github.com/repos/NorwegianKiwi/codeclub-viewer/issues{/number}","pulls_url":"https://api.github.com/repos/NorwegianKiwi/codeclub-viewer/pulls{/number}","milestones_url":"https://api.github.com/repos/NorwegianKiwi/codeclub-viewer/milestones{/number}","notifications_url":"https://api.github.com/repos/NorwegianKiwi/codeclub-viewer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NorwegianKiwi/codeclub-viewer/labels{/name}","releases_url":"https://api.github.com/repos/NorwegianKiwi/codeclub-viewer/releases{/id}","deployments_url":"https://api.github.com/repos/NorwegianKiwi/codeclub-viewer/deployments","created_at":"2016-05-03T18:25:10Z","updated_at":"2016-05-16T21:27:47Z","pushed_at":"2016-06-27T21:02:12Z","git_url":"git://github.com/NorwegianKiwi/codeclub-viewer.git","ssh_url":"git@github.com:NorwegianKiwi/codeclub-viewer.git","clone_url":"https://github.com/NorwegianKiwi/codeclub-viewer.git","svn_url":"https://github.com/NorwegianKiwi/codeclub-viewer","homepage":null,"size":1856,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":12,"forks":3,"open_issues":12,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NorwegianKiwi/codeclub-viewer/pulls/15"},"html":{"href":"https://github.com/NorwegianKiwi/codeclub-viewer/pull/15"},"issue":{"href":"https://api.github.com/repos/NorwegianKiwi/codeclub-viewer/issues/15"},"comments":{"href":"https://api.github.com/repos/NorwegianKiwi/codeclub-viewer/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/NorwegianKiwi/codeclub-viewer/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/NorwegianKiwi/codeclub-viewer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NorwegianKiwi/codeclub-viewer/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/NorwegianKiwi/codeclub-viewer/statuses/96060cfd027e91bdbeeb7f50ba4ff4087fb883fe"}}}}
{"actor":{"display_login":"NorwegianKiwi"}}