{"action":"created","comment":{"url":"https://api.github.com/repos/owennw/OpenFinD3FC/pulls/comments/50140853","id":50140853,"diff_hunk":"@@ -0,0 +1,218 @@\n+(function(window) {\n+    'use strict';\n+\n+    angular.module('openfin.tearout', ['openfin.geometry', 'openfin.hover', 'openfin.store'])\n+        .directive('tearable', ['geometryService', 'hoverService', 'storeService', function(geometryService, hoverService, storeService) {\n+            return {\n+                restrict: 'C',\n+                link: function(scope, element, attrs) {\n+                    var tileWidth = 230,\n+                        tileHeight = 100;\n+","path":"src/sidebars/favourites/tearout.js","position":11,"original_position":11,"commit_id":"5c101930ef309b1e9dba7cded0ff7e7e6764859c","original_commit_id":"5c101930ef309b1e9dba7cded0ff7e7e6764859c","user":{"login":"owennw","id":14889759,"avatar_url":"https://avatars.githubusercontent.com/u/14889759?v=3","gravatar_id":"","url":"https://api.github.com/users/owennw","html_url":"https://github.com/owennw","followers_url":"https://api.github.com/users/owennw/followers","following_url":"https://api.github.com/users/owennw/following{/other_user}","gists_url":"https://api.github.com/users/owennw/gists{/gist_id}","starred_url":"https://api.github.com/users/owennw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/owennw/subscriptions","organizations_url":"https://api.github.com/users/owennw/orgs","repos_url":"https://api.github.com/users/owennw/repos","events_url":"https://api.github.com/users/owennw/events{/privacy}","received_events_url":"https://api.github.com/users/owennw/received_events","type":"User","site_admin":false},"body":"There might be a way to get this information from the element by traversing the DOM.. not sure though I'll have a look.","created_at":"2016-01-19T17:03:55Z","updated_at":"2016-01-19T17:03:55Z","html_url":"https://github.com/owennw/OpenFinD3FC/pull/259#discussion_r50140853","pull_request_url":"https://api.github.com/repos/owennw/OpenFinD3FC/pulls/259","_links":{"self":{"href":"https://api.github.com/repos/owennw/OpenFinD3FC/pulls/comments/50140853"},"html":{"href":"https://github.com/owennw/OpenFinD3FC/pull/259#discussion_r50140853"},"pull_request":{"href":"https://api.github.com/repos/owennw/OpenFinD3FC/pulls/259"}}},"pull_request":{"url":"https://api.github.com/repos/owennw/OpenFinD3FC/pulls/259","id":56484587,"html_url":"https://github.com/owennw/OpenFinD3FC/pull/259","diff_url":"https://github.com/owennw/OpenFinD3FC/pull/259.diff","patch_url":"https://github.com/owennw/OpenFinD3FC/pull/259.patch","issue_url":"https://api.github.com/repos/owennw/OpenFinD3FC/issues/259","number":259,"state":"open","locked":false,"title":"Reorder cards","user":{"login":"owennw","id":14889759,"avatar_url":"https://avatars.githubusercontent.com/u/14889759?v=3","gravatar_id":"","url":"https://api.github.com/users/owennw","html_url":"https://github.com/owennw","followers_url":"https://api.github.com/users/owennw/followers","following_url":"https://api.github.com/users/owennw/following{/other_user}","gists_url":"https://api.github.com/users/owennw/gists{/gist_id}","starred_url":"https://api.github.com/users/owennw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/owennw/subscriptions","organizations_url":"https://api.github.com/users/owennw/orgs","repos_url":"https://api.github.com/users/owennw/repos","events_url":"https://api.github.com/users/owennw/events{/privacy}","received_events_url":"https://api.github.com/users/owennw/received_events","type":"User","site_admin":false},"body":"Re-ordering the favourite cards using the OpenFin API and tearout functionality. Note: This is purely re-ordering -- no torn out window will persist.\r\n\r\nI'm not entirely sure how robust this is -- I think it'll need some exercise.\r\n\r\nAlso there is a fair amount of new code here -- I don't know into how much detail you'll want to go.","created_at":"2016-01-19T15:53:30Z","updated_at":"2016-01-19T17:03:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"40b3816c741359d5936d1033b1c449f10b900bef","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/owennw/OpenFinD3FC/pulls/259/commits","review_comments_url":"https://api.github.com/repos/owennw/OpenFinD3FC/pulls/259/comments","review_comment_url":"https://api.github.com/repos/owennw/OpenFinD3FC/pulls/comments{/number}","comments_url":"https://api.github.com/repos/owennw/OpenFinD3FC/issues/259/comments","statuses_url":"https://api.github.com/repos/owennw/OpenFinD3FC/statuses/5c101930ef309b1e9dba7cded0ff7e7e6764859c","head":{"label":"owennw:reorder-cards","ref":"reorder-cards","sha":"5c101930ef309b1e9dba7cded0ff7e7e6764859c","user":{"login":"owennw","id":14889759,"avatar_url":"https://avatars.githubusercontent.com/u/14889759?v=3","gravatar_id":"","url":"https://api.github.com/users/owennw","html_url":"https://github.com/owennw","followers_url":"https://api.github.com/users/owennw/followers","following_url":"https://api.github.com/users/owennw/following{/other_user}","gists_url":"https://api.github.com/users/owennw/gists{/gist_id}","starred_url":"https://api.github.com/users/owennw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/owennw/subscriptions","organizations_url":"https://api.github.com/users/owennw/orgs","repos_url":"https://api.github.com/users/owennw/repos","events_url":"https://api.github.com/users/owennw/events{/privacy}","received_events_url":"https://api.github.com/users/owennw/received_events","type":"User","site_admin":false},"repo":{"id":47250097,"name":"OpenFinD3FC","full_name":"owennw/OpenFinD3FC","owner":{"login":"owennw","id":14889759,"avatar_url":"https://avatars.githubusercontent.com/u/14889759?v=3","gravatar_id":"","url":"https://api.github.com/users/owennw","html_url":"https://github.com/owennw","followers_url":"https://api.github.com/users/owennw/followers","following_url":"https://api.github.com/users/owennw/following{/other_user}","gists_url":"https://api.github.com/users/owennw/gists{/gist_id}","starred_url":"https://api.github.com/users/owennw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/owennw/subscriptions","organizations_url":"https://api.github.com/users/owennw/orgs","repos_url":"https://api.github.com/users/owennw/repos","events_url":"https://api.github.com/users/owennw/events{/privacy}","received_events_url":"https://api.github.com/users/owennw/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/owennw/OpenFinD3FC","description":"","fork":false,"url":"https://api.github.com/repos/owennw/OpenFinD3FC","forks_url":"https://api.github.com/repos/owennw/OpenFinD3FC/forks","keys_url":"https://api.github.com/repos/owennw/OpenFinD3FC/keys{/key_id}","collaborators_url":"https://api.github.com/repos/owennw/OpenFinD3FC/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/owennw/OpenFinD3FC/teams","hooks_url":"https://api.github.com/repos/owennw/OpenFinD3FC/hooks","issue_events_url":"https://api.github.com/repos/owennw/OpenFinD3FC/issues/events{/number}","events_url":"https://api.github.com/repos/owennw/OpenFinD3FC/events","assignees_url":"https://api.github.com/repos/owennw/OpenFinD3FC/assignees{/user}","branches_url":"https://api.github.com/repos/owennw/OpenFinD3FC/branches{/branch}","tags_url":"https://api.github.com/repos/owennw/OpenFinD3FC/tags","blobs_url":"https://api.github.com/repos/owennw/OpenFinD3FC/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/owennw/OpenFinD3FC/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/owennw/OpenFinD3FC/git/refs{/sha}","trees_url":"https://api.github.com/repos/owennw/OpenFinD3FC/git/trees{/sha}","statuses_url":"https://api.github.com/repos/owennw/OpenFinD3FC/statuses/{sha}","languages_url":"https://api.github.com/repos/owennw/OpenFinD3FC/languages","stargazers_url":"https://api.github.com/repos/owennw/OpenFinD3FC/stargazers","contributors_url":"https://api.github.com/repos/owennw/OpenFinD3FC/contributors","subscribers_url":"https://api.github.com/repos/owennw/OpenFinD3FC/subscribers","subscription_url":"https://api.github.com/repos/owennw/OpenFinD3FC/subscription","commits_url":"https://api.github.com/repos/owennw/OpenFinD3FC/commits{/sha}","git_commits_url":"https://api.github.com/repos/owennw/OpenFinD3FC/git/commits{/sha}","comments_url":"https://api.github.com/repos/owennw/OpenFinD3FC/comments{/number}","issue_comment_url":"https://api.github.com/repos/owennw/OpenFinD3FC/issues/comments{/number}","contents_url":"https://api.github.com/repos/owennw/OpenFinD3FC/contents/{+path}","compare_url":"https://api.github.com/repos/owennw/OpenFinD3FC/compare/{base}...{head}","merges_url":"https://api.github.com/repos/owennw/OpenFinD3FC/merges","archive_url":"https://api.github.com/repos/owennw/OpenFinD3FC/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/owennw/OpenFinD3FC/downloads","issues_url":"https://api.github.com/repos/owennw/OpenFinD3FC/issues{/number}","pulls_url":"https://api.github.com/repos/owennw/OpenFinD3FC/pulls{/number}","milestones_url":"https://api.github.com/repos/owennw/OpenFinD3FC/milestones{/number}","notifications_url":"https://api.github.com/repos/owennw/OpenFinD3FC/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/owennw/OpenFinD3FC/labels{/name}","releases_url":"https://api.github.com/repos/owennw/OpenFinD3FC/releases{/id}","created_at":"2015-12-02T09:18:18Z","updated_at":"2016-01-11T12:21:59Z","pushed_at":"2016-01-19T15:53:30Z","git_url":"git://github.com/owennw/OpenFinD3FC.git","ssh_url":"git@github.com:owennw/OpenFinD3FC.git","clone_url":"https://github.com/owennw/OpenFinD3FC.git","svn_url":"https://github.com/owennw/OpenFinD3FC","homepage":null,"size":1892,"stargazers_count":6,"watchers_count":6,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":3,"mirror_url":null,"open_issues_count":22,"forks":3,"open_issues":22,"watchers":6,"default_branch":"master"}},"base":{"label":"owennw:dev","ref":"dev","sha":"5734d1ee6cae8d8b4068b707388fe71c29ddb49d","user":{"login":"owennw","id":14889759,"avatar_url":"https://avatars.githubusercontent.com/u/14889759?v=3","gravatar_id":"","url":"https://api.github.com/users/owennw","html_url":"https://github.com/owennw","followers_url":"https://api.github.com/users/owennw/followers","following_url":"https://api.github.com/users/owennw/following{/other_user}","gists_url":"https://api.github.com/users/owennw/gists{/gist_id}","starred_url":"https://api.github.com/users/owennw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/owennw/subscriptions","organizations_url":"https://api.github.com/users/owennw/orgs","repos_url":"https://api.github.com/users/owennw/repos","events_url":"https://api.github.com/users/owennw/events{/privacy}","received_events_url":"https://api.github.com/users/owennw/received_events","type":"User","site_admin":false},"repo":{"id":47250097,"name":"OpenFinD3FC","full_name":"owennw/OpenFinD3FC","owner":{"login":"owennw","id":14889759,"avatar_url":"https://avatars.githubusercontent.com/u/14889759?v=3","gravatar_id":"","url":"https://api.github.com/users/owennw","html_url":"https://github.com/owennw","followers_url":"https://api.github.com/users/owennw/followers","following_url":"https://api.github.com/users/owennw/following{/other_user}","gists_url":"https://api.github.com/users/owennw/gists{/gist_id}","starred_url":"https://api.github.com/users/owennw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/owennw/subscriptions","organizations_url":"https://api.github.com/users/owennw/orgs","repos_url":"https://api.github.com/users/owennw/repos","events_url":"https://api.github.com/users/owennw/events{/privacy}","received_events_url":"https://api.github.com/users/owennw/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/owennw/OpenFinD3FC","description":"","fork":false,"url":"https://api.github.com/repos/owennw/OpenFinD3FC","forks_url":"https://api.github.com/repos/owennw/OpenFinD3FC/forks","keys_url":"https://api.github.com/repos/owennw/OpenFinD3FC/keys{/key_id}","collaborators_url":"https://api.github.com/repos/owennw/OpenFinD3FC/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/owennw/OpenFinD3FC/teams","hooks_url":"https://api.github.com/repos/owennw/OpenFinD3FC/hooks","issue_events_url":"https://api.github.com/repos/owennw/OpenFinD3FC/issues/events{/number}","events_url":"https://api.github.com/repos/owennw/OpenFinD3FC/events","assignees_url":"https://api.github.com/repos/owennw/OpenFinD3FC/assignees{/user}","branches_url":"https://api.github.com/repos/owennw/OpenFinD3FC/branches{/branch}","tags_url":"https://api.github.com/repos/owennw/OpenFinD3FC/tags","blobs_url":"https://api.github.com/repos/owennw/OpenFinD3FC/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/owennw/OpenFinD3FC/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/owennw/OpenFinD3FC/git/refs{/sha}","trees_url":"https://api.github.com/repos/owennw/OpenFinD3FC/git/trees{/sha}","statuses_url":"https://api.github.com/repos/owennw/OpenFinD3FC/statuses/{sha}","languages_url":"https://api.github.com/repos/owennw/OpenFinD3FC/languages","stargazers_url":"https://api.github.com/repos/owennw/OpenFinD3FC/stargazers","contributors_url":"https://api.github.com/repos/owennw/OpenFinD3FC/contributors","subscribers_url":"https://api.github.com/repos/owennw/OpenFinD3FC/subscribers","subscription_url":"https://api.github.com/repos/owennw/OpenFinD3FC/subscription","commits_url":"https://api.github.com/repos/owennw/OpenFinD3FC/commits{/sha}","git_commits_url":"https://api.github.com/repos/owennw/OpenFinD3FC/git/commits{/sha}","comments_url":"https://api.github.com/repos/owennw/OpenFinD3FC/comments{/number}","issue_comment_url":"https://api.github.com/repos/owennw/OpenFinD3FC/issues/comments{/number}","contents_url":"https://api.github.com/repos/owennw/OpenFinD3FC/contents/{+path}","compare_url":"https://api.github.com/repos/owennw/OpenFinD3FC/compare/{base}...{head}","merges_url":"https://api.github.com/repos/owennw/OpenFinD3FC/merges","archive_url":"https://api.github.com/repos/owennw/OpenFinD3FC/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/owennw/OpenFinD3FC/downloads","issues_url":"https://api.github.com/repos/owennw/OpenFinD3FC/issues{/number}","pulls_url":"https://api.github.com/repos/owennw/OpenFinD3FC/pulls{/number}","milestones_url":"https://api.github.com/repos/owennw/OpenFinD3FC/milestones{/number}","notifications_url":"https://api.github.com/repos/owennw/OpenFinD3FC/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/owennw/OpenFinD3FC/labels{/name}","releases_url":"https://api.github.com/repos/owennw/OpenFinD3FC/releases{/id}","created_at":"2015-12-02T09:18:18Z","updated_at":"2016-01-11T12:21:59Z","pushed_at":"2016-01-19T15:53:30Z","git_url":"git://github.com/owennw/OpenFinD3FC.git","ssh_url":"git@github.com:owennw/OpenFinD3FC.git","clone_url":"https://github.com/owennw/OpenFinD3FC.git","svn_url":"https://github.com/owennw/OpenFinD3FC","homepage":null,"size":1892,"stargazers_count":6,"watchers_count":6,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":3,"mirror_url":null,"open_issues_count":22,"forks":3,"open_issues":22,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/owennw/OpenFinD3FC/pulls/259"},"html":{"href":"https://github.com/owennw/OpenFinD3FC/pull/259"},"issue":{"href":"https://api.github.com/repos/owennw/OpenFinD3FC/issues/259"},"comments":{"href":"https://api.github.com/repos/owennw/OpenFinD3FC/issues/259/comments"},"review_comments":{"href":"https://api.github.com/repos/owennw/OpenFinD3FC/pulls/259/comments"},"review_comment":{"href":"https://api.github.com/repos/owennw/OpenFinD3FC/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/owennw/OpenFinD3FC/pulls/259/commits"},"statuses":{"href":"https://api.github.com/repos/owennw/OpenFinD3FC/statuses/5c101930ef309b1e9dba7cded0ff7e7e6764859c"}}}}