{"action":"opened","number":68,"pull_request":{"url":"https://api.github.com/repos/rollbar/rollbar.js/pulls/68","id":28796013,"html_url":"https://github.com/rollbar/rollbar.js/pull/68","diff_url":"https://github.com/rollbar/rollbar.js/pull/68.diff","patch_url":"https://github.com/rollbar/rollbar.js/pull/68.patch","issue_url":"https://api.github.com/repos/rollbar/rollbar.js/issues/68","number":68,"state":"open","locked":false,"title":"Return notifier instance from `init`","user":{"login":"sandstrom","id":122287,"avatar_url":"https://avatars.githubusercontent.com/u/122287?v=3","gravatar_id":"","url":"https://api.github.com/users/sandstrom","html_url":"https://github.com/sandstrom","followers_url":"https://api.github.com/users/sandstrom/followers","following_url":"https://api.github.com/users/sandstrom/following{/other_user}","gists_url":"https://api.github.com/users/sandstrom/gists{/gist_id}","starred_url":"https://api.github.com/users/sandstrom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sandstrom/subscriptions","organizations_url":"https://api.github.com/users/sandstrom/orgs","repos_url":"https://api.github.com/users/sandstrom/repos","events_url":"https://api.github.com/users/sandstrom/events{/privacy}","received_events_url":"https://api.github.com/users/sandstrom/received_events","type":"User","site_admin":false},"body":"I'm trying to understand if I've totally misunderstood something (please let me know if I have!).\r\n\r\nBut I think the instance must be returned, otherwise there isn't a way to send errors to rollbar via `log` (when the global errorhandler isn't used, which is often the case for larger frameworks).","created_at":"2015-02-06T09:45:03Z","updated_at":"2015-02-06T09:45:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rollbar/rollbar.js/pulls/68/commits","review_comments_url":"https://api.github.com/repos/rollbar/rollbar.js/pulls/68/comments","review_comment_url":"https://api.github.com/repos/rollbar/rollbar.js/pulls/comments/{number}","comments_url":"https://api.github.com/repos/rollbar/rollbar.js/issues/68/comments","statuses_url":"https://api.github.com/repos/rollbar/rollbar.js/statuses/63c9d6b522e63d94388cfaace38eedfaf9898451","head":{"label":"sandstrom:patch-2","ref":"patch-2","sha":"63c9d6b522e63d94388cfaace38eedfaf9898451","user":{"login":"sandstrom","id":122287,"avatar_url":"https://avatars.githubusercontent.com/u/122287?v=3","gravatar_id":"","url":"https://api.github.com/users/sandstrom","html_url":"https://github.com/sandstrom","followers_url":"https://api.github.com/users/sandstrom/followers","following_url":"https://api.github.com/users/sandstrom/following{/other_user}","gists_url":"https://api.github.com/users/sandstrom/gists{/gist_id}","starred_url":"https://api.github.com/users/sandstrom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sandstrom/subscriptions","organizations_url":"https://api.github.com/users/sandstrom/orgs","repos_url":"https://api.github.com/users/sandstrom/repos","events_url":"https://api.github.com/users/sandstrom/events{/privacy}","received_events_url":"https://api.github.com/users/sandstrom/received_events","type":"User","site_admin":false},"repo":{"id":25323866,"name":"rollbar.js","full_name":"sandstrom/rollbar.js","owner":{"login":"sandstrom","id":122287,"avatar_url":"https://avatars.githubusercontent.com/u/122287?v=3","gravatar_id":"","url":"https://api.github.com/users/sandstrom","html_url":"https://github.com/sandstrom","followers_url":"https://api.github.com/users/sandstrom/followers","following_url":"https://api.github.com/users/sandstrom/following{/other_user}","gists_url":"https://api.github.com/users/sandstrom/gists{/gist_id}","starred_url":"https://api.github.com/users/sandstrom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sandstrom/subscriptions","organizations_url":"https://api.github.com/users/sandstrom/orgs","repos_url":"https://api.github.com/users/sandstrom/repos","events_url":"https://api.github.com/users/sandstrom/events{/privacy}","received_events_url":"https://api.github.com/users/sandstrom/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sandstrom/rollbar.js","description":"Error tracking and logging from JS to Rollbar","fork":true,"url":"https://api.github.com/repos/sandstrom/rollbar.js","forks_url":"https://api.github.com/repos/sandstrom/rollbar.js/forks","keys_url":"https://api.github.com/repos/sandstrom/rollbar.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sandstrom/rollbar.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sandstrom/rollbar.js/teams","hooks_url":"https://api.github.com/repos/sandstrom/rollbar.js/hooks","issue_events_url":"https://api.github.com/repos/sandstrom/rollbar.js/issues/events{/number}","events_url":"https://api.github.com/repos/sandstrom/rollbar.js/events","assignees_url":"https://api.github.com/repos/sandstrom/rollbar.js/assignees{/user}","branches_url":"https://api.github.com/repos/sandstrom/rollbar.js/branches{/branch}","tags_url":"https://api.github.com/repos/sandstrom/rollbar.js/tags","blobs_url":"https://api.github.com/repos/sandstrom/rollbar.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sandstrom/rollbar.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sandstrom/rollbar.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/sandstrom/rollbar.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sandstrom/rollbar.js/statuses/{sha}","languages_url":"https://api.github.com/repos/sandstrom/rollbar.js/languages","stargazers_url":"https://api.github.com/repos/sandstrom/rollbar.js/stargazers","contributors_url":"https://api.github.com/repos/sandstrom/rollbar.js/contributors","subscribers_url":"https://api.github.com/repos/sandstrom/rollbar.js/subscribers","subscription_url":"https://api.github.com/repos/sandstrom/rollbar.js/subscription","commits_url":"https://api.github.com/repos/sandstrom/rollbar.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/sandstrom/rollbar.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/sandstrom/rollbar.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/sandstrom/rollbar.js/issues/comments/{number}","contents_url":"https://api.github.com/repos/sandstrom/rollbar.js/contents/{+path}","compare_url":"https://api.github.com/repos/sandstrom/rollbar.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sandstrom/rollbar.js/merges","archive_url":"https://api.github.com/repos/sandstrom/rollbar.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sandstrom/rollbar.js/downloads","issues_url":"https://api.github.com/repos/sandstrom/rollbar.js/issues{/number}","pulls_url":"https://api.github.com/repos/sandstrom/rollbar.js/pulls{/number}","milestones_url":"https://api.github.com/repos/sandstrom/rollbar.js/milestones{/number}","notifications_url":"https://api.github.com/repos/sandstrom/rollbar.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sandstrom/rollbar.js/labels{/name}","releases_url":"https://api.github.com/repos/sandstrom/rollbar.js/releases{/id}","created_at":"2014-10-16T21:59:41Z","updated_at":"2014-10-03T14:15:19Z","pushed_at":"2015-02-06T09:42:05Z","git_url":"git://github.com/sandstrom/rollbar.js.git","ssh_url":"git@github.com:sandstrom/rollbar.js.git","clone_url":"https://github.com/sandstrom/rollbar.js.git","svn_url":"https://github.com/sandstrom/rollbar.js","homepage":"https://rollbar.com/docs/notifier/rollbar.js/","size":1375,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"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":"rollbar:master","ref":"master","sha":"d10119f2695f42a27f804f540fc032a9297998d1","user":{"login":"rollbar","id":3219584,"avatar_url":"https://avatars.githubusercontent.com/u/3219584?v=3","gravatar_id":"","url":"https://api.github.com/users/rollbar","html_url":"https://github.com/rollbar","followers_url":"https://api.github.com/users/rollbar/followers","following_url":"https://api.github.com/users/rollbar/following{/other_user}","gists_url":"https://api.github.com/users/rollbar/gists{/gist_id}","starred_url":"https://api.github.com/users/rollbar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rollbar/subscriptions","organizations_url":"https://api.github.com/users/rollbar/orgs","repos_url":"https://api.github.com/users/rollbar/repos","events_url":"https://api.github.com/users/rollbar/events{/privacy}","received_events_url":"https://api.github.com/users/rollbar/received_events","type":"Organization","site_admin":false},"repo":{"id":7136784,"name":"rollbar.js","full_name":"rollbar/rollbar.js","owner":{"login":"rollbar","id":3219584,"avatar_url":"https://avatars.githubusercontent.com/u/3219584?v=3","gravatar_id":"","url":"https://api.github.com/users/rollbar","html_url":"https://github.com/rollbar","followers_url":"https://api.github.com/users/rollbar/followers","following_url":"https://api.github.com/users/rollbar/following{/other_user}","gists_url":"https://api.github.com/users/rollbar/gists{/gist_id}","starred_url":"https://api.github.com/users/rollbar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rollbar/subscriptions","organizations_url":"https://api.github.com/users/rollbar/orgs","repos_url":"https://api.github.com/users/rollbar/repos","events_url":"https://api.github.com/users/rollbar/events{/privacy}","received_events_url":"https://api.github.com/users/rollbar/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rollbar/rollbar.js","description":"Error tracking and logging from JS to Rollbar","fork":false,"url":"https://api.github.com/repos/rollbar/rollbar.js","forks_url":"https://api.github.com/repos/rollbar/rollbar.js/forks","keys_url":"https://api.github.com/repos/rollbar/rollbar.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rollbar/rollbar.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rollbar/rollbar.js/teams","hooks_url":"https://api.github.com/repos/rollbar/rollbar.js/hooks","issue_events_url":"https://api.github.com/repos/rollbar/rollbar.js/issues/events{/number}","events_url":"https://api.github.com/repos/rollbar/rollbar.js/events","assignees_url":"https://api.github.com/repos/rollbar/rollbar.js/assignees{/user}","branches_url":"https://api.github.com/repos/rollbar/rollbar.js/branches{/branch}","tags_url":"https://api.github.com/repos/rollbar/rollbar.js/tags","blobs_url":"https://api.github.com/repos/rollbar/rollbar.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rollbar/rollbar.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rollbar/rollbar.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/rollbar/rollbar.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rollbar/rollbar.js/statuses/{sha}","languages_url":"https://api.github.com/repos/rollbar/rollbar.js/languages","stargazers_url":"https://api.github.com/repos/rollbar/rollbar.js/stargazers","contributors_url":"https://api.github.com/repos/rollbar/rollbar.js/contributors","subscribers_url":"https://api.github.com/repos/rollbar/rollbar.js/subscribers","subscription_url":"https://api.github.com/repos/rollbar/rollbar.js/subscription","commits_url":"https://api.github.com/repos/rollbar/rollbar.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/rollbar/rollbar.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/rollbar/rollbar.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/rollbar/rollbar.js/issues/comments/{number}","contents_url":"https://api.github.com/repos/rollbar/rollbar.js/contents/{+path}","compare_url":"https://api.github.com/repos/rollbar/rollbar.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rollbar/rollbar.js/merges","archive_url":"https://api.github.com/repos/rollbar/rollbar.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rollbar/rollbar.js/downloads","issues_url":"https://api.github.com/repos/rollbar/rollbar.js/issues{/number}","pulls_url":"https://api.github.com/repos/rollbar/rollbar.js/pulls{/number}","milestones_url":"https://api.github.com/repos/rollbar/rollbar.js/milestones{/number}","notifications_url":"https://api.github.com/repos/rollbar/rollbar.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rollbar/rollbar.js/labels{/name}","releases_url":"https://api.github.com/repos/rollbar/rollbar.js/releases{/id}","created_at":"2012-12-12T20:00:01Z","updated_at":"2015-02-04T00:44:00Z","pushed_at":"2015-02-04T00:44:46Z","git_url":"git://github.com/rollbar/rollbar.js.git","ssh_url":"git@github.com:rollbar/rollbar.js.git","clone_url":"https://github.com/rollbar/rollbar.js.git","svn_url":"https://github.com/rollbar/rollbar.js","homepage":"https://rollbar.com/docs/notifier/rollbar.js/","size":2951,"stargazers_count":29,"watchers_count":29,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":20,"mirror_url":null,"open_issues_count":11,"forks":20,"open_issues":11,"watchers":29,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rollbar/rollbar.js/pulls/68"},"html":{"href":"https://github.com/rollbar/rollbar.js/pull/68"},"issue":{"href":"https://api.github.com/repos/rollbar/rollbar.js/issues/68"},"comments":{"href":"https://api.github.com/repos/rollbar/rollbar.js/issues/68/comments"},"review_comments":{"href":"https://api.github.com/repos/rollbar/rollbar.js/pulls/68/comments"},"review_comment":{"href":"https://api.github.com/repos/rollbar/rollbar.js/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/rollbar/rollbar.js/pulls/68/commits"},"statuses":{"href":"https://api.github.com/repos/rollbar/rollbar.js/statuses/63c9d6b522e63d94388cfaace38eedfaf9898451"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":0,"changed_files":1}}