{"action":"created","comment":{"url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/pulls/comments/44863330","id":44863330,"diff_hunk":"@@ -0,0 +1,27 @@\n+setCookie = (name, value, hours) ->\n+\texpires = ''\n+\n+\tif hours\n+\t\tdate = new Date(do Date.now + (hours * 60 * 60 * 1000))\n+\t\texpires = '; expires=' + do date.toGMTString;\n+\n+\tdocument.cookie = (name + '=' + value + expires + '; path=/')\n+\n+getCookie = (name) ->\n+\tnameEQ = name + '='\n+\tcookieParts = document.cookie.split ';'\n+\tfor part in cookieParts\n+\t\tpart = part.replace /^\\s*|\\s*$/g, ''\n+\t\tif part.indexOf(nameEQ) is 0\n+\t\t\treturn part.substring nameEQ.length, part.length\n+\n+\treturn null","path":"public/common/utils/cookie-utils.coffee","position":18,"original_position":18,"commit_id":"9d483bb9a5ec6e008da91622d7a4a46d75d1b66b","original_commit_id":"01d34e0f6a0a93279cf84ae0e75a3f26b9ab06a3","user":{"login":"DaQuirm","id":669784,"avatar_url":"https://avatars.githubusercontent.com/u/669784?v=3","gravatar_id":"","url":"https://api.github.com/users/DaQuirm","html_url":"https://github.com/DaQuirm","followers_url":"https://api.github.com/users/DaQuirm/followers","following_url":"https://api.github.com/users/DaQuirm/following{/other_user}","gists_url":"https://api.github.com/users/DaQuirm/gists{/gist_id}","starred_url":"https://api.github.com/users/DaQuirm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DaQuirm/subscriptions","organizations_url":"https://api.github.com/users/DaQuirm/orgs","repos_url":"https://api.github.com/users/DaQuirm/repos","events_url":"https://api.github.com/users/DaQuirm/events{/privacy}","received_events_url":"https://api.github.com/users/DaQuirm/received_events","type":"User","site_admin":false},"body":"redundant return statements","created_at":"2015-11-14T20:42:02Z","updated_at":"2015-11-14T20:42:02Z","html_url":"https://github.com/DaQuirm/css-quickdraw-redux/pull/41#discussion_r44863330","pull_request_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/pulls/41","_links":{"self":{"href":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/pulls/comments/44863330"},"html":{"href":"https://github.com/DaQuirm/css-quickdraw-redux/pull/41#discussion_r44863330"},"pull_request":{"href":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/pulls/41"}}},"pull_request":{"url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/pulls/41","id":50731529,"html_url":"https://github.com/DaQuirm/css-quickdraw-redux/pull/41","diff_url":"https://github.com/DaQuirm/css-quickdraw-redux/pull/41.diff","patch_url":"https://github.com/DaQuirm/css-quickdraw-redux/pull/41.patch","issue_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/issues/41","number":41,"state":"open","locked":false,"title":"Feature/init game redirects","user":{"login":"kirilknysh","id":3236551,"avatar_url":"https://avatars.githubusercontent.com/u/3236551?v=3","gravatar_id":"","url":"https://api.github.com/users/kirilknysh","html_url":"https://github.com/kirilknysh","followers_url":"https://api.github.com/users/kirilknysh/followers","following_url":"https://api.github.com/users/kirilknysh/following{/other_user}","gists_url":"https://api.github.com/users/kirilknysh/gists{/gist_id}","starred_url":"https://api.github.com/users/kirilknysh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kirilknysh/subscriptions","organizations_url":"https://api.github.com/users/kirilknysh/orgs","repos_url":"https://api.github.com/users/kirilknysh/repos","events_url":"https://api.github.com/users/kirilknysh/events{/privacy}","received_events_url":"https://api.github.com/users/kirilknysh/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-14T20:33:22Z","updated_at":"2015-11-14T20:42:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3d71e9c87532a24857abf68eef3154fe62afbc99","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/pulls/41/commits","review_comments_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/pulls/41/comments","review_comment_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/issues/41/comments","statuses_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/statuses/9d483bb9a5ec6e008da91622d7a4a46d75d1b66b","head":{"label":"DaQuirm:feature/init-game-redirects","ref":"feature/init-game-redirects","sha":"9d483bb9a5ec6e008da91622d7a4a46d75d1b66b","user":{"login":"DaQuirm","id":669784,"avatar_url":"https://avatars.githubusercontent.com/u/669784?v=3","gravatar_id":"","url":"https://api.github.com/users/DaQuirm","html_url":"https://github.com/DaQuirm","followers_url":"https://api.github.com/users/DaQuirm/followers","following_url":"https://api.github.com/users/DaQuirm/following{/other_user}","gists_url":"https://api.github.com/users/DaQuirm/gists{/gist_id}","starred_url":"https://api.github.com/users/DaQuirm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DaQuirm/subscriptions","organizations_url":"https://api.github.com/users/DaQuirm/orgs","repos_url":"https://api.github.com/users/DaQuirm/repos","events_url":"https://api.github.com/users/DaQuirm/events{/privacy}","received_events_url":"https://api.github.com/users/DaQuirm/received_events","type":"User","site_admin":false},"repo":{"id":37423777,"name":"css-quickdraw-redux","full_name":"DaQuirm/css-quickdraw-redux","owner":{"login":"DaQuirm","id":669784,"avatar_url":"https://avatars.githubusercontent.com/u/669784?v=3","gravatar_id":"","url":"https://api.github.com/users/DaQuirm","html_url":"https://github.com/DaQuirm","followers_url":"https://api.github.com/users/DaQuirm/followers","following_url":"https://api.github.com/users/DaQuirm/following{/other_user}","gists_url":"https://api.github.com/users/DaQuirm/gists{/gist_id}","starred_url":"https://api.github.com/users/DaQuirm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DaQuirm/subscriptions","organizations_url":"https://api.github.com/users/DaQuirm/orgs","repos_url":"https://api.github.com/users/DaQuirm/repos","events_url":"https://api.github.com/users/DaQuirm/events{/privacy}","received_events_url":"https://api.github.com/users/DaQuirm/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/DaQuirm/css-quickdraw-redux","description":"CSS Selector Multiplayer Puzzle","fork":false,"url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux","forks_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/forks","keys_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/teams","hooks_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/hooks","issue_events_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/issues/events{/number}","events_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/events","assignees_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/assignees{/user}","branches_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/branches{/branch}","tags_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/tags","blobs_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/git/refs{/sha}","trees_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/statuses/{sha}","languages_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/languages","stargazers_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/stargazers","contributors_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/contributors","subscribers_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/subscribers","subscription_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/subscription","commits_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/commits{/sha}","git_commits_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/git/commits{/sha}","comments_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/comments{/number}","issue_comment_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/issues/comments{/number}","contents_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/contents/{+path}","compare_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/merges","archive_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/downloads","issues_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/issues{/number}","pulls_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/pulls{/number}","milestones_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/milestones{/number}","notifications_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/labels{/name}","releases_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/releases{/id}","created_at":"2015-06-14T18:16:21Z","updated_at":"2015-10-07T12:06:42Z","pushed_at":"2015-11-14T20:41:12Z","git_url":"git://github.com/DaQuirm/css-quickdraw-redux.git","ssh_url":"git@github.com:DaQuirm/css-quickdraw-redux.git","clone_url":"https://github.com/DaQuirm/css-quickdraw-redux.git","svn_url":"https://github.com/DaQuirm/css-quickdraw-redux","homepage":null,"size":5005,"stargazers_count":2,"watchers_count":2,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":20,"forks":0,"open_issues":20,"watchers":2,"default_branch":"master"}},"base":{"label":"DaQuirm:master","ref":"master","sha":"62a53f2bc29aac94233b1da6f272b9cedb47ea30","user":{"login":"DaQuirm","id":669784,"avatar_url":"https://avatars.githubusercontent.com/u/669784?v=3","gravatar_id":"","url":"https://api.github.com/users/DaQuirm","html_url":"https://github.com/DaQuirm","followers_url":"https://api.github.com/users/DaQuirm/followers","following_url":"https://api.github.com/users/DaQuirm/following{/other_user}","gists_url":"https://api.github.com/users/DaQuirm/gists{/gist_id}","starred_url":"https://api.github.com/users/DaQuirm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DaQuirm/subscriptions","organizations_url":"https://api.github.com/users/DaQuirm/orgs","repos_url":"https://api.github.com/users/DaQuirm/repos","events_url":"https://api.github.com/users/DaQuirm/events{/privacy}","received_events_url":"https://api.github.com/users/DaQuirm/received_events","type":"User","site_admin":false},"repo":{"id":37423777,"name":"css-quickdraw-redux","full_name":"DaQuirm/css-quickdraw-redux","owner":{"login":"DaQuirm","id":669784,"avatar_url":"https://avatars.githubusercontent.com/u/669784?v=3","gravatar_id":"","url":"https://api.github.com/users/DaQuirm","html_url":"https://github.com/DaQuirm","followers_url":"https://api.github.com/users/DaQuirm/followers","following_url":"https://api.github.com/users/DaQuirm/following{/other_user}","gists_url":"https://api.github.com/users/DaQuirm/gists{/gist_id}","starred_url":"https://api.github.com/users/DaQuirm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DaQuirm/subscriptions","organizations_url":"https://api.github.com/users/DaQuirm/orgs","repos_url":"https://api.github.com/users/DaQuirm/repos","events_url":"https://api.github.com/users/DaQuirm/events{/privacy}","received_events_url":"https://api.github.com/users/DaQuirm/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/DaQuirm/css-quickdraw-redux","description":"CSS Selector Multiplayer Puzzle","fork":false,"url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux","forks_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/forks","keys_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/teams","hooks_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/hooks","issue_events_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/issues/events{/number}","events_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/events","assignees_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/assignees{/user}","branches_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/branches{/branch}","tags_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/tags","blobs_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/git/refs{/sha}","trees_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/statuses/{sha}","languages_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/languages","stargazers_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/stargazers","contributors_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/contributors","subscribers_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/subscribers","subscription_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/subscription","commits_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/commits{/sha}","git_commits_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/git/commits{/sha}","comments_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/comments{/number}","issue_comment_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/issues/comments{/number}","contents_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/contents/{+path}","compare_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/merges","archive_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/downloads","issues_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/issues{/number}","pulls_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/pulls{/number}","milestones_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/milestones{/number}","notifications_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/labels{/name}","releases_url":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/releases{/id}","created_at":"2015-06-14T18:16:21Z","updated_at":"2015-10-07T12:06:42Z","pushed_at":"2015-11-14T20:41:12Z","git_url":"git://github.com/DaQuirm/css-quickdraw-redux.git","ssh_url":"git@github.com:DaQuirm/css-quickdraw-redux.git","clone_url":"https://github.com/DaQuirm/css-quickdraw-redux.git","svn_url":"https://github.com/DaQuirm/css-quickdraw-redux","homepage":null,"size":5005,"stargazers_count":2,"watchers_count":2,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":20,"forks":0,"open_issues":20,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/pulls/41"},"html":{"href":"https://github.com/DaQuirm/css-quickdraw-redux/pull/41"},"issue":{"href":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/issues/41"},"comments":{"href":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/issues/41/comments"},"review_comments":{"href":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/pulls/41/comments"},"review_comment":{"href":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/pulls/41/commits"},"statuses":{"href":"https://api.github.com/repos/DaQuirm/css-quickdraw-redux/statuses/9d483bb9a5ec6e008da91622d7a4a46d75d1b66b"}}}}