{"action":"created","comment":{"url":"https://api.github.com/repos/cfpb/cf-tables/pulls/comments/41521148","id":41521148,"diff_hunk":"@@ -0,0 +1,339 @@\n+\n+<h1>Standard Table</h1>\n+\n+<table class=\"table\">\n+  <thead>\n+    <tr>\n+      <th>Column 1</th>\n+      <th>Column 2</th>\n+      <th>Column 3</th>\n+    </tr>\n+  </thead>\n+  <tbody>\n+    <tr>\n+      <td data-label=\"Column 1\">Row A</td>\n+      <td data-label=\"Column 2\">Cell A2</td>\n+      <td data-label=\"Column 3\">Cell A3</td>\n+    </tr>\n+    <tr>\n+      <td data-label=\"Column 1\">Row B</td>\n+      <td data-label=\"Column 2\">Cell B2</td>\n+      <td data-label=\"Column 3\">Cell B3</td>\n+    </tr>\n+    <tr>\n+      <td data-label=\"Column 1\">Row C</td>\n+      <td data-label=\"Column 2\">Cell C2</td>\n+      <td data-label=\"Column 3\">Cell C3</td>\n+    </tr>\n+    <tr>\n+      <td data-label=\"Column 1\">Row D</td>\n+      <td data-label=\"Column 2\">Cell D2</td>\n+      <td data-label=\"Column 3\">Cell D3</td>\n+    </tr>\n+  </tbody>\n+</table>\n+\n+\n+<h1>Standard Table with striped rows</h1>","path":"demo/custom.html","position":37,"original_position":37,"commit_id":"2d215d4ba9fd5e2a8d387d8d84563ddbe46cdf30","original_commit_id":"2d215d4ba9fd5e2a8d387d8d84563ddbe46cdf30","user":{"login":"mistergone","id":1490703,"avatar_url":"https://avatars.githubusercontent.com/u/1490703?v=3","gravatar_id":"","url":"https://api.github.com/users/mistergone","html_url":"https://github.com/mistergone","followers_url":"https://api.github.com/users/mistergone/followers","following_url":"https://api.github.com/users/mistergone/following{/other_user}","gists_url":"https://api.github.com/users/mistergone/gists{/gist_id}","starred_url":"https://api.github.com/users/mistergone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mistergone/subscriptions","organizations_url":"https://api.github.com/users/mistergone/orgs","repos_url":"https://api.github.com/users/mistergone/repos","events_url":"https://api.github.com/users/mistergone/events{/privacy}","received_events_url":"https://api.github.com/users/mistergone/received_events","type":"User","site_admin":false},"body":"Yeah, tables lose their stripes in the small screen variations - I noted it under the table striping in the docs. \"Striping is not visible by default on small screens.\" :smile: ","created_at":"2015-10-08T14:38:28Z","updated_at":"2015-10-08T14:38:28Z","html_url":"https://github.com/cfpb/cf-tables/pull/3#discussion_r41521148","pull_request_url":"https://api.github.com/repos/cfpb/cf-tables/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/cfpb/cf-tables/pulls/comments/41521148"},"html":{"href":"https://github.com/cfpb/cf-tables/pull/3#discussion_r41521148"},"pull_request":{"href":"https://api.github.com/repos/cfpb/cf-tables/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/cfpb/cf-tables/pulls/3","id":46289308,"html_url":"https://github.com/cfpb/cf-tables/pull/3","diff_url":"https://github.com/cfpb/cf-tables/pull/3.diff","patch_url":"https://github.com/cfpb/cf-tables/pull/3.patch","issue_url":"https://api.github.com/repos/cfpb/cf-tables/issues/3","number":3,"state":"open","locked":false,"title":"cf-tables is ready for a PR!","user":{"login":"mistergone","id":1490703,"avatar_url":"https://avatars.githubusercontent.com/u/1490703?v=3","gravatar_id":"","url":"https://api.github.com/users/mistergone","html_url":"https://github.com/mistergone","followers_url":"https://api.github.com/users/mistergone/followers","following_url":"https://api.github.com/users/mistergone/following{/other_user}","gists_url":"https://api.github.com/users/mistergone/gists{/gist_id}","starred_url":"https://api.github.com/users/mistergone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mistergone/subscriptions","organizations_url":"https://api.github.com/users/mistergone/orgs","repos_url":"https://api.github.com/users/mistergone/repos","events_url":"https://api.github.com/users/mistergone/events{/privacy}","received_events_url":"https://api.github.com/users/mistergone/received_events","type":"User","site_admin":false},"body":"This adds the bulk of cf-tables, built according to the new specifications for the CFPB design manual.\r\n\r\n[Check out the auto-generated documentation!](http://mistergone.github.io/cf-tables/docs/)\r\n\r\n## Additions\r\n- `.table__small_stacked`, the base responsive table for small screens\r\n- `.table__small_entry-header`, a small screen variation\r\n- `.table-wrapper__scrolling`, a wrapper for another small screen variation\r\n- `.table__striped`, a class that adds striped rows\r\n- `.table__sortable`, a class that enables table sorting\r\n- `cf-tables.js`, the JavaScript that enables table sorting\r\n- Tests for `cf-tables.js`\r\n\r\n## Testing\r\n- `git clone` the repo\r\n- Run `npm install`\r\n- Run `bower install`\r\n- Run `grunt`\r\n- Check out `docs/index.html` for documentation\r\n- Run `grunt test` to run qunit tests\r\n\r\n## Review\r\n- @Scotchester @ascott1 @jimmynotjim @niqjohnson and anyone else who wants to take a look\r\n- __Feedback is appreciated!__ I do not claim to be the master of all this stuff, so even tiny nitpicks are helpful!\r\n\r\n## Todos\r\n- ~~`cf-tables.js` should handle tables with `sorted_up` or `sorted_down` classes in their TRs by sorting them on document load.~~ _[Added here](https://github.com/mistergone/cf-tables/commit/efcdcdb9221f33621f0ae4e43bc69081a2377f7c)_\r\n- `cf-tables.js` should be able to sort dates (I plan to add a `data-sort_type=\"date\"` handler)\r\n\r\n## Checklist\r\n* [x] Changes are limited to a single goal (no scope creep)\r\n* [x] Code can be automatically merged (no conflicts)\r\n* [x] Code follows the standards laid out in the [front end playbook](https://github.com/cfpb/front-end)\r\n* [x] Passes all existing automated tests\r\n* [x] New functions include new tests\r\n* [x] New functions are documented (with a description, list of inputs, and expected output)\r\n* [x] Placeholder code is flagged\r\n* [x] Visually tested in supported browsers and devices \r\n* [x] Project documentation has been updated (including the \"Unreleased\" section of the CHANGELOG)\r\n\r\n## Special Thanks\r\n@ascott1 and @Scotchester have been immensely helpful in teaching me Capital Framework development, so hooray to them both!\r\n\r\n## Animated GIF\r\nGenerating tables is like...\r\n![xbqozc4](https://cloud.githubusercontent.com/assets/1490703/10168199/cabcca8a-6699-11e5-825b-b5899796c9d8.gif)\r\n","created_at":"2015-09-29T15:04:44Z","updated_at":"2015-10-08T14:38:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"26c08b40a7c29e64b5786f5af99b0e9bbd6eca47","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cfpb/cf-tables/pulls/3/commits","review_comments_url":"https://api.github.com/repos/cfpb/cf-tables/pulls/3/comments","review_comment_url":"https://api.github.com/repos/cfpb/cf-tables/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cfpb/cf-tables/issues/3/comments","statuses_url":"https://api.github.com/repos/cfpb/cf-tables/statuses/2d215d4ba9fd5e2a8d387d8d84563ddbe46cdf30","head":{"label":"mistergone:gh-pages","ref":"gh-pages","sha":"2d215d4ba9fd5e2a8d387d8d84563ddbe46cdf30","user":{"login":"mistergone","id":1490703,"avatar_url":"https://avatars.githubusercontent.com/u/1490703?v=3","gravatar_id":"","url":"https://api.github.com/users/mistergone","html_url":"https://github.com/mistergone","followers_url":"https://api.github.com/users/mistergone/followers","following_url":"https://api.github.com/users/mistergone/following{/other_user}","gists_url":"https://api.github.com/users/mistergone/gists{/gist_id}","starred_url":"https://api.github.com/users/mistergone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mistergone/subscriptions","organizations_url":"https://api.github.com/users/mistergone/orgs","repos_url":"https://api.github.com/users/mistergone/repos","events_url":"https://api.github.com/users/mistergone/events{/privacy}","received_events_url":"https://api.github.com/users/mistergone/received_events","type":"User","site_admin":false},"repo":{"id":42466213,"name":"cf-tables","full_name":"mistergone/cf-tables","owner":{"login":"mistergone","id":1490703,"avatar_url":"https://avatars.githubusercontent.com/u/1490703?v=3","gravatar_id":"","url":"https://api.github.com/users/mistergone","html_url":"https://github.com/mistergone","followers_url":"https://api.github.com/users/mistergone/followers","following_url":"https://api.github.com/users/mistergone/following{/other_user}","gists_url":"https://api.github.com/users/mistergone/gists{/gist_id}","starred_url":"https://api.github.com/users/mistergone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mistergone/subscriptions","organizations_url":"https://api.github.com/users/mistergone/orgs","repos_url":"https://api.github.com/users/mistergone/repos","events_url":"https://api.github.com/users/mistergone/events{/privacy}","received_events_url":"https://api.github.com/users/mistergone/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mistergone/cf-tables","description":"","fork":true,"url":"https://api.github.com/repos/mistergone/cf-tables","forks_url":"https://api.github.com/repos/mistergone/cf-tables/forks","keys_url":"https://api.github.com/repos/mistergone/cf-tables/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mistergone/cf-tables/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mistergone/cf-tables/teams","hooks_url":"https://api.github.com/repos/mistergone/cf-tables/hooks","issue_events_url":"https://api.github.com/repos/mistergone/cf-tables/issues/events{/number}","events_url":"https://api.github.com/repos/mistergone/cf-tables/events","assignees_url":"https://api.github.com/repos/mistergone/cf-tables/assignees{/user}","branches_url":"https://api.github.com/repos/mistergone/cf-tables/branches{/branch}","tags_url":"https://api.github.com/repos/mistergone/cf-tables/tags","blobs_url":"https://api.github.com/repos/mistergone/cf-tables/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mistergone/cf-tables/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mistergone/cf-tables/git/refs{/sha}","trees_url":"https://api.github.com/repos/mistergone/cf-tables/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mistergone/cf-tables/statuses/{sha}","languages_url":"https://api.github.com/repos/mistergone/cf-tables/languages","stargazers_url":"https://api.github.com/repos/mistergone/cf-tables/stargazers","contributors_url":"https://api.github.com/repos/mistergone/cf-tables/contributors","subscribers_url":"https://api.github.com/repos/mistergone/cf-tables/subscribers","subscription_url":"https://api.github.com/repos/mistergone/cf-tables/subscription","commits_url":"https://api.github.com/repos/mistergone/cf-tables/commits{/sha}","git_commits_url":"https://api.github.com/repos/mistergone/cf-tables/git/commits{/sha}","comments_url":"https://api.github.com/repos/mistergone/cf-tables/comments{/number}","issue_comment_url":"https://api.github.com/repos/mistergone/cf-tables/issues/comments{/number}","contents_url":"https://api.github.com/repos/mistergone/cf-tables/contents/{+path}","compare_url":"https://api.github.com/repos/mistergone/cf-tables/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mistergone/cf-tables/merges","archive_url":"https://api.github.com/repos/mistergone/cf-tables/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mistergone/cf-tables/downloads","issues_url":"https://api.github.com/repos/mistergone/cf-tables/issues{/number}","pulls_url":"https://api.github.com/repos/mistergone/cf-tables/pulls{/number}","milestones_url":"https://api.github.com/repos/mistergone/cf-tables/milestones{/number}","notifications_url":"https://api.github.com/repos/mistergone/cf-tables/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mistergone/cf-tables/labels{/name}","releases_url":"https://api.github.com/repos/mistergone/cf-tables/releases{/id}","created_at":"2015-09-14T17:47:58Z","updated_at":"2015-09-24T21:38:55Z","pushed_at":"2015-10-07T20:58:04Z","git_url":"git://github.com/mistergone/cf-tables.git","ssh_url":"git@github.com:mistergone/cf-tables.git","clone_url":"https://github.com/mistergone/cf-tables.git","svn_url":"https://github.com/mistergone/cf-tables","homepage":null,"size":258,"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":"gh-pages"}},"base":{"label":"cfpb:gh-pages","ref":"gh-pages","sha":"108cdfe36418ab4fe55ad39cfc6683c609a6ec91","user":{"login":"cfpb","id":1071563,"avatar_url":"https://avatars.githubusercontent.com/u/1071563?v=3","gravatar_id":"","url":"https://api.github.com/users/cfpb","html_url":"https://github.com/cfpb","followers_url":"https://api.github.com/users/cfpb/followers","following_url":"https://api.github.com/users/cfpb/following{/other_user}","gists_url":"https://api.github.com/users/cfpb/gists{/gist_id}","starred_url":"https://api.github.com/users/cfpb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cfpb/subscriptions","organizations_url":"https://api.github.com/users/cfpb/orgs","repos_url":"https://api.github.com/users/cfpb/repos","events_url":"https://api.github.com/users/cfpb/events{/privacy}","received_events_url":"https://api.github.com/users/cfpb/received_events","type":"Organization","site_admin":false},"repo":{"id":17714672,"name":"cf-tables","full_name":"cfpb/cf-tables","owner":{"login":"cfpb","id":1071563,"avatar_url":"https://avatars.githubusercontent.com/u/1071563?v=3","gravatar_id":"","url":"https://api.github.com/users/cfpb","html_url":"https://github.com/cfpb","followers_url":"https://api.github.com/users/cfpb/followers","following_url":"https://api.github.com/users/cfpb/following{/other_user}","gists_url":"https://api.github.com/users/cfpb/gists{/gist_id}","starred_url":"https://api.github.com/users/cfpb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cfpb/subscriptions","organizations_url":"https://api.github.com/users/cfpb/orgs","repos_url":"https://api.github.com/users/cfpb/repos","events_url":"https://api.github.com/users/cfpb/events{/privacy}","received_events_url":"https://api.github.com/users/cfpb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cfpb/cf-tables","description":"","fork":false,"url":"https://api.github.com/repos/cfpb/cf-tables","forks_url":"https://api.github.com/repos/cfpb/cf-tables/forks","keys_url":"https://api.github.com/repos/cfpb/cf-tables/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cfpb/cf-tables/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cfpb/cf-tables/teams","hooks_url":"https://api.github.com/repos/cfpb/cf-tables/hooks","issue_events_url":"https://api.github.com/repos/cfpb/cf-tables/issues/events{/number}","events_url":"https://api.github.com/repos/cfpb/cf-tables/events","assignees_url":"https://api.github.com/repos/cfpb/cf-tables/assignees{/user}","branches_url":"https://api.github.com/repos/cfpb/cf-tables/branches{/branch}","tags_url":"https://api.github.com/repos/cfpb/cf-tables/tags","blobs_url":"https://api.github.com/repos/cfpb/cf-tables/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cfpb/cf-tables/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cfpb/cf-tables/git/refs{/sha}","trees_url":"https://api.github.com/repos/cfpb/cf-tables/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cfpb/cf-tables/statuses/{sha}","languages_url":"https://api.github.com/repos/cfpb/cf-tables/languages","stargazers_url":"https://api.github.com/repos/cfpb/cf-tables/stargazers","contributors_url":"https://api.github.com/repos/cfpb/cf-tables/contributors","subscribers_url":"https://api.github.com/repos/cfpb/cf-tables/subscribers","subscription_url":"https://api.github.com/repos/cfpb/cf-tables/subscription","commits_url":"https://api.github.com/repos/cfpb/cf-tables/commits{/sha}","git_commits_url":"https://api.github.com/repos/cfpb/cf-tables/git/commits{/sha}","comments_url":"https://api.github.com/repos/cfpb/cf-tables/comments{/number}","issue_comment_url":"https://api.github.com/repos/cfpb/cf-tables/issues/comments{/number}","contents_url":"https://api.github.com/repos/cfpb/cf-tables/contents/{+path}","compare_url":"https://api.github.com/repos/cfpb/cf-tables/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cfpb/cf-tables/merges","archive_url":"https://api.github.com/repos/cfpb/cf-tables/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cfpb/cf-tables/downloads","issues_url":"https://api.github.com/repos/cfpb/cf-tables/issues{/number}","pulls_url":"https://api.github.com/repos/cfpb/cf-tables/pulls{/number}","milestones_url":"https://api.github.com/repos/cfpb/cf-tables/milestones{/number}","notifications_url":"https://api.github.com/repos/cfpb/cf-tables/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cfpb/cf-tables/labels{/name}","releases_url":"https://api.github.com/repos/cfpb/cf-tables/releases{/id}","created_at":"2014-03-13T15:20:47Z","updated_at":"2015-09-24T21:29:44Z","pushed_at":"2015-10-07T20:58:05Z","git_url":"git://github.com/cfpb/cf-tables.git","ssh_url":"git@github.com:cfpb/cf-tables.git","clone_url":"https://github.com/cfpb/cf-tables.git","svn_url":"https://github.com/cfpb/cf-tables","homepage":null,"size":524,"stargazers_count":2,"watchers_count":2,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"open_issues_count":3,"forks":2,"open_issues":3,"watchers":2,"default_branch":"gh-pages"}},"_links":{"self":{"href":"https://api.github.com/repos/cfpb/cf-tables/pulls/3"},"html":{"href":"https://github.com/cfpb/cf-tables/pull/3"},"issue":{"href":"https://api.github.com/repos/cfpb/cf-tables/issues/3"},"comments":{"href":"https://api.github.com/repos/cfpb/cf-tables/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/cfpb/cf-tables/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/cfpb/cf-tables/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cfpb/cf-tables/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/cfpb/cf-tables/statuses/2d215d4ba9fd5e2a8d387d8d84563ddbe46cdf30"}}}}