{"action":"created","comment":{"url":"https://api.github.com/repos/noeladd/ResourceDot/pulls/comments/82891150","pull_request_review_id":3766769,"id":82891150,"diff_hunk":"@@ -0,0 +1,50 @@\n+app.directive('addToGuide', function($mdDialog, $mdToast, GuideFactory, $log){\n+\treturn {\n+\t\t\trestrict: 'E',\n+\t\t\ttemplateUrl: 'js/common/directives/add-to-guide/add-to-guide.html',\n+\t\t\tscope: true,\n+\t\t\tlink: function(scope) {\n+\t\t\t\tscope.guide = {tags: []}\n+\n+\t\t\t\tscope.newGuide = false;\n+\t\t\t\tscope.openToast = function(){\n+\t\t\t\t\t$mdToast.show($mdToast.simple()\n+\t\t\t\t\t\t\t\t\t\t\t\t.textContent('Resource added to Guide!'));\n+\t\t\t\t}\n+\n+\t\t\t\tscope.showAdvanced = function(){\n+\t\t\t\t\t$mdDialog.show({\n+\t\t\t\t\t\tcontentElement: '#addToGuide',\n+\t\t\t\t\t\tclickOutsideToClose: true,\n+\t\t\t\t\t\tescapeToClose: true,\n+\t\t\t\t\t});\n+\t\t\t\t}\n+\n+\n+\t\t\t\tscope.clearForm = function(){\n+\t\t\t\t\tscope.guideForm.$setPristine();\n+\t\t\t\t\tscope.guideForm.$setUntouched();\n+\t\t\t\t\tscope.guide = {tags: []}\n+\t\t\t\t}\n+\n+\t\t\t\tscope.submitForm = function(){\n+\t\t\t\t\tif (scope.guide.id){\n+\t\t\t\t\t\treturn GuideFactory.addResource(scope.guide.id, scope.resource)\n+\t\t\t\t\t}\n+\t\t\t\t\telse if (scope.guide.title){\n+\t\t\t\t\t\tconsole.log(\"Guide: Tags? \", scope.guide.tags);","path":"browser/js/common/directives/add-to-guide/add-to-guide.js","position":35,"original_position":35,"commit_id":"fa68beecbf1ca3a3818b338bf0356693da4f88c3","original_commit_id":"fa68beecbf1ca3a3818b338bf0356693da4f88c3","user":{"login":"masungwon","id":17363774,"avatar_url":"https://avatars.githubusercontent.com/u/17363774?v=3","gravatar_id":"","url":"https://api.github.com/users/masungwon","html_url":"https://github.com/masungwon","followers_url":"https://api.github.com/users/masungwon/followers","following_url":"https://api.github.com/users/masungwon/following{/other_user}","gists_url":"https://api.github.com/users/masungwon/gists{/gist_id}","starred_url":"https://api.github.com/users/masungwon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/masungwon/subscriptions","organizations_url":"https://api.github.com/users/masungwon/orgs","repos_url":"https://api.github.com/users/masungwon/repos","events_url":"https://api.github.com/users/masungwon/events{/privacy}","received_events_url":"https://api.github.com/users/masungwon/received_events","type":"User","site_admin":false},"body":"remove console log","created_at":"2016-10-11T21:17:39Z","updated_at":"2016-10-11T21:17:39Z","html_url":"https://github.com/noeladd/ResourceDot/pull/40#discussion_r82891150","pull_request_url":"https://api.github.com/repos/noeladd/ResourceDot/pulls/40","_links":{"self":{"href":"https://api.github.com/repos/noeladd/ResourceDot/pulls/comments/82891150"},"html":{"href":"https://github.com/noeladd/ResourceDot/pull/40#discussion_r82891150"},"pull_request":{"href":"https://api.github.com/repos/noeladd/ResourceDot/pulls/40"}}},"pull_request":{"url":"https://api.github.com/repos/noeladd/ResourceDot/pulls/40","id":88910571,"html_url":"https://github.com/noeladd/ResourceDot/pull/40","diff_url":"https://github.com/noeladd/ResourceDot/pull/40.diff","patch_url":"https://github.com/noeladd/ResourceDot/pull/40.patch","issue_url":"https://api.github.com/repos/noeladd/ResourceDot/issues/40","number":40,"state":"open","locked":false,"title":"Add to guide","user":{"login":"noeladd","id":8063846,"avatar_url":"https://avatars.githubusercontent.com/u/8063846?v=3","gravatar_id":"","url":"https://api.github.com/users/noeladd","html_url":"https://github.com/noeladd","followers_url":"https://api.github.com/users/noeladd/followers","following_url":"https://api.github.com/users/noeladd/following{/other_user}","gists_url":"https://api.github.com/users/noeladd/gists{/gist_id}","starred_url":"https://api.github.com/users/noeladd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noeladd/subscriptions","organizations_url":"https://api.github.com/users/noeladd/orgs","repos_url":"https://api.github.com/users/noeladd/repos","events_url":"https://api.github.com/users/noeladd/events{/privacy}","received_events_url":"https://api.github.com/users/noeladd/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-10-11T21:01:48Z","updated_at":"2016-10-11T21:17:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7959c0486374d40c123308b5d3dbc146f8e3464b","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/noeladd/ResourceDot/pulls/40/commits","review_comments_url":"https://api.github.com/repos/noeladd/ResourceDot/pulls/40/comments","review_comment_url":"https://api.github.com/repos/noeladd/ResourceDot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/noeladd/ResourceDot/issues/40/comments","statuses_url":"https://api.github.com/repos/noeladd/ResourceDot/statuses/fa68beecbf1ca3a3818b338bf0356693da4f88c3","head":{"label":"noeladd:add_to_guide","ref":"add_to_guide","sha":"fa68beecbf1ca3a3818b338bf0356693da4f88c3","user":{"login":"noeladd","id":8063846,"avatar_url":"https://avatars.githubusercontent.com/u/8063846?v=3","gravatar_id":"","url":"https://api.github.com/users/noeladd","html_url":"https://github.com/noeladd","followers_url":"https://api.github.com/users/noeladd/followers","following_url":"https://api.github.com/users/noeladd/following{/other_user}","gists_url":"https://api.github.com/users/noeladd/gists{/gist_id}","starred_url":"https://api.github.com/users/noeladd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noeladd/subscriptions","organizations_url":"https://api.github.com/users/noeladd/orgs","repos_url":"https://api.github.com/users/noeladd/repos","events_url":"https://api.github.com/users/noeladd/events{/privacy}","received_events_url":"https://api.github.com/users/noeladd/received_events","type":"User","site_admin":false},"repo":{"id":69490231,"name":"ResourceDot","full_name":"noeladd/ResourceDot","owner":{"login":"noeladd","id":8063846,"avatar_url":"https://avatars.githubusercontent.com/u/8063846?v=3","gravatar_id":"","url":"https://api.github.com/users/noeladd","html_url":"https://github.com/noeladd","followers_url":"https://api.github.com/users/noeladd/followers","following_url":"https://api.github.com/users/noeladd/following{/other_user}","gists_url":"https://api.github.com/users/noeladd/gists{/gist_id}","starred_url":"https://api.github.com/users/noeladd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noeladd/subscriptions","organizations_url":"https://api.github.com/users/noeladd/orgs","repos_url":"https://api.github.com/users/noeladd/repos","events_url":"https://api.github.com/users/noeladd/events{/privacy}","received_events_url":"https://api.github.com/users/noeladd/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/noeladd/ResourceDot","description":null,"fork":false,"url":"https://api.github.com/repos/noeladd/ResourceDot","forks_url":"https://api.github.com/repos/noeladd/ResourceDot/forks","keys_url":"https://api.github.com/repos/noeladd/ResourceDot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/noeladd/ResourceDot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/noeladd/ResourceDot/teams","hooks_url":"https://api.github.com/repos/noeladd/ResourceDot/hooks","issue_events_url":"https://api.github.com/repos/noeladd/ResourceDot/issues/events{/number}","events_url":"https://api.github.com/repos/noeladd/ResourceDot/events","assignees_url":"https://api.github.com/repos/noeladd/ResourceDot/assignees{/user}","branches_url":"https://api.github.com/repos/noeladd/ResourceDot/branches{/branch}","tags_url":"https://api.github.com/repos/noeladd/ResourceDot/tags","blobs_url":"https://api.github.com/repos/noeladd/ResourceDot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/noeladd/ResourceDot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/noeladd/ResourceDot/git/refs{/sha}","trees_url":"https://api.github.com/repos/noeladd/ResourceDot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/noeladd/ResourceDot/statuses/{sha}","languages_url":"https://api.github.com/repos/noeladd/ResourceDot/languages","stargazers_url":"https://api.github.com/repos/noeladd/ResourceDot/stargazers","contributors_url":"https://api.github.com/repos/noeladd/ResourceDot/contributors","subscribers_url":"https://api.github.com/repos/noeladd/ResourceDot/subscribers","subscription_url":"https://api.github.com/repos/noeladd/ResourceDot/subscription","commits_url":"https://api.github.com/repos/noeladd/ResourceDot/commits{/sha}","git_commits_url":"https://api.github.com/repos/noeladd/ResourceDot/git/commits{/sha}","comments_url":"https://api.github.com/repos/noeladd/ResourceDot/comments{/number}","issue_comment_url":"https://api.github.com/repos/noeladd/ResourceDot/issues/comments{/number}","contents_url":"https://api.github.com/repos/noeladd/ResourceDot/contents/{+path}","compare_url":"https://api.github.com/repos/noeladd/ResourceDot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/noeladd/ResourceDot/merges","archive_url":"https://api.github.com/repos/noeladd/ResourceDot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/noeladd/ResourceDot/downloads","issues_url":"https://api.github.com/repos/noeladd/ResourceDot/issues{/number}","pulls_url":"https://api.github.com/repos/noeladd/ResourceDot/pulls{/number}","milestones_url":"https://api.github.com/repos/noeladd/ResourceDot/milestones{/number}","notifications_url":"https://api.github.com/repos/noeladd/ResourceDot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/noeladd/ResourceDot/labels{/name}","releases_url":"https://api.github.com/repos/noeladd/ResourceDot/releases{/id}","deployments_url":"https://api.github.com/repos/noeladd/ResourceDot/deployments","created_at":"2016-09-28T18:06:36Z","updated_at":"2016-09-28T18:07:30Z","pushed_at":"2016-10-11T21:07:13Z","git_url":"git://github.com/noeladd/ResourceDot.git","ssh_url":"git@github.com:noeladd/ResourceDot.git","clone_url":"https://github.com/noeladd/ResourceDot.git","svn_url":"https://github.com/noeladd/ResourceDot","homepage":null,"size":872,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"noeladd:develop","ref":"develop","sha":"8c5252af014c7dfa3868b7f312dd8f9d8263033f","user":{"login":"noeladd","id":8063846,"avatar_url":"https://avatars.githubusercontent.com/u/8063846?v=3","gravatar_id":"","url":"https://api.github.com/users/noeladd","html_url":"https://github.com/noeladd","followers_url":"https://api.github.com/users/noeladd/followers","following_url":"https://api.github.com/users/noeladd/following{/other_user}","gists_url":"https://api.github.com/users/noeladd/gists{/gist_id}","starred_url":"https://api.github.com/users/noeladd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noeladd/subscriptions","organizations_url":"https://api.github.com/users/noeladd/orgs","repos_url":"https://api.github.com/users/noeladd/repos","events_url":"https://api.github.com/users/noeladd/events{/privacy}","received_events_url":"https://api.github.com/users/noeladd/received_events","type":"User","site_admin":false},"repo":{"id":69490231,"name":"ResourceDot","full_name":"noeladd/ResourceDot","owner":{"login":"noeladd","id":8063846,"avatar_url":"https://avatars.githubusercontent.com/u/8063846?v=3","gravatar_id":"","url":"https://api.github.com/users/noeladd","html_url":"https://github.com/noeladd","followers_url":"https://api.github.com/users/noeladd/followers","following_url":"https://api.github.com/users/noeladd/following{/other_user}","gists_url":"https://api.github.com/users/noeladd/gists{/gist_id}","starred_url":"https://api.github.com/users/noeladd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noeladd/subscriptions","organizations_url":"https://api.github.com/users/noeladd/orgs","repos_url":"https://api.github.com/users/noeladd/repos","events_url":"https://api.github.com/users/noeladd/events{/privacy}","received_events_url":"https://api.github.com/users/noeladd/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/noeladd/ResourceDot","description":null,"fork":false,"url":"https://api.github.com/repos/noeladd/ResourceDot","forks_url":"https://api.github.com/repos/noeladd/ResourceDot/forks","keys_url":"https://api.github.com/repos/noeladd/ResourceDot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/noeladd/ResourceDot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/noeladd/ResourceDot/teams","hooks_url":"https://api.github.com/repos/noeladd/ResourceDot/hooks","issue_events_url":"https://api.github.com/repos/noeladd/ResourceDot/issues/events{/number}","events_url":"https://api.github.com/repos/noeladd/ResourceDot/events","assignees_url":"https://api.github.com/repos/noeladd/ResourceDot/assignees{/user}","branches_url":"https://api.github.com/repos/noeladd/ResourceDot/branches{/branch}","tags_url":"https://api.github.com/repos/noeladd/ResourceDot/tags","blobs_url":"https://api.github.com/repos/noeladd/ResourceDot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/noeladd/ResourceDot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/noeladd/ResourceDot/git/refs{/sha}","trees_url":"https://api.github.com/repos/noeladd/ResourceDot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/noeladd/ResourceDot/statuses/{sha}","languages_url":"https://api.github.com/repos/noeladd/ResourceDot/languages","stargazers_url":"https://api.github.com/repos/noeladd/ResourceDot/stargazers","contributors_url":"https://api.github.com/repos/noeladd/ResourceDot/contributors","subscribers_url":"https://api.github.com/repos/noeladd/ResourceDot/subscribers","subscription_url":"https://api.github.com/repos/noeladd/ResourceDot/subscription","commits_url":"https://api.github.com/repos/noeladd/ResourceDot/commits{/sha}","git_commits_url":"https://api.github.com/repos/noeladd/ResourceDot/git/commits{/sha}","comments_url":"https://api.github.com/repos/noeladd/ResourceDot/comments{/number}","issue_comment_url":"https://api.github.com/repos/noeladd/ResourceDot/issues/comments{/number}","contents_url":"https://api.github.com/repos/noeladd/ResourceDot/contents/{+path}","compare_url":"https://api.github.com/repos/noeladd/ResourceDot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/noeladd/ResourceDot/merges","archive_url":"https://api.github.com/repos/noeladd/ResourceDot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/noeladd/ResourceDot/downloads","issues_url":"https://api.github.com/repos/noeladd/ResourceDot/issues{/number}","pulls_url":"https://api.github.com/repos/noeladd/ResourceDot/pulls{/number}","milestones_url":"https://api.github.com/repos/noeladd/ResourceDot/milestones{/number}","notifications_url":"https://api.github.com/repos/noeladd/ResourceDot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/noeladd/ResourceDot/labels{/name}","releases_url":"https://api.github.com/repos/noeladd/ResourceDot/releases{/id}","deployments_url":"https://api.github.com/repos/noeladd/ResourceDot/deployments","created_at":"2016-09-28T18:06:36Z","updated_at":"2016-09-28T18:07:30Z","pushed_at":"2016-10-11T21:07:13Z","git_url":"git://github.com/noeladd/ResourceDot.git","ssh_url":"git@github.com:noeladd/ResourceDot.git","clone_url":"https://github.com/noeladd/ResourceDot.git","svn_url":"https://github.com/noeladd/ResourceDot","homepage":null,"size":872,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/noeladd/ResourceDot/pulls/40"},"html":{"href":"https://github.com/noeladd/ResourceDot/pull/40"},"issue":{"href":"https://api.github.com/repos/noeladd/ResourceDot/issues/40"},"comments":{"href":"https://api.github.com/repos/noeladd/ResourceDot/issues/40/comments"},"review_comments":{"href":"https://api.github.com/repos/noeladd/ResourceDot/pulls/40/comments"},"review_comment":{"href":"https://api.github.com/repos/noeladd/ResourceDot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/noeladd/ResourceDot/pulls/40/commits"},"statuses":{"href":"https://api.github.com/repos/noeladd/ResourceDot/statuses/fa68beecbf1ca3a3818b338bf0356693da4f88c3"}}}}
{"actor":{"display_login":"masungwon"}}