{"action":"created","comment":{"url":"https://api.github.com/repos/18F/cg-style/pulls/comments/52399269","id":52399269,"diff_hunk":"@@ -0,0 +1,26 @@\n+\n+var fs = require('fs');\n+var postcss = require('postcss');\n+\n+var css = fs.readFileSync('./css/cg_style.css', 'utf8');\n+\n+var opts = {\n+  filterBy: function(image) {\n+    if (!/\\.png$/.test(image.url)) {\n+      return Promise.reject();\n+    }\n+\n+    return Promise.resolve();\n+  },\n+  stylesheetPath: './css',\n+  spritePath: './img'\n+};\n+\n+postcss([ require('postcss-sprites').default(opts) ])","path":"build/img_spriting.js","position":19,"original_position":19,"commit_id":"cb21e9d019990d65461ebb8d13cbcf22133eaf5b","original_commit_id":"e934a61845f4c2b0eaf4853567d10f60060cc639","user":{"login":"msecret","id":1701077,"avatar_url":"https://avatars.githubusercontent.com/u/1701077?v=3","gravatar_id":"","url":"https://api.github.com/users/msecret","html_url":"https://github.com/msecret","followers_url":"https://api.github.com/users/msecret/followers","following_url":"https://api.github.com/users/msecret/following{/other_user}","gists_url":"https://api.github.com/users/msecret/gists{/gist_id}","starred_url":"https://api.github.com/users/msecret/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msecret/subscriptions","organizations_url":"https://api.github.com/users/msecret/orgs","repos_url":"https://api.github.com/users/msecret/repos","events_url":"https://api.github.com/users/msecret/events{/privacy}","received_events_url":"https://api.github.com/users/msecret/received_events","type":"User","site_admin":false},"body":"It's being passed to `require('postcss-sprites').default(opts)`.","created_at":"2016-02-10T00:33:43Z","updated_at":"2016-02-10T00:33:43Z","html_url":"https://github.com/18F/cg-style/pull/28#discussion_r52399269","pull_request_url":"https://api.github.com/repos/18F/cg-style/pulls/28","_links":{"self":{"href":"https://api.github.com/repos/18F/cg-style/pulls/comments/52399269"},"html":{"href":"https://github.com/18F/cg-style/pull/28#discussion_r52399269"},"pull_request":{"href":"https://api.github.com/repos/18F/cg-style/pulls/28"}}},"pull_request":{"url":"https://api.github.com/repos/18F/cg-style/pulls/28","id":58689228,"html_url":"https://github.com/18F/cg-style/pull/28","diff_url":"https://github.com/18F/cg-style/pull/28.diff","patch_url":"https://github.com/18F/cg-style/pull/28.patch","issue_url":"https://api.github.com/repos/18F/cg-style/issues/28","number":28,"state":"open","locked":false,"title":"Refactor dependency overhall","user":{"login":"msecret","id":1701077,"avatar_url":"https://avatars.githubusercontent.com/u/1701077?v=3","gravatar_id":"","url":"https://api.github.com/users/msecret","html_url":"https://github.com/msecret","followers_url":"https://api.github.com/users/msecret/followers","following_url":"https://api.github.com/users/msecret/following{/other_user}","gists_url":"https://api.github.com/users/msecret/gists{/gist_id}","starred_url":"https://api.github.com/users/msecret/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msecret/subscriptions","organizations_url":"https://api.github.com/users/msecret/orgs","repos_url":"https://api.github.com/users/msecret/repos","events_url":"https://api.github.com/users/msecret/events{/privacy}","received_events_url":"https://api.github.com/users/msecret/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-02-09T00:27:07Z","updated_at":"2016-02-10T00:33:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"49dc9a547d36d5c5c70c762d1d803ed05de78bfb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/18F/cg-style/pulls/28/commits","review_comments_url":"https://api.github.com/repos/18F/cg-style/pulls/28/comments","review_comment_url":"https://api.github.com/repos/18F/cg-style/pulls/comments{/number}","comments_url":"https://api.github.com/repos/18F/cg-style/issues/28/comments","statuses_url":"https://api.github.com/repos/18F/cg-style/statuses/cb21e9d019990d65461ebb8d13cbcf22133eaf5b","head":{"label":"18F:refactor-dependency_overhall","ref":"refactor-dependency_overhall","sha":"cb21e9d019990d65461ebb8d13cbcf22133eaf5b","user":{"login":"18F","id":6233994,"avatar_url":"https://avatars.githubusercontent.com/u/6233994?v=3","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"repo":{"id":49169967,"name":"cg-style","full_name":"18F/cg-style","owner":{"login":"18F","id":6233994,"avatar_url":"https://avatars.githubusercontent.com/u/6233994?v=3","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/18F/cg-style","description":"The global style of cloud.gov","fork":false,"url":"https://api.github.com/repos/18F/cg-style","forks_url":"https://api.github.com/repos/18F/cg-style/forks","keys_url":"https://api.github.com/repos/18F/cg-style/keys{/key_id}","collaborators_url":"https://api.github.com/repos/18F/cg-style/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/18F/cg-style/teams","hooks_url":"https://api.github.com/repos/18F/cg-style/hooks","issue_events_url":"https://api.github.com/repos/18F/cg-style/issues/events{/number}","events_url":"https://api.github.com/repos/18F/cg-style/events","assignees_url":"https://api.github.com/repos/18F/cg-style/assignees{/user}","branches_url":"https://api.github.com/repos/18F/cg-style/branches{/branch}","tags_url":"https://api.github.com/repos/18F/cg-style/tags","blobs_url":"https://api.github.com/repos/18F/cg-style/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/18F/cg-style/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/18F/cg-style/git/refs{/sha}","trees_url":"https://api.github.com/repos/18F/cg-style/git/trees{/sha}","statuses_url":"https://api.github.com/repos/18F/cg-style/statuses/{sha}","languages_url":"https://api.github.com/repos/18F/cg-style/languages","stargazers_url":"https://api.github.com/repos/18F/cg-style/stargazers","contributors_url":"https://api.github.com/repos/18F/cg-style/contributors","subscribers_url":"https://api.github.com/repos/18F/cg-style/subscribers","subscription_url":"https://api.github.com/repos/18F/cg-style/subscription","commits_url":"https://api.github.com/repos/18F/cg-style/commits{/sha}","git_commits_url":"https://api.github.com/repos/18F/cg-style/git/commits{/sha}","comments_url":"https://api.github.com/repos/18F/cg-style/comments{/number}","issue_comment_url":"https://api.github.com/repos/18F/cg-style/issues/comments{/number}","contents_url":"https://api.github.com/repos/18F/cg-style/contents/{+path}","compare_url":"https://api.github.com/repos/18F/cg-style/compare/{base}...{head}","merges_url":"https://api.github.com/repos/18F/cg-style/merges","archive_url":"https://api.github.com/repos/18F/cg-style/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/18F/cg-style/downloads","issues_url":"https://api.github.com/repos/18F/cg-style/issues{/number}","pulls_url":"https://api.github.com/repos/18F/cg-style/pulls{/number}","milestones_url":"https://api.github.com/repos/18F/cg-style/milestones{/number}","notifications_url":"https://api.github.com/repos/18F/cg-style/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/18F/cg-style/labels{/name}","releases_url":"https://api.github.com/repos/18F/cg-style/releases{/id}","deployments_url":"https://api.github.com/repos/18F/cg-style/deployments","created_at":"2016-01-07T00:19:06Z","updated_at":"2016-02-05T19:10:23Z","pushed_at":"2016-02-09T02:49:38Z","git_url":"git://github.com/18F/cg-style.git","ssh_url":"git@github.com:18F/cg-style.git","clone_url":"https://github.com/18F/cg-style.git","svn_url":"https://github.com/18F/cg-style","homepage":null,"size":1238,"stargazers_count":3,"watchers_count":3,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":8,"forks":0,"open_issues":8,"watchers":3,"default_branch":"master"}},"base":{"label":"18F:master","ref":"master","sha":"2852d1fcd13ceb8d44f25969d72bc02381d80b9b","user":{"login":"18F","id":6233994,"avatar_url":"https://avatars.githubusercontent.com/u/6233994?v=3","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"repo":{"id":49169967,"name":"cg-style","full_name":"18F/cg-style","owner":{"login":"18F","id":6233994,"avatar_url":"https://avatars.githubusercontent.com/u/6233994?v=3","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/18F/cg-style","description":"The global style of cloud.gov","fork":false,"url":"https://api.github.com/repos/18F/cg-style","forks_url":"https://api.github.com/repos/18F/cg-style/forks","keys_url":"https://api.github.com/repos/18F/cg-style/keys{/key_id}","collaborators_url":"https://api.github.com/repos/18F/cg-style/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/18F/cg-style/teams","hooks_url":"https://api.github.com/repos/18F/cg-style/hooks","issue_events_url":"https://api.github.com/repos/18F/cg-style/issues/events{/number}","events_url":"https://api.github.com/repos/18F/cg-style/events","assignees_url":"https://api.github.com/repos/18F/cg-style/assignees{/user}","branches_url":"https://api.github.com/repos/18F/cg-style/branches{/branch}","tags_url":"https://api.github.com/repos/18F/cg-style/tags","blobs_url":"https://api.github.com/repos/18F/cg-style/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/18F/cg-style/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/18F/cg-style/git/refs{/sha}","trees_url":"https://api.github.com/repos/18F/cg-style/git/trees{/sha}","statuses_url":"https://api.github.com/repos/18F/cg-style/statuses/{sha}","languages_url":"https://api.github.com/repos/18F/cg-style/languages","stargazers_url":"https://api.github.com/repos/18F/cg-style/stargazers","contributors_url":"https://api.github.com/repos/18F/cg-style/contributors","subscribers_url":"https://api.github.com/repos/18F/cg-style/subscribers","subscription_url":"https://api.github.com/repos/18F/cg-style/subscription","commits_url":"https://api.github.com/repos/18F/cg-style/commits{/sha}","git_commits_url":"https://api.github.com/repos/18F/cg-style/git/commits{/sha}","comments_url":"https://api.github.com/repos/18F/cg-style/comments{/number}","issue_comment_url":"https://api.github.com/repos/18F/cg-style/issues/comments{/number}","contents_url":"https://api.github.com/repos/18F/cg-style/contents/{+path}","compare_url":"https://api.github.com/repos/18F/cg-style/compare/{base}...{head}","merges_url":"https://api.github.com/repos/18F/cg-style/merges","archive_url":"https://api.github.com/repos/18F/cg-style/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/18F/cg-style/downloads","issues_url":"https://api.github.com/repos/18F/cg-style/issues{/number}","pulls_url":"https://api.github.com/repos/18F/cg-style/pulls{/number}","milestones_url":"https://api.github.com/repos/18F/cg-style/milestones{/number}","notifications_url":"https://api.github.com/repos/18F/cg-style/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/18F/cg-style/labels{/name}","releases_url":"https://api.github.com/repos/18F/cg-style/releases{/id}","deployments_url":"https://api.github.com/repos/18F/cg-style/deployments","created_at":"2016-01-07T00:19:06Z","updated_at":"2016-02-05T19:10:23Z","pushed_at":"2016-02-09T02:49:38Z","git_url":"git://github.com/18F/cg-style.git","ssh_url":"git@github.com:18F/cg-style.git","clone_url":"https://github.com/18F/cg-style.git","svn_url":"https://github.com/18F/cg-style","homepage":null,"size":1238,"stargazers_count":3,"watchers_count":3,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":8,"forks":0,"open_issues":8,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/18F/cg-style/pulls/28"},"html":{"href":"https://github.com/18F/cg-style/pull/28"},"issue":{"href":"https://api.github.com/repos/18F/cg-style/issues/28"},"comments":{"href":"https://api.github.com/repos/18F/cg-style/issues/28/comments"},"review_comments":{"href":"https://api.github.com/repos/18F/cg-style/pulls/28/comments"},"review_comment":{"href":"https://api.github.com/repos/18F/cg-style/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/18F/cg-style/pulls/28/commits"},"statuses":{"href":"https://api.github.com/repos/18F/cg-style/statuses/cb21e9d019990d65461ebb8d13cbcf22133eaf5b"}}}}