{"action":"created","comment":{"url":"https://api.github.com/repos/clio/lib-themisui/pulls/comments/47670367","id":47670367,"diff_hunk":"@@ -0,0 +1,58 @@\n+fixtures = ->\n+  celebrities = [\n+    {id: 1, name: \"Jose Valim\",  twitter: \"josevalim\"}\n+    {id: 2, name: \"Dan Abramov\", twitter: \"dan_abramov\"}\n+    {id: 3, name: \"Todd Motto\",  twitter: \"toddmotto\"}\n+    {id: 4, name: \"Yehuda Katz\", twitter: \"wycats\"}\n+    {id: 10, name: \"Paul Graham\", twitter: \"paulg\"}\n+  ]\n+\n+  twitterUser = (spec) ->\n+    {id, name, twitter} = spec\n+\n+    twitterProfile = \"http://twitter.com/\" + twitter\n+    twitterFollowers = twitterProfile + \"/followers\"\n+    twitterFollowing = twitterProfile + \"/following\"\n+    twitterLikes = twitterProfile + \"/likes\"\n+\n+    return {\n+      id\n+      name\n+      twitter\n+      twitterProfile\n+      twitterFollowing\n+      twitterFollowers\n+      twitterLikes\n+    }\n+\n+  celebrities.map twitterUser\n+\n+\n+angular.module 'thDemo', ['ThemisComponents']\n+  .controller \"DemoController\", (SimpleTableDelegate, TableHeader, TableSort) ->\n+    data = fixtures()\n+    {sort} = TableSort\n+\n+    @tableDelegate = SimpleTableDelegate {\n+      headers: [\n+        TableHeader\n+          name: 'Id'\n+          sortField: 'id'\n+\n+        TableHeader\n+          name: 'Name'\n+          sortField: 'name'\n+          sortActive: true\n+          sortDirection: 'ascending'\n+\n+        TableHeader\n+          name: 'Twitter'\n+          sortField: 'twitter'\n+      ]\n+\n+      fetchData: (page, pageSize, sortHeader, updateData) ->\n+        sortedData = sort data, sortHeader\n+        updateData undefined, sortedData, sortedData.length","path":"themis_components/thTable/examples/1 - Actions Row Sort/coffee.coffee","position":55,"original_position":55,"commit_id":"61c6f79cadb24365f851f1f88e022847031b7c48","original_commit_id":"61c6f79cadb24365f851f1f88e022847031b7c48","user":{"login":"andreisoare","id":9487,"avatar_url":"https://avatars.githubusercontent.com/u/9487?v=3","gravatar_id":"","url":"https://api.github.com/users/andreisoare","html_url":"https://github.com/andreisoare","followers_url":"https://api.github.com/users/andreisoare/followers","following_url":"https://api.github.com/users/andreisoare/following{/other_user}","gists_url":"https://api.github.com/users/andreisoare/gists{/gist_id}","starred_url":"https://api.github.com/users/andreisoare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreisoare/subscriptions","organizations_url":"https://api.github.com/users/andreisoare/orgs","repos_url":"https://api.github.com/users/andreisoare/repos","events_url":"https://api.github.com/users/andreisoare/events{/privacy}","received_events_url":"https://api.github.com/users/andreisoare/received_events","type":"User","site_admin":false},"body":"Good idea!","created_at":"2015-12-15T17:40:34Z","updated_at":"2015-12-15T17:40:34Z","html_url":"https://github.com/clio/lib-themisui/pull/54#discussion_r47670367","pull_request_url":"https://api.github.com/repos/clio/lib-themisui/pulls/54","_links":{"self":{"href":"https://api.github.com/repos/clio/lib-themisui/pulls/comments/47670367"},"html":{"href":"https://github.com/clio/lib-themisui/pull/54#discussion_r47670367"},"pull_request":{"href":"https://api.github.com/repos/clio/lib-themisui/pulls/54"}}},"pull_request":{"url":"https://api.github.com/repos/clio/lib-themisui/pulls/54","id":51834859,"html_url":"https://github.com/clio/lib-themisui/pull/54","diff_url":"https://github.com/clio/lib-themisui/pull/54.diff","patch_url":"https://github.com/clio/lib-themisui/pull/54.patch","issue_url":"https://api.github.com/repos/clio/lib-themisui/issues/54","number":54,"state":"open","locked":false,"title":"Clio 26902 - Implement thTable","user":{"login":"andreisoare","id":9487,"avatar_url":"https://avatars.githubusercontent.com/u/9487?v=3","gravatar_id":"","url":"https://api.github.com/users/andreisoare","html_url":"https://github.com/andreisoare","followers_url":"https://api.github.com/users/andreisoare/followers","following_url":"https://api.github.com/users/andreisoare/following{/other_user}","gists_url":"https://api.github.com/users/andreisoare/gists{/gist_id}","starred_url":"https://api.github.com/users/andreisoare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreisoare/subscriptions","organizations_url":"https://api.github.com/users/andreisoare/orgs","repos_url":"https://api.github.com/users/andreisoare/repos","events_url":"https://api.github.com/users/andreisoare/events{/privacy}","received_events_url":"https://api.github.com/users/andreisoare/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-25T19:11:31Z","updated_at":"2015-12-15T17:40:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1858200ff4711936964df4a6ab5bd0248ca7d2f4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/clio/lib-themisui/pulls/54/commits","review_comments_url":"https://api.github.com/repos/clio/lib-themisui/pulls/54/comments","review_comment_url":"https://api.github.com/repos/clio/lib-themisui/pulls/comments{/number}","comments_url":"https://api.github.com/repos/clio/lib-themisui/issues/54/comments","statuses_url":"https://api.github.com/repos/clio/lib-themisui/statuses/61c6f79cadb24365f851f1f88e022847031b7c48","head":{"label":"andreisoare:clio-26902-th-table","ref":"clio-26902-th-table","sha":"61c6f79cadb24365f851f1f88e022847031b7c48","user":{"login":"andreisoare","id":9487,"avatar_url":"https://avatars.githubusercontent.com/u/9487?v=3","gravatar_id":"","url":"https://api.github.com/users/andreisoare","html_url":"https://github.com/andreisoare","followers_url":"https://api.github.com/users/andreisoare/followers","following_url":"https://api.github.com/users/andreisoare/following{/other_user}","gists_url":"https://api.github.com/users/andreisoare/gists{/gist_id}","starred_url":"https://api.github.com/users/andreisoare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreisoare/subscriptions","organizations_url":"https://api.github.com/users/andreisoare/orgs","repos_url":"https://api.github.com/users/andreisoare/repos","events_url":"https://api.github.com/users/andreisoare/events{/privacy}","received_events_url":"https://api.github.com/users/andreisoare/received_events","type":"User","site_admin":false},"repo":{"id":45872416,"name":"lib-themisui","full_name":"andreisoare/lib-themisui","owner":{"login":"andreisoare","id":9487,"avatar_url":"https://avatars.githubusercontent.com/u/9487?v=3","gravatar_id":"","url":"https://api.github.com/users/andreisoare","html_url":"https://github.com/andreisoare","followers_url":"https://api.github.com/users/andreisoare/followers","following_url":"https://api.github.com/users/andreisoare/following{/other_user}","gists_url":"https://api.github.com/users/andreisoare/gists{/gist_id}","starred_url":"https://api.github.com/users/andreisoare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreisoare/subscriptions","organizations_url":"https://api.github.com/users/andreisoare/orgs","repos_url":"https://api.github.com/users/andreisoare/repos","events_url":"https://api.github.com/users/andreisoare/events{/privacy}","received_events_url":"https://api.github.com/users/andreisoare/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andreisoare/lib-themisui","description":"","fork":true,"url":"https://api.github.com/repos/andreisoare/lib-themisui","forks_url":"https://api.github.com/repos/andreisoare/lib-themisui/forks","keys_url":"https://api.github.com/repos/andreisoare/lib-themisui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andreisoare/lib-themisui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andreisoare/lib-themisui/teams","hooks_url":"https://api.github.com/repos/andreisoare/lib-themisui/hooks","issue_events_url":"https://api.github.com/repos/andreisoare/lib-themisui/issues/events{/number}","events_url":"https://api.github.com/repos/andreisoare/lib-themisui/events","assignees_url":"https://api.github.com/repos/andreisoare/lib-themisui/assignees{/user}","branches_url":"https://api.github.com/repos/andreisoare/lib-themisui/branches{/branch}","tags_url":"https://api.github.com/repos/andreisoare/lib-themisui/tags","blobs_url":"https://api.github.com/repos/andreisoare/lib-themisui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andreisoare/lib-themisui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andreisoare/lib-themisui/git/refs{/sha}","trees_url":"https://api.github.com/repos/andreisoare/lib-themisui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andreisoare/lib-themisui/statuses/{sha}","languages_url":"https://api.github.com/repos/andreisoare/lib-themisui/languages","stargazers_url":"https://api.github.com/repos/andreisoare/lib-themisui/stargazers","contributors_url":"https://api.github.com/repos/andreisoare/lib-themisui/contributors","subscribers_url":"https://api.github.com/repos/andreisoare/lib-themisui/subscribers","subscription_url":"https://api.github.com/repos/andreisoare/lib-themisui/subscription","commits_url":"https://api.github.com/repos/andreisoare/lib-themisui/commits{/sha}","git_commits_url":"https://api.github.com/repos/andreisoare/lib-themisui/git/commits{/sha}","comments_url":"https://api.github.com/repos/andreisoare/lib-themisui/comments{/number}","issue_comment_url":"https://api.github.com/repos/andreisoare/lib-themisui/issues/comments{/number}","contents_url":"https://api.github.com/repos/andreisoare/lib-themisui/contents/{+path}","compare_url":"https://api.github.com/repos/andreisoare/lib-themisui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andreisoare/lib-themisui/merges","archive_url":"https://api.github.com/repos/andreisoare/lib-themisui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andreisoare/lib-themisui/downloads","issues_url":"https://api.github.com/repos/andreisoare/lib-themisui/issues{/number}","pulls_url":"https://api.github.com/repos/andreisoare/lib-themisui/pulls{/number}","milestones_url":"https://api.github.com/repos/andreisoare/lib-themisui/milestones{/number}","notifications_url":"https://api.github.com/repos/andreisoare/lib-themisui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andreisoare/lib-themisui/labels{/name}","releases_url":"https://api.github.com/repos/andreisoare/lib-themisui/releases{/id}","created_at":"2015-11-09T22:56:43Z","updated_at":"2015-11-09T22:56:44Z","pushed_at":"2015-12-14T23:57:59Z","git_url":"git://github.com/andreisoare/lib-themisui.git","ssh_url":"git@github.com:andreisoare/lib-themisui.git","clone_url":"https://github.com/andreisoare/lib-themisui.git","svn_url":"https://github.com/andreisoare/lib-themisui","homepage":null,"size":745,"stargazers_count":0,"watchers_count":0,"language":"CoffeeScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"clio:master","ref":"master","sha":"8ad9f63e4c553ebcc0e131e6e1c206b5fd5056ca","user":{"login":"clio","id":30769,"avatar_url":"https://avatars.githubusercontent.com/u/30769?v=3","gravatar_id":"","url":"https://api.github.com/users/clio","html_url":"https://github.com/clio","followers_url":"https://api.github.com/users/clio/followers","following_url":"https://api.github.com/users/clio/following{/other_user}","gists_url":"https://api.github.com/users/clio/gists{/gist_id}","starred_url":"https://api.github.com/users/clio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clio/subscriptions","organizations_url":"https://api.github.com/users/clio/orgs","repos_url":"https://api.github.com/users/clio/repos","events_url":"https://api.github.com/users/clio/events{/privacy}","received_events_url":"https://api.github.com/users/clio/received_events","type":"Organization","site_admin":false},"repo":{"id":32031641,"name":"lib-themisui","full_name":"clio/lib-themisui","owner":{"login":"clio","id":30769,"avatar_url":"https://avatars.githubusercontent.com/u/30769?v=3","gravatar_id":"","url":"https://api.github.com/users/clio","html_url":"https://github.com/clio","followers_url":"https://api.github.com/users/clio/followers","following_url":"https://api.github.com/users/clio/following{/other_user}","gists_url":"https://api.github.com/users/clio/gists{/gist_id}","starred_url":"https://api.github.com/users/clio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clio/subscriptions","organizations_url":"https://api.github.com/users/clio/orgs","repos_url":"https://api.github.com/users/clio/repos","events_url":"https://api.github.com/users/clio/events{/privacy}","received_events_url":"https://api.github.com/users/clio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/clio/lib-themisui","description":"","fork":false,"url":"https://api.github.com/repos/clio/lib-themisui","forks_url":"https://api.github.com/repos/clio/lib-themisui/forks","keys_url":"https://api.github.com/repos/clio/lib-themisui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/clio/lib-themisui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/clio/lib-themisui/teams","hooks_url":"https://api.github.com/repos/clio/lib-themisui/hooks","issue_events_url":"https://api.github.com/repos/clio/lib-themisui/issues/events{/number}","events_url":"https://api.github.com/repos/clio/lib-themisui/events","assignees_url":"https://api.github.com/repos/clio/lib-themisui/assignees{/user}","branches_url":"https://api.github.com/repos/clio/lib-themisui/branches{/branch}","tags_url":"https://api.github.com/repos/clio/lib-themisui/tags","blobs_url":"https://api.github.com/repos/clio/lib-themisui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/clio/lib-themisui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/clio/lib-themisui/git/refs{/sha}","trees_url":"https://api.github.com/repos/clio/lib-themisui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/clio/lib-themisui/statuses/{sha}","languages_url":"https://api.github.com/repos/clio/lib-themisui/languages","stargazers_url":"https://api.github.com/repos/clio/lib-themisui/stargazers","contributors_url":"https://api.github.com/repos/clio/lib-themisui/contributors","subscribers_url":"https://api.github.com/repos/clio/lib-themisui/subscribers","subscription_url":"https://api.github.com/repos/clio/lib-themisui/subscription","commits_url":"https://api.github.com/repos/clio/lib-themisui/commits{/sha}","git_commits_url":"https://api.github.com/repos/clio/lib-themisui/git/commits{/sha}","comments_url":"https://api.github.com/repos/clio/lib-themisui/comments{/number}","issue_comment_url":"https://api.github.com/repos/clio/lib-themisui/issues/comments{/number}","contents_url":"https://api.github.com/repos/clio/lib-themisui/contents/{+path}","compare_url":"https://api.github.com/repos/clio/lib-themisui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/clio/lib-themisui/merges","archive_url":"https://api.github.com/repos/clio/lib-themisui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/clio/lib-themisui/downloads","issues_url":"https://api.github.com/repos/clio/lib-themisui/issues{/number}","pulls_url":"https://api.github.com/repos/clio/lib-themisui/pulls{/number}","milestones_url":"https://api.github.com/repos/clio/lib-themisui/milestones{/number}","notifications_url":"https://api.github.com/repos/clio/lib-themisui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/clio/lib-themisui/labels{/name}","releases_url":"https://api.github.com/repos/clio/lib-themisui/releases{/id}","created_at":"2015-03-11T17:32:40Z","updated_at":"2015-11-07T06:33:20Z","pushed_at":"2015-12-15T17:37:28Z","git_url":"git://github.com/clio/lib-themisui.git","ssh_url":"git@github.com:clio/lib-themisui.git","clone_url":"https://github.com/clio/lib-themisui.git","svn_url":"https://github.com/clio/lib-themisui","homepage":null,"size":753,"stargazers_count":1,"watchers_count":1,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":6,"forks":8,"open_issues":6,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/clio/lib-themisui/pulls/54"},"html":{"href":"https://github.com/clio/lib-themisui/pull/54"},"issue":{"href":"https://api.github.com/repos/clio/lib-themisui/issues/54"},"comments":{"href":"https://api.github.com/repos/clio/lib-themisui/issues/54/comments"},"review_comments":{"href":"https://api.github.com/repos/clio/lib-themisui/pulls/54/comments"},"review_comment":{"href":"https://api.github.com/repos/clio/lib-themisui/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/clio/lib-themisui/pulls/54/commits"},"statuses":{"href":"https://api.github.com/repos/clio/lib-themisui/statuses/61c6f79cadb24365f851f1f88e022847031b7c48"}}}}