{"action":"created","comment":{"url":"https://api.github.com/repos/thehyve/heim-SmartR/pulls/comments/54090918","id":54090918,"diff_hunk":"@@ -15,10 +15,10 @@ window.smartRApp.directive('downloadResultsButton', ['rServeService', function(r\n     return {\n         restrict: 'E',\n         scope: {\n-\n+            disabled: '='\n         },\n         template:\n-            '<input type=\"button\" value=\"Download\" class=\"heim-action-button\">' +\n+            '<input type=\"button\" value=\"Download\" class=\"heim-action-button\" ng-disabled=\"disabled\">' +\n             '<span style=\"padding-left: 10px;\"></span>',\n         link: function(scope, element) {\n ","path":"web-app/js/smartR/_angular/directives/downloadResultsButton.js","position":12,"original_position":12,"commit_id":"8f465b980514bb39d374096009d246ec0aad977d","original_commit_id":"8f465b980514bb39d374096009d246ec0aad977d","user":{"login":"sherzinger","id":11333940,"avatar_url":"https://avatars.githubusercontent.com/u/11333940?v=3","gravatar_id":"","url":"https://api.github.com/users/sherzinger","html_url":"https://github.com/sherzinger","followers_url":"https://api.github.com/users/sherzinger/followers","following_url":"https://api.github.com/users/sherzinger/following{/other_user}","gists_url":"https://api.github.com/users/sherzinger/gists{/gist_id}","starred_url":"https://api.github.com/users/sherzinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sherzinger/subscriptions","organizations_url":"https://api.github.com/users/sherzinger/orgs","repos_url":"https://api.github.com/users/sherzinger/repos","events_url":"https://api.github.com/users/sherzinger/events{/privacy}","received_events_url":"https://api.github.com/users/sherzinger/received_events","type":"User","site_admin":false},"body":"Suggested solution:\r\n\r\nif (! $.isEmptyObject(scope.data)) { template_btn.disabled = false; }","created_at":"2016-02-25T13:02:26Z","updated_at":"2016-02-25T13:02:26Z","html_url":"https://github.com/thehyve/heim-SmartR/pull/170#discussion_r54090918","pull_request_url":"https://api.github.com/repos/thehyve/heim-SmartR/pulls/170","_links":{"self":{"href":"https://api.github.com/repos/thehyve/heim-SmartR/pulls/comments/54090918"},"html":{"href":"https://github.com/thehyve/heim-SmartR/pull/170#discussion_r54090918"},"pull_request":{"href":"https://api.github.com/repos/thehyve/heim-SmartR/pulls/170"}}},"pull_request":{"url":"https://api.github.com/repos/thehyve/heim-SmartR/pulls/170","id":60672607,"html_url":"https://github.com/thehyve/heim-SmartR/pull/170","diff_url":"https://github.com/thehyve/heim-SmartR/pull/170.diff","patch_url":"https://github.com/thehyve/heim-SmartR/pull/170.patch","issue_url":"https://api.github.com/repos/thehyve/heim-SmartR/issues/170","number":170,"state":"open","locked":false,"title":"Angular heatmap port","user":{"login":"rnugraha","id":2835281,"avatar_url":"https://avatars.githubusercontent.com/u/2835281?v=3","gravatar_id":"","url":"https://api.github.com/users/rnugraha","html_url":"https://github.com/rnugraha","followers_url":"https://api.github.com/users/rnugraha/followers","following_url":"https://api.github.com/users/rnugraha/following{/other_user}","gists_url":"https://api.github.com/users/rnugraha/gists{/gist_id}","starred_url":"https://api.github.com/users/rnugraha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rnugraha/subscriptions","organizations_url":"https://api.github.com/users/rnugraha/orgs","repos_url":"https://api.github.com/users/rnugraha/repos","events_url":"https://api.github.com/users/rnugraha/events{/privacy}","received_events_url":"https://api.github.com/users/rnugraha/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-02-25T12:43:08Z","updated_at":"2016-02-25T13:02:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6b922b3f6652d697cc273f943025ce3c9ce45d7e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/thehyve/heim-SmartR/pulls/170/commits","review_comments_url":"https://api.github.com/repos/thehyve/heim-SmartR/pulls/170/comments","review_comment_url":"https://api.github.com/repos/thehyve/heim-SmartR/pulls/comments{/number}","comments_url":"https://api.github.com/repos/thehyve/heim-SmartR/issues/170/comments","statuses_url":"https://api.github.com/repos/thehyve/heim-SmartR/statuses/8f465b980514bb39d374096009d246ec0aad977d","head":{"label":"thehyve:angular-heatmap-port","ref":"angular-heatmap-port","sha":"8f465b980514bb39d374096009d246ec0aad977d","user":{"login":"thehyve","id":1502440,"avatar_url":"https://avatars.githubusercontent.com/u/1502440?v=3","gravatar_id":"","url":"https://api.github.com/users/thehyve","html_url":"https://github.com/thehyve","followers_url":"https://api.github.com/users/thehyve/followers","following_url":"https://api.github.com/users/thehyve/following{/other_user}","gists_url":"https://api.github.com/users/thehyve/gists{/gist_id}","starred_url":"https://api.github.com/users/thehyve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thehyve/subscriptions","organizations_url":"https://api.github.com/users/thehyve/orgs","repos_url":"https://api.github.com/users/thehyve/repos","events_url":"https://api.github.com/users/thehyve/events{/privacy}","received_events_url":"https://api.github.com/users/thehyve/received_events","type":"Organization","site_admin":false},"repo":{"id":43434009,"name":"heim-SmartR","full_name":"thehyve/heim-SmartR","owner":{"login":"thehyve","id":1502440,"avatar_url":"https://avatars.githubusercontent.com/u/1502440?v=3","gravatar_id":"","url":"https://api.github.com/users/thehyve","html_url":"https://github.com/thehyve","followers_url":"https://api.github.com/users/thehyve/followers","following_url":"https://api.github.com/users/thehyve/following{/other_user}","gists_url":"https://api.github.com/users/thehyve/gists{/gist_id}","starred_url":"https://api.github.com/users/thehyve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thehyve/subscriptions","organizations_url":"https://api.github.com/users/thehyve/orgs","repos_url":"https://api.github.com/users/thehyve/repos","events_url":"https://api.github.com/users/thehyve/events{/privacy}","received_events_url":"https://api.github.com/users/thehyve/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/thehyve/heim-SmartR","description":"heim","fork":false,"url":"https://api.github.com/repos/thehyve/heim-SmartR","forks_url":"https://api.github.com/repos/thehyve/heim-SmartR/forks","keys_url":"https://api.github.com/repos/thehyve/heim-SmartR/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thehyve/heim-SmartR/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thehyve/heim-SmartR/teams","hooks_url":"https://api.github.com/repos/thehyve/heim-SmartR/hooks","issue_events_url":"https://api.github.com/repos/thehyve/heim-SmartR/issues/events{/number}","events_url":"https://api.github.com/repos/thehyve/heim-SmartR/events","assignees_url":"https://api.github.com/repos/thehyve/heim-SmartR/assignees{/user}","branches_url":"https://api.github.com/repos/thehyve/heim-SmartR/branches{/branch}","tags_url":"https://api.github.com/repos/thehyve/heim-SmartR/tags","blobs_url":"https://api.github.com/repos/thehyve/heim-SmartR/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thehyve/heim-SmartR/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thehyve/heim-SmartR/git/refs{/sha}","trees_url":"https://api.github.com/repos/thehyve/heim-SmartR/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thehyve/heim-SmartR/statuses/{sha}","languages_url":"https://api.github.com/repos/thehyve/heim-SmartR/languages","stargazers_url":"https://api.github.com/repos/thehyve/heim-SmartR/stargazers","contributors_url":"https://api.github.com/repos/thehyve/heim-SmartR/contributors","subscribers_url":"https://api.github.com/repos/thehyve/heim-SmartR/subscribers","subscription_url":"https://api.github.com/repos/thehyve/heim-SmartR/subscription","commits_url":"https://api.github.com/repos/thehyve/heim-SmartR/commits{/sha}","git_commits_url":"https://api.github.com/repos/thehyve/heim-SmartR/git/commits{/sha}","comments_url":"https://api.github.com/repos/thehyve/heim-SmartR/comments{/number}","issue_comment_url":"https://api.github.com/repos/thehyve/heim-SmartR/issues/comments{/number}","contents_url":"https://api.github.com/repos/thehyve/heim-SmartR/contents/{+path}","compare_url":"https://api.github.com/repos/thehyve/heim-SmartR/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thehyve/heim-SmartR/merges","archive_url":"https://api.github.com/repos/thehyve/heim-SmartR/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thehyve/heim-SmartR/downloads","issues_url":"https://api.github.com/repos/thehyve/heim-SmartR/issues{/number}","pulls_url":"https://api.github.com/repos/thehyve/heim-SmartR/pulls{/number}","milestones_url":"https://api.github.com/repos/thehyve/heim-SmartR/milestones{/number}","notifications_url":"https://api.github.com/repos/thehyve/heim-SmartR/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thehyve/heim-SmartR/labels{/name}","releases_url":"https://api.github.com/repos/thehyve/heim-SmartR/releases{/id}","deployments_url":"https://api.github.com/repos/thehyve/heim-SmartR/deployments","created_at":"2015-09-30T13:19:44Z","updated_at":"2016-02-20T07:00:58Z","pushed_at":"2016-02-25T12:48:28Z","git_url":"git://github.com/thehyve/heim-SmartR.git","ssh_url":"git@github.com:thehyve/heim-SmartR.git","clone_url":"https://github.com/thehyve/heim-SmartR.git","svn_url":"https://github.com/thehyve/heim-SmartR","homepage":"","size":2460,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":2,"default_branch":"dev"}},"base":{"label":"thehyve:AngularPort-Merge","ref":"AngularPort-Merge","sha":"d17b643cb93ea91f3c233188fe0abeb937f5b78e","user":{"login":"thehyve","id":1502440,"avatar_url":"https://avatars.githubusercontent.com/u/1502440?v=3","gravatar_id":"","url":"https://api.github.com/users/thehyve","html_url":"https://github.com/thehyve","followers_url":"https://api.github.com/users/thehyve/followers","following_url":"https://api.github.com/users/thehyve/following{/other_user}","gists_url":"https://api.github.com/users/thehyve/gists{/gist_id}","starred_url":"https://api.github.com/users/thehyve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thehyve/subscriptions","organizations_url":"https://api.github.com/users/thehyve/orgs","repos_url":"https://api.github.com/users/thehyve/repos","events_url":"https://api.github.com/users/thehyve/events{/privacy}","received_events_url":"https://api.github.com/users/thehyve/received_events","type":"Organization","site_admin":false},"repo":{"id":43434009,"name":"heim-SmartR","full_name":"thehyve/heim-SmartR","owner":{"login":"thehyve","id":1502440,"avatar_url":"https://avatars.githubusercontent.com/u/1502440?v=3","gravatar_id":"","url":"https://api.github.com/users/thehyve","html_url":"https://github.com/thehyve","followers_url":"https://api.github.com/users/thehyve/followers","following_url":"https://api.github.com/users/thehyve/following{/other_user}","gists_url":"https://api.github.com/users/thehyve/gists{/gist_id}","starred_url":"https://api.github.com/users/thehyve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thehyve/subscriptions","organizations_url":"https://api.github.com/users/thehyve/orgs","repos_url":"https://api.github.com/users/thehyve/repos","events_url":"https://api.github.com/users/thehyve/events{/privacy}","received_events_url":"https://api.github.com/users/thehyve/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/thehyve/heim-SmartR","description":"heim","fork":false,"url":"https://api.github.com/repos/thehyve/heim-SmartR","forks_url":"https://api.github.com/repos/thehyve/heim-SmartR/forks","keys_url":"https://api.github.com/repos/thehyve/heim-SmartR/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thehyve/heim-SmartR/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thehyve/heim-SmartR/teams","hooks_url":"https://api.github.com/repos/thehyve/heim-SmartR/hooks","issue_events_url":"https://api.github.com/repos/thehyve/heim-SmartR/issues/events{/number}","events_url":"https://api.github.com/repos/thehyve/heim-SmartR/events","assignees_url":"https://api.github.com/repos/thehyve/heim-SmartR/assignees{/user}","branches_url":"https://api.github.com/repos/thehyve/heim-SmartR/branches{/branch}","tags_url":"https://api.github.com/repos/thehyve/heim-SmartR/tags","blobs_url":"https://api.github.com/repos/thehyve/heim-SmartR/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thehyve/heim-SmartR/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thehyve/heim-SmartR/git/refs{/sha}","trees_url":"https://api.github.com/repos/thehyve/heim-SmartR/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thehyve/heim-SmartR/statuses/{sha}","languages_url":"https://api.github.com/repos/thehyve/heim-SmartR/languages","stargazers_url":"https://api.github.com/repos/thehyve/heim-SmartR/stargazers","contributors_url":"https://api.github.com/repos/thehyve/heim-SmartR/contributors","subscribers_url":"https://api.github.com/repos/thehyve/heim-SmartR/subscribers","subscription_url":"https://api.github.com/repos/thehyve/heim-SmartR/subscription","commits_url":"https://api.github.com/repos/thehyve/heim-SmartR/commits{/sha}","git_commits_url":"https://api.github.com/repos/thehyve/heim-SmartR/git/commits{/sha}","comments_url":"https://api.github.com/repos/thehyve/heim-SmartR/comments{/number}","issue_comment_url":"https://api.github.com/repos/thehyve/heim-SmartR/issues/comments{/number}","contents_url":"https://api.github.com/repos/thehyve/heim-SmartR/contents/{+path}","compare_url":"https://api.github.com/repos/thehyve/heim-SmartR/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thehyve/heim-SmartR/merges","archive_url":"https://api.github.com/repos/thehyve/heim-SmartR/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thehyve/heim-SmartR/downloads","issues_url":"https://api.github.com/repos/thehyve/heim-SmartR/issues{/number}","pulls_url":"https://api.github.com/repos/thehyve/heim-SmartR/pulls{/number}","milestones_url":"https://api.github.com/repos/thehyve/heim-SmartR/milestones{/number}","notifications_url":"https://api.github.com/repos/thehyve/heim-SmartR/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thehyve/heim-SmartR/labels{/name}","releases_url":"https://api.github.com/repos/thehyve/heim-SmartR/releases{/id}","deployments_url":"https://api.github.com/repos/thehyve/heim-SmartR/deployments","created_at":"2015-09-30T13:19:44Z","updated_at":"2016-02-20T07:00:58Z","pushed_at":"2016-02-25T12:48:28Z","git_url":"git://github.com/thehyve/heim-SmartR.git","ssh_url":"git@github.com:thehyve/heim-SmartR.git","clone_url":"https://github.com/thehyve/heim-SmartR.git","svn_url":"https://github.com/thehyve/heim-SmartR","homepage":"","size":2460,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":2,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/thehyve/heim-SmartR/pulls/170"},"html":{"href":"https://github.com/thehyve/heim-SmartR/pull/170"},"issue":{"href":"https://api.github.com/repos/thehyve/heim-SmartR/issues/170"},"comments":{"href":"https://api.github.com/repos/thehyve/heim-SmartR/issues/170/comments"},"review_comments":{"href":"https://api.github.com/repos/thehyve/heim-SmartR/pulls/170/comments"},"review_comment":{"href":"https://api.github.com/repos/thehyve/heim-SmartR/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/thehyve/heim-SmartR/pulls/170/commits"},"statuses":{"href":"https://api.github.com/repos/thehyve/heim-SmartR/statuses/8f465b980514bb39d374096009d246ec0aad977d"}}}}