{"action":"created","comment":{"url":"https://api.github.com/repos/greymatter0101/gm/pulls/comments/72538704","id":72538704,"diff_hunk":"@@ -0,0 +1,11 @@\n+import { applyMiddleware, createStore } from 'redux'\n+import createLogger from 'redux-logger';\n+import ReduxThunk from 'redux-thunk';\n+import reducers from './reducers'\n+\n+const logger = createLogger();\n+const middleware = [ReduxThunk, logger];\n+\n+const Store = createStore(reducers, {}, applyMiddleware(...middleware));\n+\n+export default Store;","path":"imports/lib/redux/store.js","position":11,"original_position":11,"commit_id":"fd6af22bfa62bc8017d7856a9a9d84b9e1d480fb","original_commit_id":"fd6af22bfa62bc8017d7856a9a9d84b9e1d480fb","user":{"login":"rosscreighton","id":5814182,"avatar_url":"https://avatars.githubusercontent.com/u/5814182?v=3","gravatar_id":"","url":"https://api.github.com/users/rosscreighton","html_url":"https://github.com/rosscreighton","followers_url":"https://api.github.com/users/rosscreighton/followers","following_url":"https://api.github.com/users/rosscreighton/following{/other_user}","gists_url":"https://api.github.com/users/rosscreighton/gists{/gist_id}","starred_url":"https://api.github.com/users/rosscreighton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rosscreighton/subscriptions","organizations_url":"https://api.github.com/users/rosscreighton/orgs","repos_url":"https://api.github.com/users/rosscreighton/repos","events_url":"https://api.github.com/users/rosscreighton/events{/privacy}","received_events_url":"https://api.github.com/users/rosscreighton/received_events","type":"User","site_admin":false},"body":"again, preferring compactness, i would do:\r\n\r\n`export default createStore(reducers, {}, applyMiddleware(...middleware));`\r\n\r\nfeel free to veto this though","created_at":"2016-07-27T22:50:57Z","updated_at":"2016-07-27T22:50:57Z","html_url":"https://github.com/greymatter0101/gm/pull/17#discussion_r72538704","pull_request_url":"https://api.github.com/repos/greymatter0101/gm/pulls/17","_links":{"self":{"href":"https://api.github.com/repos/greymatter0101/gm/pulls/comments/72538704"},"html":{"href":"https://github.com/greymatter0101/gm/pull/17#discussion_r72538704"},"pull_request":{"href":"https://api.github.com/repos/greymatter0101/gm/pulls/17"}}},"pull_request":{"url":"https://api.github.com/repos/greymatter0101/gm/pulls/17","id":78787856,"html_url":"https://github.com/greymatter0101/gm/pull/17","diff_url":"https://github.com/greymatter0101/gm/pull/17.diff","patch_url":"https://github.com/greymatter0101/gm/pull/17.patch","issue_url":"https://api.github.com/repos/greymatter0101/gm/issues/17","number":17,"state":"open","locked":false,"title":"Redux","user":{"login":"sameckmeier","id":6589185,"avatar_url":"https://avatars.githubusercontent.com/u/6589185?v=3","gravatar_id":"","url":"https://api.github.com/users/sameckmeier","html_url":"https://github.com/sameckmeier","followers_url":"https://api.github.com/users/sameckmeier/followers","following_url":"https://api.github.com/users/sameckmeier/following{/other_user}","gists_url":"https://api.github.com/users/sameckmeier/gists{/gist_id}","starred_url":"https://api.github.com/users/sameckmeier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sameckmeier/subscriptions","organizations_url":"https://api.github.com/users/sameckmeier/orgs","repos_url":"https://api.github.com/users/sameckmeier/repos","events_url":"https://api.github.com/users/sameckmeier/events{/privacy}","received_events_url":"https://api.github.com/users/sameckmeier/received_events","type":"User","site_admin":false},"body":"the default store state values for album and spotifyAlbum are null, so if ya wanta check this out in action, you'll have to change em. also, i havent added meteor methods that will wrap dispatches (thats why we're using redunx thunk cause it allows us to send dispatches async) ill throws these in once we connect this branch with the data HOC branch","created_at":"2016-07-26T03:50:34Z","updated_at":"2016-07-27T22:50:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"209bdd863ccf6567592876ca14a676b7347851af","assignee":{"login":"rosscreighton","id":5814182,"avatar_url":"https://avatars.githubusercontent.com/u/5814182?v=3","gravatar_id":"","url":"https://api.github.com/users/rosscreighton","html_url":"https://github.com/rosscreighton","followers_url":"https://api.github.com/users/rosscreighton/followers","following_url":"https://api.github.com/users/rosscreighton/following{/other_user}","gists_url":"https://api.github.com/users/rosscreighton/gists{/gist_id}","starred_url":"https://api.github.com/users/rosscreighton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rosscreighton/subscriptions","organizations_url":"https://api.github.com/users/rosscreighton/orgs","repos_url":"https://api.github.com/users/rosscreighton/repos","events_url":"https://api.github.com/users/rosscreighton/events{/privacy}","received_events_url":"https://api.github.com/users/rosscreighton/received_events","type":"User","site_admin":false},"assignees":[{"login":"rosscreighton","id":5814182,"avatar_url":"https://avatars.githubusercontent.com/u/5814182?v=3","gravatar_id":"","url":"https://api.github.com/users/rosscreighton","html_url":"https://github.com/rosscreighton","followers_url":"https://api.github.com/users/rosscreighton/followers","following_url":"https://api.github.com/users/rosscreighton/following{/other_user}","gists_url":"https://api.github.com/users/rosscreighton/gists{/gist_id}","starred_url":"https://api.github.com/users/rosscreighton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rosscreighton/subscriptions","organizations_url":"https://api.github.com/users/rosscreighton/orgs","repos_url":"https://api.github.com/users/rosscreighton/repos","events_url":"https://api.github.com/users/rosscreighton/events{/privacy}","received_events_url":"https://api.github.com/users/rosscreighton/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/greymatter0101/gm/pulls/17/commits","review_comments_url":"https://api.github.com/repos/greymatter0101/gm/pulls/17/comments","review_comment_url":"https://api.github.com/repos/greymatter0101/gm/pulls/comments{/number}","comments_url":"https://api.github.com/repos/greymatter0101/gm/issues/17/comments","statuses_url":"https://api.github.com/repos/greymatter0101/gm/statuses/fd6af22bfa62bc8017d7856a9a9d84b9e1d480fb","head":{"label":"greymatter0101:redux","ref":"redux","sha":"fd6af22bfa62bc8017d7856a9a9d84b9e1d480fb","user":{"login":"greymatter0101","id":18176938,"avatar_url":"https://avatars.githubusercontent.com/u/18176938?v=3","gravatar_id":"","url":"https://api.github.com/users/greymatter0101","html_url":"https://github.com/greymatter0101","followers_url":"https://api.github.com/users/greymatter0101/followers","following_url":"https://api.github.com/users/greymatter0101/following{/other_user}","gists_url":"https://api.github.com/users/greymatter0101/gists{/gist_id}","starred_url":"https://api.github.com/users/greymatter0101/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greymatter0101/subscriptions","organizations_url":"https://api.github.com/users/greymatter0101/orgs","repos_url":"https://api.github.com/users/greymatter0101/repos","events_url":"https://api.github.com/users/greymatter0101/events{/privacy}","received_events_url":"https://api.github.com/users/greymatter0101/received_events","type":"User","site_admin":false},"repo":{"id":55097955,"name":"gm","full_name":"greymatter0101/gm","owner":{"login":"greymatter0101","id":18176938,"avatar_url":"https://avatars.githubusercontent.com/u/18176938?v=3","gravatar_id":"","url":"https://api.github.com/users/greymatter0101","html_url":"https://github.com/greymatter0101","followers_url":"https://api.github.com/users/greymatter0101/followers","following_url":"https://api.github.com/users/greymatter0101/following{/other_user}","gists_url":"https://api.github.com/users/greymatter0101/gists{/gist_id}","starred_url":"https://api.github.com/users/greymatter0101/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greymatter0101/subscriptions","organizations_url":"https://api.github.com/users/greymatter0101/orgs","repos_url":"https://api.github.com/users/greymatter0101/repos","events_url":"https://api.github.com/users/greymatter0101/events{/privacy}","received_events_url":"https://api.github.com/users/greymatter0101/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/greymatter0101/gm","description":"","fork":false,"url":"https://api.github.com/repos/greymatter0101/gm","forks_url":"https://api.github.com/repos/greymatter0101/gm/forks","keys_url":"https://api.github.com/repos/greymatter0101/gm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/greymatter0101/gm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/greymatter0101/gm/teams","hooks_url":"https://api.github.com/repos/greymatter0101/gm/hooks","issue_events_url":"https://api.github.com/repos/greymatter0101/gm/issues/events{/number}","events_url":"https://api.github.com/repos/greymatter0101/gm/events","assignees_url":"https://api.github.com/repos/greymatter0101/gm/assignees{/user}","branches_url":"https://api.github.com/repos/greymatter0101/gm/branches{/branch}","tags_url":"https://api.github.com/repos/greymatter0101/gm/tags","blobs_url":"https://api.github.com/repos/greymatter0101/gm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/greymatter0101/gm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/greymatter0101/gm/git/refs{/sha}","trees_url":"https://api.github.com/repos/greymatter0101/gm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/greymatter0101/gm/statuses/{sha}","languages_url":"https://api.github.com/repos/greymatter0101/gm/languages","stargazers_url":"https://api.github.com/repos/greymatter0101/gm/stargazers","contributors_url":"https://api.github.com/repos/greymatter0101/gm/contributors","subscribers_url":"https://api.github.com/repos/greymatter0101/gm/subscribers","subscription_url":"https://api.github.com/repos/greymatter0101/gm/subscription","commits_url":"https://api.github.com/repos/greymatter0101/gm/commits{/sha}","git_commits_url":"https://api.github.com/repos/greymatter0101/gm/git/commits{/sha}","comments_url":"https://api.github.com/repos/greymatter0101/gm/comments{/number}","issue_comment_url":"https://api.github.com/repos/greymatter0101/gm/issues/comments{/number}","contents_url":"https://api.github.com/repos/greymatter0101/gm/contents/{+path}","compare_url":"https://api.github.com/repos/greymatter0101/gm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/greymatter0101/gm/merges","archive_url":"https://api.github.com/repos/greymatter0101/gm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/greymatter0101/gm/downloads","issues_url":"https://api.github.com/repos/greymatter0101/gm/issues{/number}","pulls_url":"https://api.github.com/repos/greymatter0101/gm/pulls{/number}","milestones_url":"https://api.github.com/repos/greymatter0101/gm/milestones{/number}","notifications_url":"https://api.github.com/repos/greymatter0101/gm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/greymatter0101/gm/labels{/name}","releases_url":"https://api.github.com/repos/greymatter0101/gm/releases{/id}","deployments_url":"https://api.github.com/repos/greymatter0101/gm/deployments","created_at":"2016-03-30T21:08:17Z","updated_at":"2016-04-03T22:57:18Z","pushed_at":"2016-07-27T14:17:32Z","git_url":"git://github.com/greymatter0101/gm.git","ssh_url":"git@github.com:greymatter0101/gm.git","clone_url":"https://github.com/greymatter0101/gm.git","svn_url":"https://github.com/greymatter0101/gm","homepage":null,"size":163,"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":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"greymatter0101:master","ref":"master","sha":"c5c7c688d470b1dcd231ee037804d4b799add802","user":{"login":"greymatter0101","id":18176938,"avatar_url":"https://avatars.githubusercontent.com/u/18176938?v=3","gravatar_id":"","url":"https://api.github.com/users/greymatter0101","html_url":"https://github.com/greymatter0101","followers_url":"https://api.github.com/users/greymatter0101/followers","following_url":"https://api.github.com/users/greymatter0101/following{/other_user}","gists_url":"https://api.github.com/users/greymatter0101/gists{/gist_id}","starred_url":"https://api.github.com/users/greymatter0101/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greymatter0101/subscriptions","organizations_url":"https://api.github.com/users/greymatter0101/orgs","repos_url":"https://api.github.com/users/greymatter0101/repos","events_url":"https://api.github.com/users/greymatter0101/events{/privacy}","received_events_url":"https://api.github.com/users/greymatter0101/received_events","type":"User","site_admin":false},"repo":{"id":55097955,"name":"gm","full_name":"greymatter0101/gm","owner":{"login":"greymatter0101","id":18176938,"avatar_url":"https://avatars.githubusercontent.com/u/18176938?v=3","gravatar_id":"","url":"https://api.github.com/users/greymatter0101","html_url":"https://github.com/greymatter0101","followers_url":"https://api.github.com/users/greymatter0101/followers","following_url":"https://api.github.com/users/greymatter0101/following{/other_user}","gists_url":"https://api.github.com/users/greymatter0101/gists{/gist_id}","starred_url":"https://api.github.com/users/greymatter0101/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greymatter0101/subscriptions","organizations_url":"https://api.github.com/users/greymatter0101/orgs","repos_url":"https://api.github.com/users/greymatter0101/repos","events_url":"https://api.github.com/users/greymatter0101/events{/privacy}","received_events_url":"https://api.github.com/users/greymatter0101/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/greymatter0101/gm","description":"","fork":false,"url":"https://api.github.com/repos/greymatter0101/gm","forks_url":"https://api.github.com/repos/greymatter0101/gm/forks","keys_url":"https://api.github.com/repos/greymatter0101/gm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/greymatter0101/gm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/greymatter0101/gm/teams","hooks_url":"https://api.github.com/repos/greymatter0101/gm/hooks","issue_events_url":"https://api.github.com/repos/greymatter0101/gm/issues/events{/number}","events_url":"https://api.github.com/repos/greymatter0101/gm/events","assignees_url":"https://api.github.com/repos/greymatter0101/gm/assignees{/user}","branches_url":"https://api.github.com/repos/greymatter0101/gm/branches{/branch}","tags_url":"https://api.github.com/repos/greymatter0101/gm/tags","blobs_url":"https://api.github.com/repos/greymatter0101/gm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/greymatter0101/gm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/greymatter0101/gm/git/refs{/sha}","trees_url":"https://api.github.com/repos/greymatter0101/gm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/greymatter0101/gm/statuses/{sha}","languages_url":"https://api.github.com/repos/greymatter0101/gm/languages","stargazers_url":"https://api.github.com/repos/greymatter0101/gm/stargazers","contributors_url":"https://api.github.com/repos/greymatter0101/gm/contributors","subscribers_url":"https://api.github.com/repos/greymatter0101/gm/subscribers","subscription_url":"https://api.github.com/repos/greymatter0101/gm/subscription","commits_url":"https://api.github.com/repos/greymatter0101/gm/commits{/sha}","git_commits_url":"https://api.github.com/repos/greymatter0101/gm/git/commits{/sha}","comments_url":"https://api.github.com/repos/greymatter0101/gm/comments{/number}","issue_comment_url":"https://api.github.com/repos/greymatter0101/gm/issues/comments{/number}","contents_url":"https://api.github.com/repos/greymatter0101/gm/contents/{+path}","compare_url":"https://api.github.com/repos/greymatter0101/gm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/greymatter0101/gm/merges","archive_url":"https://api.github.com/repos/greymatter0101/gm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/greymatter0101/gm/downloads","issues_url":"https://api.github.com/repos/greymatter0101/gm/issues{/number}","pulls_url":"https://api.github.com/repos/greymatter0101/gm/pulls{/number}","milestones_url":"https://api.github.com/repos/greymatter0101/gm/milestones{/number}","notifications_url":"https://api.github.com/repos/greymatter0101/gm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/greymatter0101/gm/labels{/name}","releases_url":"https://api.github.com/repos/greymatter0101/gm/releases{/id}","deployments_url":"https://api.github.com/repos/greymatter0101/gm/deployments","created_at":"2016-03-30T21:08:17Z","updated_at":"2016-04-03T22:57:18Z","pushed_at":"2016-07-27T14:17:32Z","git_url":"git://github.com/greymatter0101/gm.git","ssh_url":"git@github.com:greymatter0101/gm.git","clone_url":"https://github.com/greymatter0101/gm.git","svn_url":"https://github.com/greymatter0101/gm","homepage":null,"size":163,"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":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/greymatter0101/gm/pulls/17"},"html":{"href":"https://github.com/greymatter0101/gm/pull/17"},"issue":{"href":"https://api.github.com/repos/greymatter0101/gm/issues/17"},"comments":{"href":"https://api.github.com/repos/greymatter0101/gm/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/greymatter0101/gm/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/greymatter0101/gm/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/greymatter0101/gm/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/greymatter0101/gm/statuses/fd6af22bfa62bc8017d7856a9a9d84b9e1d480fb"}}}}
{"actor":{"display_login":"rosscreighton"}}