{"action":"created","comment":{"url":"https://api.github.com/repos/box/shalam/pulls/comments/36811358","id":36811358,"diff_hunk":"@@ -26,3 +26,13 @@ exports.fetch = function fetch(imgPath) {\n     img.src = fs.readFileSync(path.resolve(process.cwd(), imgPath));\n     return img;\n };\n+\n+/**\n+ * Returns a hash for an image based on its size\n+ * @param  {number} height\n+ * @param  {number} width\n+ * @return {string}\n+ */\n+exports.getSizeHash = function getSizeHash(height, width) {\n+\treturn height + 'x' + width;\n+}","path":"lib/image.js","position":13,"original_position":13,"commit_id":"be5dc97e44fcca6bc988424d67c76127f0998faa","original_commit_id":"be5dc97e44fcca6bc988424d67c76127f0998faa","user":{"login":"mattbasta","id":279498,"avatar_url":"https://avatars.githubusercontent.com/u/279498?v=3","gravatar_id":"","url":"https://api.github.com/users/mattbasta","html_url":"https://github.com/mattbasta","followers_url":"https://api.github.com/users/mattbasta/followers","following_url":"https://api.github.com/users/mattbasta/following{/other_user}","gists_url":"https://api.github.com/users/mattbasta/gists{/gist_id}","starred_url":"https://api.github.com/users/mattbasta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattbasta/subscriptions","organizations_url":"https://api.github.com/users/mattbasta/orgs","repos_url":"https://api.github.com/users/mattbasta/repos","events_url":"https://api.github.com/users/mattbasta/events{/privacy}","received_events_url":"https://api.github.com/users/mattbasta/received_events","type":"User","site_admin":false},"body":"semicolon","created_at":"2015-08-11T23:17:16Z","updated_at":"2015-08-11T23:17:16Z","html_url":"https://github.com/box/shalam/pull/5#discussion_r36811358","pull_request_url":"https://api.github.com/repos/box/shalam/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/box/shalam/pulls/comments/36811358"},"html":{"href":"https://github.com/box/shalam/pull/5#discussion_r36811358"},"pull_request":{"href":"https://api.github.com/repos/box/shalam/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/box/shalam/pulls/5","id":42186512,"html_url":"https://github.com/box/shalam/pull/5","diff_url":"https://github.com/box/shalam/pull/5.diff","patch_url":"https://github.com/box/shalam/pull/5.patch","issue_url":"https://api.github.com/repos/box/shalam/issues/5","number":5,"state":"open","locked":false,"title":"Resolved compat mapping issue","user":{"login":"tarrencev","id":4740651,"avatar_url":"https://avatars.githubusercontent.com/u/4740651?v=3","gravatar_id":"","url":"https://api.github.com/users/tarrencev","html_url":"https://github.com/tarrencev","followers_url":"https://api.github.com/users/tarrencev/followers","following_url":"https://api.github.com/users/tarrencev/following{/other_user}","gists_url":"https://api.github.com/users/tarrencev/gists{/gist_id}","starred_url":"https://api.github.com/users/tarrencev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tarrencev/subscriptions","organizations_url":"https://api.github.com/users/tarrencev/orgs","repos_url":"https://api.github.com/users/tarrencev/repos","events_url":"https://api.github.com/users/tarrencev/events{/privacy}","received_events_url":"https://api.github.com/users/tarrencev/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-08-11T22:36:30Z","updated_at":"2015-08-11T23:17:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a33e6dbdc3a28a92e9a6a023dbf9893daa9b118a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/box/shalam/pulls/5/commits","review_comments_url":"https://api.github.com/repos/box/shalam/pulls/5/comments","review_comment_url":"https://api.github.com/repos/box/shalam/pulls/comments{/number}","comments_url":"https://api.github.com/repos/box/shalam/issues/5/comments","statuses_url":"https://api.github.com/repos/box/shalam/statuses/be5dc97e44fcca6bc988424d67c76127f0998faa","head":{"label":"box:compat_mapping_fix","ref":"compat_mapping_fix","sha":"be5dc97e44fcca6bc988424d67c76127f0998faa","user":{"login":"box","id":23900,"avatar_url":"https://avatars.githubusercontent.com/u/23900?v=3","gravatar_id":"","url":"https://api.github.com/users/box","html_url":"https://github.com/box","followers_url":"https://api.github.com/users/box/followers","following_url":"https://api.github.com/users/box/following{/other_user}","gists_url":"https://api.github.com/users/box/gists{/gist_id}","starred_url":"https://api.github.com/users/box/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/box/subscriptions","organizations_url":"https://api.github.com/users/box/orgs","repos_url":"https://api.github.com/users/box/repos","events_url":"https://api.github.com/users/box/events{/privacy}","received_events_url":"https://api.github.com/users/box/received_events","type":"Organization","site_admin":false},"repo":{"id":34483611,"name":"shalam","full_name":"box/shalam","owner":{"login":"box","id":23900,"avatar_url":"https://avatars.githubusercontent.com/u/23900?v=3","gravatar_id":"","url":"https://api.github.com/users/box","html_url":"https://github.com/box","followers_url":"https://api.github.com/users/box/followers","following_url":"https://api.github.com/users/box/following{/other_user}","gists_url":"https://api.github.com/users/box/gists{/gist_id}","starred_url":"https://api.github.com/users/box/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/box/subscriptions","organizations_url":"https://api.github.com/users/box/orgs","repos_url":"https://api.github.com/users/box/repos","events_url":"https://api.github.com/users/box/events{/privacy}","received_events_url":"https://api.github.com/users/box/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/box/shalam","description":"A friendly tool for CSS spriting","fork":false,"url":"https://api.github.com/repos/box/shalam","forks_url":"https://api.github.com/repos/box/shalam/forks","keys_url":"https://api.github.com/repos/box/shalam/keys{/key_id}","collaborators_url":"https://api.github.com/repos/box/shalam/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/box/shalam/teams","hooks_url":"https://api.github.com/repos/box/shalam/hooks","issue_events_url":"https://api.github.com/repos/box/shalam/issues/events{/number}","events_url":"https://api.github.com/repos/box/shalam/events","assignees_url":"https://api.github.com/repos/box/shalam/assignees{/user}","branches_url":"https://api.github.com/repos/box/shalam/branches{/branch}","tags_url":"https://api.github.com/repos/box/shalam/tags","blobs_url":"https://api.github.com/repos/box/shalam/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/box/shalam/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/box/shalam/git/refs{/sha}","trees_url":"https://api.github.com/repos/box/shalam/git/trees{/sha}","statuses_url":"https://api.github.com/repos/box/shalam/statuses/{sha}","languages_url":"https://api.github.com/repos/box/shalam/languages","stargazers_url":"https://api.github.com/repos/box/shalam/stargazers","contributors_url":"https://api.github.com/repos/box/shalam/contributors","subscribers_url":"https://api.github.com/repos/box/shalam/subscribers","subscription_url":"https://api.github.com/repos/box/shalam/subscription","commits_url":"https://api.github.com/repos/box/shalam/commits{/sha}","git_commits_url":"https://api.github.com/repos/box/shalam/git/commits{/sha}","comments_url":"https://api.github.com/repos/box/shalam/comments{/number}","issue_comment_url":"https://api.github.com/repos/box/shalam/issues/comments{/number}","contents_url":"https://api.github.com/repos/box/shalam/contents/{+path}","compare_url":"https://api.github.com/repos/box/shalam/compare/{base}...{head}","merges_url":"https://api.github.com/repos/box/shalam/merges","archive_url":"https://api.github.com/repos/box/shalam/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/box/shalam/downloads","issues_url":"https://api.github.com/repos/box/shalam/issues{/number}","pulls_url":"https://api.github.com/repos/box/shalam/pulls{/number}","milestones_url":"https://api.github.com/repos/box/shalam/milestones{/number}","notifications_url":"https://api.github.com/repos/box/shalam/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/box/shalam/labels{/name}","releases_url":"https://api.github.com/repos/box/shalam/releases{/id}","created_at":"2015-04-23T21:56:10Z","updated_at":"2015-07-07T20:09:16Z","pushed_at":"2015-08-11T22:37:59Z","git_url":"git://github.com/box/shalam.git","ssh_url":"git@github.com:box/shalam.git","clone_url":"https://github.com/box/shalam.git","svn_url":"https://github.com/box/shalam","homepage":"http://opensource.box.com/shalam","size":522,"stargazers_count":19,"watchers_count":19,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":19,"default_branch":"master"}},"base":{"label":"box:master","ref":"master","sha":"fac85fc2d839db5b1b1acd0db2f5cf6a9fb0cd7b","user":{"login":"box","id":23900,"avatar_url":"https://avatars.githubusercontent.com/u/23900?v=3","gravatar_id":"","url":"https://api.github.com/users/box","html_url":"https://github.com/box","followers_url":"https://api.github.com/users/box/followers","following_url":"https://api.github.com/users/box/following{/other_user}","gists_url":"https://api.github.com/users/box/gists{/gist_id}","starred_url":"https://api.github.com/users/box/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/box/subscriptions","organizations_url":"https://api.github.com/users/box/orgs","repos_url":"https://api.github.com/users/box/repos","events_url":"https://api.github.com/users/box/events{/privacy}","received_events_url":"https://api.github.com/users/box/received_events","type":"Organization","site_admin":false},"repo":{"id":34483611,"name":"shalam","full_name":"box/shalam","owner":{"login":"box","id":23900,"avatar_url":"https://avatars.githubusercontent.com/u/23900?v=3","gravatar_id":"","url":"https://api.github.com/users/box","html_url":"https://github.com/box","followers_url":"https://api.github.com/users/box/followers","following_url":"https://api.github.com/users/box/following{/other_user}","gists_url":"https://api.github.com/users/box/gists{/gist_id}","starred_url":"https://api.github.com/users/box/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/box/subscriptions","organizations_url":"https://api.github.com/users/box/orgs","repos_url":"https://api.github.com/users/box/repos","events_url":"https://api.github.com/users/box/events{/privacy}","received_events_url":"https://api.github.com/users/box/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/box/shalam","description":"A friendly tool for CSS spriting","fork":false,"url":"https://api.github.com/repos/box/shalam","forks_url":"https://api.github.com/repos/box/shalam/forks","keys_url":"https://api.github.com/repos/box/shalam/keys{/key_id}","collaborators_url":"https://api.github.com/repos/box/shalam/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/box/shalam/teams","hooks_url":"https://api.github.com/repos/box/shalam/hooks","issue_events_url":"https://api.github.com/repos/box/shalam/issues/events{/number}","events_url":"https://api.github.com/repos/box/shalam/events","assignees_url":"https://api.github.com/repos/box/shalam/assignees{/user}","branches_url":"https://api.github.com/repos/box/shalam/branches{/branch}","tags_url":"https://api.github.com/repos/box/shalam/tags","blobs_url":"https://api.github.com/repos/box/shalam/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/box/shalam/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/box/shalam/git/refs{/sha}","trees_url":"https://api.github.com/repos/box/shalam/git/trees{/sha}","statuses_url":"https://api.github.com/repos/box/shalam/statuses/{sha}","languages_url":"https://api.github.com/repos/box/shalam/languages","stargazers_url":"https://api.github.com/repos/box/shalam/stargazers","contributors_url":"https://api.github.com/repos/box/shalam/contributors","subscribers_url":"https://api.github.com/repos/box/shalam/subscribers","subscription_url":"https://api.github.com/repos/box/shalam/subscription","commits_url":"https://api.github.com/repos/box/shalam/commits{/sha}","git_commits_url":"https://api.github.com/repos/box/shalam/git/commits{/sha}","comments_url":"https://api.github.com/repos/box/shalam/comments{/number}","issue_comment_url":"https://api.github.com/repos/box/shalam/issues/comments{/number}","contents_url":"https://api.github.com/repos/box/shalam/contents/{+path}","compare_url":"https://api.github.com/repos/box/shalam/compare/{base}...{head}","merges_url":"https://api.github.com/repos/box/shalam/merges","archive_url":"https://api.github.com/repos/box/shalam/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/box/shalam/downloads","issues_url":"https://api.github.com/repos/box/shalam/issues{/number}","pulls_url":"https://api.github.com/repos/box/shalam/pulls{/number}","milestones_url":"https://api.github.com/repos/box/shalam/milestones{/number}","notifications_url":"https://api.github.com/repos/box/shalam/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/box/shalam/labels{/name}","releases_url":"https://api.github.com/repos/box/shalam/releases{/id}","created_at":"2015-04-23T21:56:10Z","updated_at":"2015-07-07T20:09:16Z","pushed_at":"2015-08-11T22:37:59Z","git_url":"git://github.com/box/shalam.git","ssh_url":"git@github.com:box/shalam.git","clone_url":"https://github.com/box/shalam.git","svn_url":"https://github.com/box/shalam","homepage":"http://opensource.box.com/shalam","size":522,"stargazers_count":19,"watchers_count":19,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":19,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/box/shalam/pulls/5"},"html":{"href":"https://github.com/box/shalam/pull/5"},"issue":{"href":"https://api.github.com/repos/box/shalam/issues/5"},"comments":{"href":"https://api.github.com/repos/box/shalam/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/box/shalam/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/box/shalam/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/box/shalam/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/box/shalam/statuses/be5dc97e44fcca6bc988424d67c76127f0998faa"}}}}