{"action":"created","comment":{"url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/pulls/comments/77606203","id":77606203,"diff_hunk":"@@ -0,0 +1,21 @@\n+{{#each background.scripts}}\n+<script src=\"{{this}}\">\n+</script>\n+{{/each}}\n+<script>\n+{{#if homepage_url}}\n+// Default callback for homepageRedirect\n+function homepageRedirec(){\n+    safari.application.activeBrowserWindow.activeTab.url = \"{{homepage_url}}\";","path":"lib/safari/background.html","position":9,"original_position":9,"commit_id":"20b86109173d32a26ad5e29e84022b019fbb58d6","original_commit_id":"20b86109173d32a26ad5e29e84022b019fbb58d6","user":{"login":"jhg-tgu","id":13555249,"avatar_url":"https://avatars.githubusercontent.com/u/13555249?v=3","gravatar_id":"","url":"https://api.github.com/users/jhg-tgu","html_url":"https://github.com/jhg-tgu","followers_url":"https://api.github.com/users/jhg-tgu/followers","following_url":"https://api.github.com/users/jhg-tgu/following{/other_user}","gists_url":"https://api.github.com/users/jhg-tgu/gists{/gist_id}","starred_url":"https://api.github.com/users/jhg-tgu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhg-tgu/subscriptions","organizations_url":"https://api.github.com/users/jhg-tgu/orgs","repos_url":"https://api.github.com/users/jhg-tgu/repos","events_url":"https://api.github.com/users/jhg-tgu/events{/privacy}","received_events_url":"https://api.github.com/users/jhg-tgu/received_events","type":"User","site_admin":false},"body":"Can use default callback for redirect to homepage (also available for to be called from custom background scripts)","created_at":"2016-09-06T10:00:58Z","updated_at":"2016-09-06T10:00:58Z","html_url":"https://github.com/Tuguusl/grunt-browser-extension/pull/21#discussion_r77606203","pull_request_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/pulls/21","_links":{"self":{"href":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/pulls/comments/77606203"},"html":{"href":"https://github.com/Tuguusl/grunt-browser-extension/pull/21#discussion_r77606203"},"pull_request":{"href":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/pulls/21"}}},"pull_request":{"url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/pulls/21","id":84090505,"html_url":"https://github.com/Tuguusl/grunt-browser-extension/pull/21","diff_url":"https://github.com/Tuguusl/grunt-browser-extension/pull/21.diff","patch_url":"https://github.com/Tuguusl/grunt-browser-extension/pull/21.patch","issue_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/issues/21","number":21,"state":"open","locked":false,"title":"Add base support for background and button in Safari extension","user":{"login":"jhg-tgu","id":13555249,"avatar_url":"https://avatars.githubusercontent.com/u/13555249?v=3","gravatar_id":"","url":"https://api.github.com/users/jhg-tgu","html_url":"https://github.com/jhg-tgu","followers_url":"https://api.github.com/users/jhg-tgu/followers","following_url":"https://api.github.com/users/jhg-tgu/following{/other_user}","gists_url":"https://api.github.com/users/jhg-tgu/gists{/gist_id}","starred_url":"https://api.github.com/users/jhg-tgu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhg-tgu/subscriptions","organizations_url":"https://api.github.com/users/jhg-tgu/orgs","repos_url":"https://api.github.com/users/jhg-tgu/repos","events_url":"https://api.github.com/users/jhg-tgu/events{/privacy}","received_events_url":"https://api.github.com/users/jhg-tgu/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-06T09:40:48Z","updated_at":"2016-09-06T10:00:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"794abadbdf8532f59b8ecece4835a53722edf016","assignee":{"login":"EduardoMartinezCatala","id":3104968,"avatar_url":"https://avatars.githubusercontent.com/u/3104968?v=3","gravatar_id":"","url":"https://api.github.com/users/EduardoMartinezCatala","html_url":"https://github.com/EduardoMartinezCatala","followers_url":"https://api.github.com/users/EduardoMartinezCatala/followers","following_url":"https://api.github.com/users/EduardoMartinezCatala/following{/other_user}","gists_url":"https://api.github.com/users/EduardoMartinezCatala/gists{/gist_id}","starred_url":"https://api.github.com/users/EduardoMartinezCatala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EduardoMartinezCatala/subscriptions","organizations_url":"https://api.github.com/users/EduardoMartinezCatala/orgs","repos_url":"https://api.github.com/users/EduardoMartinezCatala/repos","events_url":"https://api.github.com/users/EduardoMartinezCatala/events{/privacy}","received_events_url":"https://api.github.com/users/EduardoMartinezCatala/received_events","type":"User","site_admin":false},"assignees":[{"login":"EduardoMartinezCatala","id":3104968,"avatar_url":"https://avatars.githubusercontent.com/u/3104968?v=3","gravatar_id":"","url":"https://api.github.com/users/EduardoMartinezCatala","html_url":"https://github.com/EduardoMartinezCatala","followers_url":"https://api.github.com/users/EduardoMartinezCatala/followers","following_url":"https://api.github.com/users/EduardoMartinezCatala/following{/other_user}","gists_url":"https://api.github.com/users/EduardoMartinezCatala/gists{/gist_id}","starred_url":"https://api.github.com/users/EduardoMartinezCatala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EduardoMartinezCatala/subscriptions","organizations_url":"https://api.github.com/users/EduardoMartinezCatala/orgs","repos_url":"https://api.github.com/users/EduardoMartinezCatala/repos","events_url":"https://api.github.com/users/EduardoMartinezCatala/events{/privacy}","received_events_url":"https://api.github.com/users/EduardoMartinezCatala/received_events","type":"User","site_admin":false},{"login":"aitorMarrero","id":4102555,"avatar_url":"https://avatars.githubusercontent.com/u/4102555?v=3","gravatar_id":"","url":"https://api.github.com/users/aitorMarrero","html_url":"https://github.com/aitorMarrero","followers_url":"https://api.github.com/users/aitorMarrero/followers","following_url":"https://api.github.com/users/aitorMarrero/following{/other_user}","gists_url":"https://api.github.com/users/aitorMarrero/gists{/gist_id}","starred_url":"https://api.github.com/users/aitorMarrero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aitorMarrero/subscriptions","organizations_url":"https://api.github.com/users/aitorMarrero/orgs","repos_url":"https://api.github.com/users/aitorMarrero/repos","events_url":"https://api.github.com/users/aitorMarrero/events{/privacy}","received_events_url":"https://api.github.com/users/aitorMarrero/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/pulls/21/commits","review_comments_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/pulls/21/comments","review_comment_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/issues/21/comments","statuses_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/statuses/20b86109173d32a26ad5e29e84022b019fbb58d6","head":{"label":"Tuguusl:feature-safari","ref":"feature-safari","sha":"20b86109173d32a26ad5e29e84022b019fbb58d6","user":{"login":"Tuguusl","id":1089423,"avatar_url":"https://avatars.githubusercontent.com/u/1089423?v=3","gravatar_id":"","url":"https://api.github.com/users/Tuguusl","html_url":"https://github.com/Tuguusl","followers_url":"https://api.github.com/users/Tuguusl/followers","following_url":"https://api.github.com/users/Tuguusl/following{/other_user}","gists_url":"https://api.github.com/users/Tuguusl/gists{/gist_id}","starred_url":"https://api.github.com/users/Tuguusl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tuguusl/subscriptions","organizations_url":"https://api.github.com/users/Tuguusl/orgs","repos_url":"https://api.github.com/users/Tuguusl/repos","events_url":"https://api.github.com/users/Tuguusl/events{/privacy}","received_events_url":"https://api.github.com/users/Tuguusl/received_events","type":"Organization","site_admin":false},"repo":{"id":64378308,"name":"grunt-browser-extension","full_name":"Tuguusl/grunt-browser-extension","owner":{"login":"Tuguusl","id":1089423,"avatar_url":"https://avatars.githubusercontent.com/u/1089423?v=3","gravatar_id":"","url":"https://api.github.com/users/Tuguusl","html_url":"https://github.com/Tuguusl","followers_url":"https://api.github.com/users/Tuguusl/followers","following_url":"https://api.github.com/users/Tuguusl/following{/other_user}","gists_url":"https://api.github.com/users/Tuguusl/gists{/gist_id}","starred_url":"https://api.github.com/users/Tuguusl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tuguusl/subscriptions","organizations_url":"https://api.github.com/users/Tuguusl/orgs","repos_url":"https://api.github.com/users/Tuguusl/repos","events_url":"https://api.github.com/users/Tuguusl/events{/privacy}","received_events_url":"https://api.github.com/users/Tuguusl/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Tuguusl/grunt-browser-extension","description":"Grunt plugin to create any browser website extension","fork":true,"url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension","forks_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/forks","keys_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/teams","hooks_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/hooks","issue_events_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/issues/events{/number}","events_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/events","assignees_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/assignees{/user}","branches_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/branches{/branch}","tags_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/tags","blobs_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/git/refs{/sha}","trees_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/statuses/{sha}","languages_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/languages","stargazers_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/stargazers","contributors_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/contributors","subscribers_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/subscribers","subscription_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/subscription","commits_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/commits{/sha}","git_commits_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/git/commits{/sha}","comments_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/comments{/number}","issue_comment_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/issues/comments{/number}","contents_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/contents/{+path}","compare_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/merges","archive_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/downloads","issues_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/issues{/number}","pulls_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/pulls{/number}","milestones_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/milestones{/number}","notifications_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/labels{/name}","releases_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/releases{/id}","deployments_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/deployments","created_at":"2016-07-28T08:34:26Z","updated_at":"2016-07-28T08:34:27Z","pushed_at":"2016-09-06T09:56:17Z","git_url":"git://github.com/Tuguusl/grunt-browser-extension.git","ssh_url":"git@github.com:Tuguusl/grunt-browser-extension.git","clone_url":"https://github.com/Tuguusl/grunt-browser-extension.git","svn_url":"https://github.com/Tuguusl/grunt-browser-extension","homepage":"","size":117,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"Tuguusl:develop","ref":"develop","sha":"274e3ce0223f1cbdb6ebe6472115a3e99f2c9fac","user":{"login":"Tuguusl","id":1089423,"avatar_url":"https://avatars.githubusercontent.com/u/1089423?v=3","gravatar_id":"","url":"https://api.github.com/users/Tuguusl","html_url":"https://github.com/Tuguusl","followers_url":"https://api.github.com/users/Tuguusl/followers","following_url":"https://api.github.com/users/Tuguusl/following{/other_user}","gists_url":"https://api.github.com/users/Tuguusl/gists{/gist_id}","starred_url":"https://api.github.com/users/Tuguusl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tuguusl/subscriptions","organizations_url":"https://api.github.com/users/Tuguusl/orgs","repos_url":"https://api.github.com/users/Tuguusl/repos","events_url":"https://api.github.com/users/Tuguusl/events{/privacy}","received_events_url":"https://api.github.com/users/Tuguusl/received_events","type":"Organization","site_admin":false},"repo":{"id":64378308,"name":"grunt-browser-extension","full_name":"Tuguusl/grunt-browser-extension","owner":{"login":"Tuguusl","id":1089423,"avatar_url":"https://avatars.githubusercontent.com/u/1089423?v=3","gravatar_id":"","url":"https://api.github.com/users/Tuguusl","html_url":"https://github.com/Tuguusl","followers_url":"https://api.github.com/users/Tuguusl/followers","following_url":"https://api.github.com/users/Tuguusl/following{/other_user}","gists_url":"https://api.github.com/users/Tuguusl/gists{/gist_id}","starred_url":"https://api.github.com/users/Tuguusl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tuguusl/subscriptions","organizations_url":"https://api.github.com/users/Tuguusl/orgs","repos_url":"https://api.github.com/users/Tuguusl/repos","events_url":"https://api.github.com/users/Tuguusl/events{/privacy}","received_events_url":"https://api.github.com/users/Tuguusl/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Tuguusl/grunt-browser-extension","description":"Grunt plugin to create any browser website extension","fork":true,"url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension","forks_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/forks","keys_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/teams","hooks_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/hooks","issue_events_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/issues/events{/number}","events_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/events","assignees_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/assignees{/user}","branches_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/branches{/branch}","tags_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/tags","blobs_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/git/refs{/sha}","trees_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/statuses/{sha}","languages_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/languages","stargazers_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/stargazers","contributors_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/contributors","subscribers_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/subscribers","subscription_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/subscription","commits_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/commits{/sha}","git_commits_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/git/commits{/sha}","comments_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/comments{/number}","issue_comment_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/issues/comments{/number}","contents_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/contents/{+path}","compare_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/merges","archive_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/downloads","issues_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/issues{/number}","pulls_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/pulls{/number}","milestones_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/milestones{/number}","notifications_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/labels{/name}","releases_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/releases{/id}","deployments_url":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/deployments","created_at":"2016-07-28T08:34:26Z","updated_at":"2016-07-28T08:34:27Z","pushed_at":"2016-09-06T09:56:17Z","git_url":"git://github.com/Tuguusl/grunt-browser-extension.git","ssh_url":"git@github.com:Tuguusl/grunt-browser-extension.git","clone_url":"https://github.com/Tuguusl/grunt-browser-extension.git","svn_url":"https://github.com/Tuguusl/grunt-browser-extension","homepage":"","size":117,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/pulls/21"},"html":{"href":"https://github.com/Tuguusl/grunt-browser-extension/pull/21"},"issue":{"href":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/issues/21"},"comments":{"href":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/Tuguusl/grunt-browser-extension/statuses/20b86109173d32a26ad5e29e84022b019fbb58d6"}}}}
{"actor":{"display_login":"jhg-tgu"}}