{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/pulls/comments/36214922","id":36214922,"diff_hunk":"@@ -35,7 +35,7 @@ module.exports = function(config) {\n         return;\n       }\n \n-      delete req.session.project.files[path];\n+      req.session.project.files.splice(req.session.project.files.indexOf(existingFile.id), 2);","path":"routes/delete-file.js","position":14,"original_position":14,"commit_id":"9ba37c83db4fa4677652a0b587a756b0d1f1a299","original_commit_id":"9ba37c83db4fa4677652a0b587a756b0d1f1a299","user":{"login":"humphd","id":427398,"avatar_url":"https://avatars.githubusercontent.com/u/427398?v=3","gravatar_id":"","url":"https://api.github.com/users/humphd","html_url":"https://github.com/humphd","followers_url":"https://api.github.com/users/humphd/followers","following_url":"https://api.github.com/users/humphd/following{/other_user}","gists_url":"https://api.github.com/users/humphd/gists{/gist_id}","starred_url":"https://api.github.com/users/humphd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/humphd/subscriptions","organizations_url":"https://api.github.com/users/humphd/orgs","repos_url":"https://api.github.com/users/humphd/repos","events_url":"https://api.github.com/users/humphd/events{/privacy}","received_events_url":"https://api.github.com/users/humphd/received_events","type":"User","site_admin":false},"body":"Can you move the `splice` stuff into `utils` too?  Let's hide all this nonsense of packing the files from callers.","created_at":"2015-08-04T17:17:03Z","updated_at":"2015-08-04T17:17:03Z","html_url":"https://github.com/mozilla/thimble.webmaker.org/pull/781#discussion_r36214922","pull_request_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/pulls/781","_links":{"self":{"href":"https://api.github.com/repos/mozilla/thimble.webmaker.org/pulls/comments/36214922"},"html":{"href":"https://github.com/mozilla/thimble.webmaker.org/pull/781#discussion_r36214922"},"pull_request":{"href":"https://api.github.com/repos/mozilla/thimble.webmaker.org/pulls/781"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/pulls/781","id":41594068,"html_url":"https://github.com/mozilla/thimble.webmaker.org/pull/781","diff_url":"https://github.com/mozilla/thimble.webmaker.org/pull/781.diff","patch_url":"https://github.com/mozilla/thimble.webmaker.org/pull/781.patch","issue_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/issues/781","number":781,"state":"open","locked":false,"title":"Fix #775 - Make the size of cookies smaller","user":{"login":"gideonthomas","id":5816130,"avatar_url":"https://avatars.githubusercontent.com/u/5816130?v=3","gravatar_id":"","url":"https://api.github.com/users/gideonthomas","html_url":"https://github.com/gideonthomas","followers_url":"https://api.github.com/users/gideonthomas/followers","following_url":"https://api.github.com/users/gideonthomas/following{/other_user}","gists_url":"https://api.github.com/users/gideonthomas/gists{/gist_id}","starred_url":"https://api.github.com/users/gideonthomas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gideonthomas/subscriptions","organizations_url":"https://api.github.com/users/gideonthomas/orgs","repos_url":"https://api.github.com/users/gideonthomas/repos","events_url":"https://api.github.com/users/gideonthomas/events{/privacy}","received_events_url":"https://api.github.com/users/gideonthomas/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-08-04T17:15:33Z","updated_at":"2015-08-04T17:17:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"be23c8deb177b17775e56cfd11186473277f4b74","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/pulls/781/commits","review_comments_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/pulls/781/comments","review_comment_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/issues/781/comments","statuses_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/statuses/9ba37c83db4fa4677652a0b587a756b0d1f1a299","head":{"label":"gideonthomas:issue775","ref":"issue775","sha":"9ba37c83db4fa4677652a0b587a756b0d1f1a299","user":{"login":"gideonthomas","id":5816130,"avatar_url":"https://avatars.githubusercontent.com/u/5816130?v=3","gravatar_id":"","url":"https://api.github.com/users/gideonthomas","html_url":"https://github.com/gideonthomas","followers_url":"https://api.github.com/users/gideonthomas/followers","following_url":"https://api.github.com/users/gideonthomas/following{/other_user}","gists_url":"https://api.github.com/users/gideonthomas/gists{/gist_id}","starred_url":"https://api.github.com/users/gideonthomas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gideonthomas/subscriptions","organizations_url":"https://api.github.com/users/gideonthomas/orgs","repos_url":"https://api.github.com/users/gideonthomas/repos","events_url":"https://api.github.com/users/gideonthomas/events{/privacy}","received_events_url":"https://api.github.com/users/gideonthomas/received_events","type":"User","site_admin":false},"repo":{"id":31554137,"name":"thimble.webmaker.org","full_name":"gideonthomas/thimble.webmaker.org","owner":{"login":"gideonthomas","id":5816130,"avatar_url":"https://avatars.githubusercontent.com/u/5816130?v=3","gravatar_id":"","url":"https://api.github.com/users/gideonthomas","html_url":"https://github.com/gideonthomas","followers_url":"https://api.github.com/users/gideonthomas/followers","following_url":"https://api.github.com/users/gideonthomas/following{/other_user}","gists_url":"https://api.github.com/users/gideonthomas/gists{/gist_id}","starred_url":"https://api.github.com/users/gideonthomas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gideonthomas/subscriptions","organizations_url":"https://api.github.com/users/gideonthomas/orgs","repos_url":"https://api.github.com/users/gideonthomas/repos","events_url":"https://api.github.com/users/gideonthomas/events{/privacy}","received_events_url":"https://api.github.com/users/gideonthomas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gideonthomas/thimble.webmaker.org","description":"a minimal thimble on node.js POC","fork":true,"url":"https://api.github.com/repos/gideonthomas/thimble.webmaker.org","forks_url":"https://api.github.com/repos/gideonthomas/thimble.webmaker.org/forks","keys_url":"https://api.github.com/repos/gideonthomas/thimble.webmaker.org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gideonthomas/thimble.webmaker.org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gideonthomas/thimble.webmaker.org/teams","hooks_url":"https://api.github.com/repos/gideonthomas/thimble.webmaker.org/hooks","issue_events_url":"https://api.github.com/repos/gideonthomas/thimble.webmaker.org/issues/events{/number}","events_url":"https://api.github.com/repos/gideonthomas/thimble.webmaker.org/events","assignees_url":"https://api.github.com/repos/gideonthomas/thimble.webmaker.org/assignees{/user}","branches_url":"https://api.github.com/repos/gideonthomas/thimble.webmaker.org/branches{/branch}","tags_url":"https://api.github.com/repos/gideonthomas/thimble.webmaker.org/tags","blobs_url":"https://api.github.com/repos/gideonthomas/thimble.webmaker.org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gideonthomas/thimble.webmaker.org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gideonthomas/thimble.webmaker.org/git/refs{/sha}","trees_url":"https://api.github.com/repos/gideonthomas/thimble.webmaker.org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gideonthomas/thimble.webmaker.org/statuses/{sha}","languages_url":"https://api.github.com/repos/gideonthomas/thimble.webmaker.org/languages","stargazers_url":"https://api.github.com/repos/gideonthomas/thimble.webmaker.org/stargazers","contributors_url":"https://api.github.com/repos/gideonthomas/thimble.webmaker.org/contributors","subscribers_url":"https://api.github.com/repos/gideonthomas/thimble.webmaker.org/subscribers","subscription_url":"https://api.github.com/repos/gideonthomas/thimble.webmaker.org/subscription","commits_url":"https://api.github.com/repos/gideonthomas/thimble.webmaker.org/commits{/sha}","git_commits_url":"https://api.github.com/repos/gideonthomas/thimble.webmaker.org/git/commits{/sha}","comments_url":"https://api.github.com/repos/gideonthomas/thimble.webmaker.org/comments{/number}","issue_comment_url":"https://api.github.com/repos/gideonthomas/thimble.webmaker.org/issues/comments{/number}","contents_url":"https://api.github.com/repos/gideonthomas/thimble.webmaker.org/contents/{+path}","compare_url":"https://api.github.com/repos/gideonthomas/thimble.webmaker.org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gideonthomas/thimble.webmaker.org/merges","archive_url":"https://api.github.com/repos/gideonthomas/thimble.webmaker.org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gideonthomas/thimble.webmaker.org/downloads","issues_url":"https://api.github.com/repos/gideonthomas/thimble.webmaker.org/issues{/number}","pulls_url":"https://api.github.com/repos/gideonthomas/thimble.webmaker.org/pulls{/number}","milestones_url":"https://api.github.com/repos/gideonthomas/thimble.webmaker.org/milestones{/number}","notifications_url":"https://api.github.com/repos/gideonthomas/thimble.webmaker.org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gideonthomas/thimble.webmaker.org/labels{/name}","releases_url":"https://api.github.com/repos/gideonthomas/thimble.webmaker.org/releases{/id}","created_at":"2015-03-02T17:51:20Z","updated_at":"2015-03-02T17:51:21Z","pushed_at":"2015-08-04T17:15:08Z","git_url":"git://github.com/gideonthomas/thimble.webmaker.org.git","ssh_url":"git@github.com:gideonthomas/thimble.webmaker.org.git","clone_url":"https://github.com/gideonthomas/thimble.webmaker.org.git","svn_url":"https://github.com/gideonthomas/thimble.webmaker.org","homepage":null,"size":17294,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"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":"mvpIntegration"}},"base":{"label":"mozilla:bramble","ref":"bramble","sha":"92949834991251dd366676d43b2c6ae05058e741","user":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"repo":{"id":9349840,"name":"thimble.webmaker.org","full_name":"mozilla/thimble.webmaker.org","owner":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla/thimble.webmaker.org","description":"Thimble coding editor","fork":false,"url":"https://api.github.com/repos/mozilla/thimble.webmaker.org","forks_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/forks","keys_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/teams","hooks_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/hooks","issue_events_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/events","assignees_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/tags","blobs_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/languages","stargazers_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/stargazers","contributors_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/contributors","subscribers_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/subscribers","subscription_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/subscription","commits_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/merges","archive_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/downloads","issues_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/releases{/id}","created_at":"2013-04-10T15:54:34Z","updated_at":"2015-07-31T15:41:18Z","pushed_at":"2015-08-04T17:15:34Z","git_url":"git://github.com/mozilla/thimble.webmaker.org.git","ssh_url":"git@github.com:mozilla/thimble.webmaker.org.git","clone_url":"https://github.com/mozilla/thimble.webmaker.org.git","svn_url":"https://github.com/mozilla/thimble.webmaker.org","homepage":"thimble.webmaker.org","size":21551,"stargazers_count":70,"watchers_count":70,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":70,"mirror_url":null,"open_issues_count":107,"forks":70,"open_issues":107,"watchers":70,"default_branch":"bramble"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/thimble.webmaker.org/pulls/781"},"html":{"href":"https://github.com/mozilla/thimble.webmaker.org/pull/781"},"issue":{"href":"https://api.github.com/repos/mozilla/thimble.webmaker.org/issues/781"},"comments":{"href":"https://api.github.com/repos/mozilla/thimble.webmaker.org/issues/781/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/thimble.webmaker.org/pulls/781/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/thimble.webmaker.org/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla/thimble.webmaker.org/pulls/781/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/thimble.webmaker.org/statuses/9ba37c83db4fa4677652a0b587a756b0d1f1a299"}}}}