{"action":"created","comment":{"url":"https://api.github.com/repos/weslleyaraujo/react-flux-puzzle/pulls/comments/44170295","id":44170295,"diff_hunk":"@@ -5,6 +5,11 @@ const sounds = {\n   winner: '/dist/assets/sounds/winner.wav',\n }\n \n+let soundsSrc = [];\n+for (let src in sounds) {\n+  soundsSrc.push(sounds[src]);\n+}\n+","path":"src/assets/js/helpers/get-sound.js","position":8,"original_position":8,"commit_id":"afdc62b095b210c6e1cb9b6d4d8ed93abe93b5d4","original_commit_id":"afdc62b095b210c6e1cb9b6d4d8ed93abe93b5d4","user":{"login":"weslleyaraujo","id":2286385,"avatar_url":"https://avatars.githubusercontent.com/u/2286385?v=3","gravatar_id":"","url":"https://api.github.com/users/weslleyaraujo","html_url":"https://github.com/weslleyaraujo","followers_url":"https://api.github.com/users/weslleyaraujo/followers","following_url":"https://api.github.com/users/weslleyaraujo/following{/other_user}","gists_url":"https://api.github.com/users/weslleyaraujo/gists{/gist_id}","starred_url":"https://api.github.com/users/weslleyaraujo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weslleyaraujo/subscriptions","organizations_url":"https://api.github.com/users/weslleyaraujo/orgs","repos_url":"https://api.github.com/users/weslleyaraujo/repos","events_url":"https://api.github.com/users/weslleyaraujo/events{/privacy}","received_events_url":"https://api.github.com/users/weslleyaraujo/received_events","type":"User","site_admin":false},"body":"what you think of something like:\r\n\r\n```\r\nimport { keys } from 'underscore';\r\nconst soundsSrc = keys(sounds).map(x => sound[src]);\r\n```\r\nP E R F E I T O\r\n","created_at":"2015-11-06T18:28:31Z","updated_at":"2015-11-06T18:28:31Z","html_url":"https://github.com/weslleyaraujo/react-flux-puzzle/pull/23#discussion_r44170295","pull_request_url":"https://api.github.com/repos/weslleyaraujo/react-flux-puzzle/pulls/23","_links":{"self":{"href":"https://api.github.com/repos/weslleyaraujo/react-flux-puzzle/pulls/comments/44170295"},"html":{"href":"https://github.com/weslleyaraujo/react-flux-puzzle/pull/23#discussion_r44170295"},"pull_request":{"href":"https://api.github.com/repos/weslleyaraujo/react-flux-puzzle/pulls/23"}}},"pull_request":{"url":"https://api.github.com/repos/weslleyaraujo/react-flux-puzzle/pulls/23","id":49987299,"html_url":"https://github.com/weslleyaraujo/react-flux-puzzle/pull/23","diff_url":"https://github.com/weslleyaraujo/react-flux-puzzle/pull/23.diff","patch_url":"https://github.com/weslleyaraujo/react-flux-puzzle/pull/23.patch","issue_url":"https://api.github.com/repos/weslleyaraujo/react-flux-puzzle/issues/23","number":23,"state":"open","locked":false,"title":"fix(audio): Preload audio tracks","user":{"login":"hugobessaa","id":4073936,"avatar_url":"https://avatars.githubusercontent.com/u/4073936?v=3","gravatar_id":"","url":"https://api.github.com/users/hugobessaa","html_url":"https://github.com/hugobessaa","followers_url":"https://api.github.com/users/hugobessaa/followers","following_url":"https://api.github.com/users/hugobessaa/following{/other_user}","gists_url":"https://api.github.com/users/hugobessaa/gists{/gist_id}","starred_url":"https://api.github.com/users/hugobessaa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hugobessaa/subscriptions","organizations_url":"https://api.github.com/users/hugobessaa/orgs","repos_url":"https://api.github.com/users/hugobessaa/repos","events_url":"https://api.github.com/users/hugobessaa/events{/privacy}","received_events_url":"https://api.github.com/users/hugobessaa/received_events","type":"User","site_admin":false},"body":"Prevents audio tag to continuosly loading the audio files from the\r\nnetwork, what brings an awful experience for players over slow networks.\r\n\r\n:metal: ","created_at":"2015-11-06T18:23:19Z","updated_at":"2015-11-06T18:28:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"28eb1cc51dc5922668292d9e579ef4e4c8021096","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/weslleyaraujo/react-flux-puzzle/pulls/23/commits","review_comments_url":"https://api.github.com/repos/weslleyaraujo/react-flux-puzzle/pulls/23/comments","review_comment_url":"https://api.github.com/repos/weslleyaraujo/react-flux-puzzle/pulls/comments{/number}","comments_url":"https://api.github.com/repos/weslleyaraujo/react-flux-puzzle/issues/23/comments","statuses_url":"https://api.github.com/repos/weslleyaraujo/react-flux-puzzle/statuses/afdc62b095b210c6e1cb9b6d4d8ed93abe93b5d4","head":{"label":"hugobessaa:feature/preload","ref":"feature/preload","sha":"afdc62b095b210c6e1cb9b6d4d8ed93abe93b5d4","user":{"login":"hugobessaa","id":4073936,"avatar_url":"https://avatars.githubusercontent.com/u/4073936?v=3","gravatar_id":"","url":"https://api.github.com/users/hugobessaa","html_url":"https://github.com/hugobessaa","followers_url":"https://api.github.com/users/hugobessaa/followers","following_url":"https://api.github.com/users/hugobessaa/following{/other_user}","gists_url":"https://api.github.com/users/hugobessaa/gists{/gist_id}","starred_url":"https://api.github.com/users/hugobessaa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hugobessaa/subscriptions","organizations_url":"https://api.github.com/users/hugobessaa/orgs","repos_url":"https://api.github.com/users/hugobessaa/repos","events_url":"https://api.github.com/users/hugobessaa/events{/privacy}","received_events_url":"https://api.github.com/users/hugobessaa/received_events","type":"User","site_admin":false},"repo":{"id":45699291,"name":"react-flux-puzzle","full_name":"hugobessaa/react-flux-puzzle","owner":{"login":"hugobessaa","id":4073936,"avatar_url":"https://avatars.githubusercontent.com/u/4073936?v=3","gravatar_id":"","url":"https://api.github.com/users/hugobessaa","html_url":"https://github.com/hugobessaa","followers_url":"https://api.github.com/users/hugobessaa/followers","following_url":"https://api.github.com/users/hugobessaa/following{/other_user}","gists_url":"https://api.github.com/users/hugobessaa/gists{/gist_id}","starred_url":"https://api.github.com/users/hugobessaa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hugobessaa/subscriptions","organizations_url":"https://api.github.com/users/hugobessaa/orgs","repos_url":"https://api.github.com/users/hugobessaa/repos","events_url":"https://api.github.com/users/hugobessaa/events{/privacy}","received_events_url":"https://api.github.com/users/hugobessaa/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hugobessaa/react-flux-puzzle","description":"A puzzle game built with React + Rx.js + Immutable.js","fork":true,"url":"https://api.github.com/repos/hugobessaa/react-flux-puzzle","forks_url":"https://api.github.com/repos/hugobessaa/react-flux-puzzle/forks","keys_url":"https://api.github.com/repos/hugobessaa/react-flux-puzzle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hugobessaa/react-flux-puzzle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hugobessaa/react-flux-puzzle/teams","hooks_url":"https://api.github.com/repos/hugobessaa/react-flux-puzzle/hooks","issue_events_url":"https://api.github.com/repos/hugobessaa/react-flux-puzzle/issues/events{/number}","events_url":"https://api.github.com/repos/hugobessaa/react-flux-puzzle/events","assignees_url":"https://api.github.com/repos/hugobessaa/react-flux-puzzle/assignees{/user}","branches_url":"https://api.github.com/repos/hugobessaa/react-flux-puzzle/branches{/branch}","tags_url":"https://api.github.com/repos/hugobessaa/react-flux-puzzle/tags","blobs_url":"https://api.github.com/repos/hugobessaa/react-flux-puzzle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hugobessaa/react-flux-puzzle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hugobessaa/react-flux-puzzle/git/refs{/sha}","trees_url":"https://api.github.com/repos/hugobessaa/react-flux-puzzle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hugobessaa/react-flux-puzzle/statuses/{sha}","languages_url":"https://api.github.com/repos/hugobessaa/react-flux-puzzle/languages","stargazers_url":"https://api.github.com/repos/hugobessaa/react-flux-puzzle/stargazers","contributors_url":"https://api.github.com/repos/hugobessaa/react-flux-puzzle/contributors","subscribers_url":"https://api.github.com/repos/hugobessaa/react-flux-puzzle/subscribers","subscription_url":"https://api.github.com/repos/hugobessaa/react-flux-puzzle/subscription","commits_url":"https://api.github.com/repos/hugobessaa/react-flux-puzzle/commits{/sha}","git_commits_url":"https://api.github.com/repos/hugobessaa/react-flux-puzzle/git/commits{/sha}","comments_url":"https://api.github.com/repos/hugobessaa/react-flux-puzzle/comments{/number}","issue_comment_url":"https://api.github.com/repos/hugobessaa/react-flux-puzzle/issues/comments{/number}","contents_url":"https://api.github.com/repos/hugobessaa/react-flux-puzzle/contents/{+path}","compare_url":"https://api.github.com/repos/hugobessaa/react-flux-puzzle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hugobessaa/react-flux-puzzle/merges","archive_url":"https://api.github.com/repos/hugobessaa/react-flux-puzzle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hugobessaa/react-flux-puzzle/downloads","issues_url":"https://api.github.com/repos/hugobessaa/react-flux-puzzle/issues{/number}","pulls_url":"https://api.github.com/repos/hugobessaa/react-flux-puzzle/pulls{/number}","milestones_url":"https://api.github.com/repos/hugobessaa/react-flux-puzzle/milestones{/number}","notifications_url":"https://api.github.com/repos/hugobessaa/react-flux-puzzle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hugobessaa/react-flux-puzzle/labels{/name}","releases_url":"https://api.github.com/repos/hugobessaa/react-flux-puzzle/releases{/id}","created_at":"2015-11-06T18:22:23Z","updated_at":"2015-11-06T18:22:24Z","pushed_at":"2015-11-06T18:23:00Z","git_url":"git://github.com/hugobessaa/react-flux-puzzle.git","ssh_url":"git@github.com:hugobessaa/react-flux-puzzle.git","clone_url":"https://github.com/hugobessaa/react-flux-puzzle.git","svn_url":"https://github.com/hugobessaa/react-flux-puzzle","homepage":"http://weslleyaraujo.github.io/react-flux-puzzle","size":980,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"weslleyaraujo:master","ref":"master","sha":"07ca2c31c47403b38a51f991ce5b0537030fb493","user":{"login":"weslleyaraujo","id":2286385,"avatar_url":"https://avatars.githubusercontent.com/u/2286385?v=3","gravatar_id":"","url":"https://api.github.com/users/weslleyaraujo","html_url":"https://github.com/weslleyaraujo","followers_url":"https://api.github.com/users/weslleyaraujo/followers","following_url":"https://api.github.com/users/weslleyaraujo/following{/other_user}","gists_url":"https://api.github.com/users/weslleyaraujo/gists{/gist_id}","starred_url":"https://api.github.com/users/weslleyaraujo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weslleyaraujo/subscriptions","organizations_url":"https://api.github.com/users/weslleyaraujo/orgs","repos_url":"https://api.github.com/users/weslleyaraujo/repos","events_url":"https://api.github.com/users/weslleyaraujo/events{/privacy}","received_events_url":"https://api.github.com/users/weslleyaraujo/received_events","type":"User","site_admin":false},"repo":{"id":43137767,"name":"react-flux-puzzle","full_name":"weslleyaraujo/react-flux-puzzle","owner":{"login":"weslleyaraujo","id":2286385,"avatar_url":"https://avatars.githubusercontent.com/u/2286385?v=3","gravatar_id":"","url":"https://api.github.com/users/weslleyaraujo","html_url":"https://github.com/weslleyaraujo","followers_url":"https://api.github.com/users/weslleyaraujo/followers","following_url":"https://api.github.com/users/weslleyaraujo/following{/other_user}","gists_url":"https://api.github.com/users/weslleyaraujo/gists{/gist_id}","starred_url":"https://api.github.com/users/weslleyaraujo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weslleyaraujo/subscriptions","organizations_url":"https://api.github.com/users/weslleyaraujo/orgs","repos_url":"https://api.github.com/users/weslleyaraujo/repos","events_url":"https://api.github.com/users/weslleyaraujo/events{/privacy}","received_events_url":"https://api.github.com/users/weslleyaraujo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/weslleyaraujo/react-flux-puzzle","description":"A puzzle game built with React + Rx.js + Immutable.js","fork":false,"url":"https://api.github.com/repos/weslleyaraujo/react-flux-puzzle","forks_url":"https://api.github.com/repos/weslleyaraujo/react-flux-puzzle/forks","keys_url":"https://api.github.com/repos/weslleyaraujo/react-flux-puzzle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/weslleyaraujo/react-flux-puzzle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/weslleyaraujo/react-flux-puzzle/teams","hooks_url":"https://api.github.com/repos/weslleyaraujo/react-flux-puzzle/hooks","issue_events_url":"https://api.github.com/repos/weslleyaraujo/react-flux-puzzle/issues/events{/number}","events_url":"https://api.github.com/repos/weslleyaraujo/react-flux-puzzle/events","assignees_url":"https://api.github.com/repos/weslleyaraujo/react-flux-puzzle/assignees{/user}","branches_url":"https://api.github.com/repos/weslleyaraujo/react-flux-puzzle/branches{/branch}","tags_url":"https://api.github.com/repos/weslleyaraujo/react-flux-puzzle/tags","blobs_url":"https://api.github.com/repos/weslleyaraujo/react-flux-puzzle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/weslleyaraujo/react-flux-puzzle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/weslleyaraujo/react-flux-puzzle/git/refs{/sha}","trees_url":"https://api.github.com/repos/weslleyaraujo/react-flux-puzzle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/weslleyaraujo/react-flux-puzzle/statuses/{sha}","languages_url":"https://api.github.com/repos/weslleyaraujo/react-flux-puzzle/languages","stargazers_url":"https://api.github.com/repos/weslleyaraujo/react-flux-puzzle/stargazers","contributors_url":"https://api.github.com/repos/weslleyaraujo/react-flux-puzzle/contributors","subscribers_url":"https://api.github.com/repos/weslleyaraujo/react-flux-puzzle/subscribers","subscription_url":"https://api.github.com/repos/weslleyaraujo/react-flux-puzzle/subscription","commits_url":"https://api.github.com/repos/weslleyaraujo/react-flux-puzzle/commits{/sha}","git_commits_url":"https://api.github.com/repos/weslleyaraujo/react-flux-puzzle/git/commits{/sha}","comments_url":"https://api.github.com/repos/weslleyaraujo/react-flux-puzzle/comments{/number}","issue_comment_url":"https://api.github.com/repos/weslleyaraujo/react-flux-puzzle/issues/comments{/number}","contents_url":"https://api.github.com/repos/weslleyaraujo/react-flux-puzzle/contents/{+path}","compare_url":"https://api.github.com/repos/weslleyaraujo/react-flux-puzzle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/weslleyaraujo/react-flux-puzzle/merges","archive_url":"https://api.github.com/repos/weslleyaraujo/react-flux-puzzle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/weslleyaraujo/react-flux-puzzle/downloads","issues_url":"https://api.github.com/repos/weslleyaraujo/react-flux-puzzle/issues{/number}","pulls_url":"https://api.github.com/repos/weslleyaraujo/react-flux-puzzle/pulls{/number}","milestones_url":"https://api.github.com/repos/weslleyaraujo/react-flux-puzzle/milestones{/number}","notifications_url":"https://api.github.com/repos/weslleyaraujo/react-flux-puzzle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/weslleyaraujo/react-flux-puzzle/labels{/name}","releases_url":"https://api.github.com/repos/weslleyaraujo/react-flux-puzzle/releases{/id}","created_at":"2015-09-25T11:58:09Z","updated_at":"2015-11-05T19:40:36Z","pushed_at":"2015-11-06T18:23:20Z","git_url":"git://github.com/weslleyaraujo/react-flux-puzzle.git","ssh_url":"git@github.com:weslleyaraujo/react-flux-puzzle.git","clone_url":"https://github.com/weslleyaraujo/react-flux-puzzle.git","svn_url":"https://github.com/weslleyaraujo/react-flux-puzzle","homepage":"http://weslleyaraujo.github.io/react-flux-puzzle","size":980,"stargazers_count":15,"watchers_count":15,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":3,"mirror_url":null,"open_issues_count":4,"forks":3,"open_issues":4,"watchers":15,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/weslleyaraujo/react-flux-puzzle/pulls/23"},"html":{"href":"https://github.com/weslleyaraujo/react-flux-puzzle/pull/23"},"issue":{"href":"https://api.github.com/repos/weslleyaraujo/react-flux-puzzle/issues/23"},"comments":{"href":"https://api.github.com/repos/weslleyaraujo/react-flux-puzzle/issues/23/comments"},"review_comments":{"href":"https://api.github.com/repos/weslleyaraujo/react-flux-puzzle/pulls/23/comments"},"review_comment":{"href":"https://api.github.com/repos/weslleyaraujo/react-flux-puzzle/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/weslleyaraujo/react-flux-puzzle/pulls/23/commits"},"statuses":{"href":"https://api.github.com/repos/weslleyaraujo/react-flux-puzzle/statuses/afdc62b095b210c6e1cb9b6d4d8ed93abe93b5d4"}}}}