{"action":"opened","number":34,"pull_request":{"url":"https://api.github.com/repos/ajbrown/angular-loggly-logger/pulls/34","id":50716391,"html_url":"https://github.com/ajbrown/angular-loggly-logger/pull/34","diff_url":"https://github.com/ajbrown/angular-loggly-logger/pull/34.diff","patch_url":"https://github.com/ajbrown/angular-loggly-logger/pull/34.patch","issue_url":"https://api.github.com/repos/ajbrown/angular-loggly-logger/issues/34","number":34,"state":"open","locked":false,"title":"Add support for commonjs","user":{"login":"whitneyit","id":995120,"avatar_url":"https://avatars.githubusercontent.com/u/995120?v=3","gravatar_id":"","url":"https://api.github.com/users/whitneyit","html_url":"https://github.com/whitneyit","followers_url":"https://api.github.com/users/whitneyit/followers","following_url":"https://api.github.com/users/whitneyit/following{/other_user}","gists_url":"https://api.github.com/users/whitneyit/gists{/gist_id}","starred_url":"https://api.github.com/users/whitneyit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whitneyit/subscriptions","organizations_url":"https://api.github.com/users/whitneyit/orgs","repos_url":"https://api.github.com/users/whitneyit/repos","events_url":"https://api.github.com/users/whitneyit/events{/privacy}","received_events_url":"https://api.github.com/users/whitneyit/received_events","type":"User","site_admin":false},"body":"The notable change of this PR is:\r\n\r\n```diff\r\n-angular.module( 'myApp', ['logglyLogger'] )\r\n+angular.module( 'myApp', [require('angular-loggly-logger')] )\r\n```\r\n\r\nThis allows the file to be directly required and used by either `browserify` or `jspm` quite nicely.\r\n\r\nThis shouldn't interfere with people who were just including the 2 script files, `angular.js` and `angular-loggly-logger.js` on the page.\r\n\r\nThe version has been bumped to `0.2.0` because of the addition of `index.js`","created_at":"2015-11-14T04:46:52Z","updated_at":"2015-11-14T04:46:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ajbrown/angular-loggly-logger/pulls/34/commits","review_comments_url":"https://api.github.com/repos/ajbrown/angular-loggly-logger/pulls/34/comments","review_comment_url":"https://api.github.com/repos/ajbrown/angular-loggly-logger/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ajbrown/angular-loggly-logger/issues/34/comments","statuses_url":"https://api.github.com/repos/ajbrown/angular-loggly-logger/statuses/91bffd27f509db1f9ed7fb4518c0fcbdc9a67c98","head":{"label":"whitneyit:feature/allow","ref":"feature/allow","sha":"91bffd27f509db1f9ed7fb4518c0fcbdc9a67c98","user":{"login":"whitneyit","id":995120,"avatar_url":"https://avatars.githubusercontent.com/u/995120?v=3","gravatar_id":"","url":"https://api.github.com/users/whitneyit","html_url":"https://github.com/whitneyit","followers_url":"https://api.github.com/users/whitneyit/followers","following_url":"https://api.github.com/users/whitneyit/following{/other_user}","gists_url":"https://api.github.com/users/whitneyit/gists{/gist_id}","starred_url":"https://api.github.com/users/whitneyit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whitneyit/subscriptions","organizations_url":"https://api.github.com/users/whitneyit/orgs","repos_url":"https://api.github.com/users/whitneyit/repos","events_url":"https://api.github.com/users/whitneyit/events{/privacy}","received_events_url":"https://api.github.com/users/whitneyit/received_events","type":"User","site_admin":false},"repo":{"id":46160920,"name":"angular-loggly-logger","full_name":"whitneyit/angular-loggly-logger","owner":{"login":"whitneyit","id":995120,"avatar_url":"https://avatars.githubusercontent.com/u/995120?v=3","gravatar_id":"","url":"https://api.github.com/users/whitneyit","html_url":"https://github.com/whitneyit","followers_url":"https://api.github.com/users/whitneyit/followers","following_url":"https://api.github.com/users/whitneyit/following{/other_user}","gists_url":"https://api.github.com/users/whitneyit/gists{/gist_id}","starred_url":"https://api.github.com/users/whitneyit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whitneyit/subscriptions","organizations_url":"https://api.github.com/users/whitneyit/orgs","repos_url":"https://api.github.com/users/whitneyit/repos","events_url":"https://api.github.com/users/whitneyit/events{/privacy}","received_events_url":"https://api.github.com/users/whitneyit/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/whitneyit/angular-loggly-logger","description":"An AngularJS module which sends your $log message to loggly, and provides a service for manually sending messages to loggly.","fork":true,"url":"https://api.github.com/repos/whitneyit/angular-loggly-logger","forks_url":"https://api.github.com/repos/whitneyit/angular-loggly-logger/forks","keys_url":"https://api.github.com/repos/whitneyit/angular-loggly-logger/keys{/key_id}","collaborators_url":"https://api.github.com/repos/whitneyit/angular-loggly-logger/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/whitneyit/angular-loggly-logger/teams","hooks_url":"https://api.github.com/repos/whitneyit/angular-loggly-logger/hooks","issue_events_url":"https://api.github.com/repos/whitneyit/angular-loggly-logger/issues/events{/number}","events_url":"https://api.github.com/repos/whitneyit/angular-loggly-logger/events","assignees_url":"https://api.github.com/repos/whitneyit/angular-loggly-logger/assignees{/user}","branches_url":"https://api.github.com/repos/whitneyit/angular-loggly-logger/branches{/branch}","tags_url":"https://api.github.com/repos/whitneyit/angular-loggly-logger/tags","blobs_url":"https://api.github.com/repos/whitneyit/angular-loggly-logger/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/whitneyit/angular-loggly-logger/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/whitneyit/angular-loggly-logger/git/refs{/sha}","trees_url":"https://api.github.com/repos/whitneyit/angular-loggly-logger/git/trees{/sha}","statuses_url":"https://api.github.com/repos/whitneyit/angular-loggly-logger/statuses/{sha}","languages_url":"https://api.github.com/repos/whitneyit/angular-loggly-logger/languages","stargazers_url":"https://api.github.com/repos/whitneyit/angular-loggly-logger/stargazers","contributors_url":"https://api.github.com/repos/whitneyit/angular-loggly-logger/contributors","subscribers_url":"https://api.github.com/repos/whitneyit/angular-loggly-logger/subscribers","subscription_url":"https://api.github.com/repos/whitneyit/angular-loggly-logger/subscription","commits_url":"https://api.github.com/repos/whitneyit/angular-loggly-logger/commits{/sha}","git_commits_url":"https://api.github.com/repos/whitneyit/angular-loggly-logger/git/commits{/sha}","comments_url":"https://api.github.com/repos/whitneyit/angular-loggly-logger/comments{/number}","issue_comment_url":"https://api.github.com/repos/whitneyit/angular-loggly-logger/issues/comments{/number}","contents_url":"https://api.github.com/repos/whitneyit/angular-loggly-logger/contents/{+path}","compare_url":"https://api.github.com/repos/whitneyit/angular-loggly-logger/compare/{base}...{head}","merges_url":"https://api.github.com/repos/whitneyit/angular-loggly-logger/merges","archive_url":"https://api.github.com/repos/whitneyit/angular-loggly-logger/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/whitneyit/angular-loggly-logger/downloads","issues_url":"https://api.github.com/repos/whitneyit/angular-loggly-logger/issues{/number}","pulls_url":"https://api.github.com/repos/whitneyit/angular-loggly-logger/pulls{/number}","milestones_url":"https://api.github.com/repos/whitneyit/angular-loggly-logger/milestones{/number}","notifications_url":"https://api.github.com/repos/whitneyit/angular-loggly-logger/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/whitneyit/angular-loggly-logger/labels{/name}","releases_url":"https://api.github.com/repos/whitneyit/angular-loggly-logger/releases{/id}","created_at":"2015-11-14T04:09:58Z","updated_at":"2015-11-14T04:09:59Z","pushed_at":"2015-11-14T04:44:00Z","git_url":"git://github.com/whitneyit/angular-loggly-logger.git","ssh_url":"git@github.com:whitneyit/angular-loggly-logger.git","clone_url":"https://github.com/whitneyit/angular-loggly-logger.git","svn_url":"https://github.com/whitneyit/angular-loggly-logger","homepage":null,"size":445,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"ajbrown:master","ref":"master","sha":"8f19153de0ebc5c47c21cbb1ce89fc65ec9afafd","user":{"login":"ajbrown","id":38450,"avatar_url":"https://avatars.githubusercontent.com/u/38450?v=3","gravatar_id":"","url":"https://api.github.com/users/ajbrown","html_url":"https://github.com/ajbrown","followers_url":"https://api.github.com/users/ajbrown/followers","following_url":"https://api.github.com/users/ajbrown/following{/other_user}","gists_url":"https://api.github.com/users/ajbrown/gists{/gist_id}","starred_url":"https://api.github.com/users/ajbrown/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajbrown/subscriptions","organizations_url":"https://api.github.com/users/ajbrown/orgs","repos_url":"https://api.github.com/users/ajbrown/repos","events_url":"https://api.github.com/users/ajbrown/events{/privacy}","received_events_url":"https://api.github.com/users/ajbrown/received_events","type":"User","site_admin":false},"repo":{"id":19335213,"name":"angular-loggly-logger","full_name":"ajbrown/angular-loggly-logger","owner":{"login":"ajbrown","id":38450,"avatar_url":"https://avatars.githubusercontent.com/u/38450?v=3","gravatar_id":"","url":"https://api.github.com/users/ajbrown","html_url":"https://github.com/ajbrown","followers_url":"https://api.github.com/users/ajbrown/followers","following_url":"https://api.github.com/users/ajbrown/following{/other_user}","gists_url":"https://api.github.com/users/ajbrown/gists{/gist_id}","starred_url":"https://api.github.com/users/ajbrown/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajbrown/subscriptions","organizations_url":"https://api.github.com/users/ajbrown/orgs","repos_url":"https://api.github.com/users/ajbrown/repos","events_url":"https://api.github.com/users/ajbrown/events{/privacy}","received_events_url":"https://api.github.com/users/ajbrown/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ajbrown/angular-loggly-logger","description":"An AngularJS module which sends your $log message to loggly, and provides a service for manually sending messages to loggly.","fork":false,"url":"https://api.github.com/repos/ajbrown/angular-loggly-logger","forks_url":"https://api.github.com/repos/ajbrown/angular-loggly-logger/forks","keys_url":"https://api.github.com/repos/ajbrown/angular-loggly-logger/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ajbrown/angular-loggly-logger/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ajbrown/angular-loggly-logger/teams","hooks_url":"https://api.github.com/repos/ajbrown/angular-loggly-logger/hooks","issue_events_url":"https://api.github.com/repos/ajbrown/angular-loggly-logger/issues/events{/number}","events_url":"https://api.github.com/repos/ajbrown/angular-loggly-logger/events","assignees_url":"https://api.github.com/repos/ajbrown/angular-loggly-logger/assignees{/user}","branches_url":"https://api.github.com/repos/ajbrown/angular-loggly-logger/branches{/branch}","tags_url":"https://api.github.com/repos/ajbrown/angular-loggly-logger/tags","blobs_url":"https://api.github.com/repos/ajbrown/angular-loggly-logger/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ajbrown/angular-loggly-logger/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ajbrown/angular-loggly-logger/git/refs{/sha}","trees_url":"https://api.github.com/repos/ajbrown/angular-loggly-logger/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ajbrown/angular-loggly-logger/statuses/{sha}","languages_url":"https://api.github.com/repos/ajbrown/angular-loggly-logger/languages","stargazers_url":"https://api.github.com/repos/ajbrown/angular-loggly-logger/stargazers","contributors_url":"https://api.github.com/repos/ajbrown/angular-loggly-logger/contributors","subscribers_url":"https://api.github.com/repos/ajbrown/angular-loggly-logger/subscribers","subscription_url":"https://api.github.com/repos/ajbrown/angular-loggly-logger/subscription","commits_url":"https://api.github.com/repos/ajbrown/angular-loggly-logger/commits{/sha}","git_commits_url":"https://api.github.com/repos/ajbrown/angular-loggly-logger/git/commits{/sha}","comments_url":"https://api.github.com/repos/ajbrown/angular-loggly-logger/comments{/number}","issue_comment_url":"https://api.github.com/repos/ajbrown/angular-loggly-logger/issues/comments{/number}","contents_url":"https://api.github.com/repos/ajbrown/angular-loggly-logger/contents/{+path}","compare_url":"https://api.github.com/repos/ajbrown/angular-loggly-logger/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ajbrown/angular-loggly-logger/merges","archive_url":"https://api.github.com/repos/ajbrown/angular-loggly-logger/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ajbrown/angular-loggly-logger/downloads","issues_url":"https://api.github.com/repos/ajbrown/angular-loggly-logger/issues{/number}","pulls_url":"https://api.github.com/repos/ajbrown/angular-loggly-logger/pulls{/number}","milestones_url":"https://api.github.com/repos/ajbrown/angular-loggly-logger/milestones{/number}","notifications_url":"https://api.github.com/repos/ajbrown/angular-loggly-logger/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ajbrown/angular-loggly-logger/labels{/name}","releases_url":"https://api.github.com/repos/ajbrown/angular-loggly-logger/releases{/id}","created_at":"2014-05-01T03:49:32Z","updated_at":"2015-11-11T12:07:53Z","pushed_at":"2015-10-28T16:18:41Z","git_url":"git://github.com/ajbrown/angular-loggly-logger.git","ssh_url":"git@github.com:ajbrown/angular-loggly-logger.git","clone_url":"https://github.com/ajbrown/angular-loggly-logger.git","svn_url":"https://github.com/ajbrown/angular-loggly-logger","homepage":null,"size":445,"stargazers_count":18,"watchers_count":18,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":18,"mirror_url":null,"open_issues_count":6,"forks":18,"open_issues":6,"watchers":18,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ajbrown/angular-loggly-logger/pulls/34"},"html":{"href":"https://github.com/ajbrown/angular-loggly-logger/pull/34"},"issue":{"href":"https://api.github.com/repos/ajbrown/angular-loggly-logger/issues/34"},"comments":{"href":"https://api.github.com/repos/ajbrown/angular-loggly-logger/issues/34/comments"},"review_comments":{"href":"https://api.github.com/repos/ajbrown/angular-loggly-logger/pulls/34/comments"},"review_comment":{"href":"https://api.github.com/repos/ajbrown/angular-loggly-logger/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ajbrown/angular-loggly-logger/pulls/34/commits"},"statuses":{"href":"https://api.github.com/repos/ajbrown/angular-loggly-logger/statuses/91bffd27f509db1f9ed7fb4518c0fcbdc9a67c98"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":26,"deletions":21,"changed_files":3}}