{"action":"created","comment":{"url":"https://api.github.com/repos/angular-ui/ui-leaflet/pulls/comments/45895097","id":45895097,"diff_hunk":"@@ -0,0 +1,96 @@\n+(function () {","path":"src/services/eventManager.js","position":1,"original_position":1,"commit_id":"d34bfc8ab7e0f68bece10b33896d5f7120dd92c7","original_commit_id":"d34bfc8ab7e0f68bece10b33896d5f7120dd92c7","user":{"login":"jessertaylor","id":2971832,"avatar_url":"https://avatars.githubusercontent.com/u/2971832?v=3","gravatar_id":"","url":"https://api.github.com/users/jessertaylor","html_url":"https://github.com/jessertaylor","followers_url":"https://api.github.com/users/jessertaylor/followers","following_url":"https://api.github.com/users/jessertaylor/following{/other_user}","gists_url":"https://api.github.com/users/jessertaylor/gists{/gist_id}","starred_url":"https://api.github.com/users/jessertaylor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jessertaylor/subscriptions","organizations_url":"https://api.github.com/users/jessertaylor/orgs","repos_url":"https://api.github.com/users/jessertaylor/repos","events_url":"https://api.github.com/users/jessertaylor/events{/privacy}","received_events_url":"https://api.github.com/users/jessertaylor/received_events","type":"User","site_admin":false},"body":"I am planning to add the dispatches for the the ui-leaflet-label plugin to listen for, once i've pushed that it will be a good example.","created_at":"2015-11-25T17:25:42Z","updated_at":"2015-11-25T17:25:42Z","html_url":"https://github.com/angular-ui/ui-leaflet/pull/201#discussion_r45895097","pull_request_url":"https://api.github.com/repos/angular-ui/ui-leaflet/pulls/201","_links":{"self":{"href":"https://api.github.com/repos/angular-ui/ui-leaflet/pulls/comments/45895097"},"html":{"href":"https://github.com/angular-ui/ui-leaflet/pull/201#discussion_r45895097"},"pull_request":{"href":"https://api.github.com/repos/angular-ui/ui-leaflet/pulls/201"}}},"pull_request":{"url":"https://api.github.com/repos/angular-ui/ui-leaflet/pulls/201","id":51803361,"html_url":"https://github.com/angular-ui/ui-leaflet/pull/201","diff_url":"https://github.com/angular-ui/ui-leaflet/pull/201.diff","patch_url":"https://github.com/angular-ui/ui-leaflet/pull/201.patch","issue_url":"https://api.github.com/repos/angular-ui/ui-leaflet/issues/201","number":201,"state":"open","locked":false,"title":"feat(EventManager): Added an event manager for plugin modularization","user":{"login":"jessertaylor","id":2971832,"avatar_url":"https://avatars.githubusercontent.com/u/2971832?v=3","gravatar_id":"","url":"https://api.github.com/users/jessertaylor","html_url":"https://github.com/jessertaylor","followers_url":"https://api.github.com/users/jessertaylor/followers","following_url":"https://api.github.com/users/jessertaylor/following{/other_user}","gists_url":"https://api.github.com/users/jessertaylor/gists{/gist_id}","starred_url":"https://api.github.com/users/jessertaylor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jessertaylor/subscriptions","organizations_url":"https://api.github.com/users/jessertaylor/orgs","repos_url":"https://api.github.com/users/jessertaylor/repos","events_url":"https://api.github.com/users/jessertaylor/events{/privacy}","received_events_url":"https://api.github.com/users/jessertaylor/received_events","type":"User","site_admin":false},"body":"…aflet modularization refactor. It allows us to dispatch/trigger events for our plugins to listen for.","created_at":"2015-11-25T14:52:06Z","updated_at":"2015-11-25T17:25:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"99c42f1bd8e7ee8bf9c0846876d04b2da9610642","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/angular-ui/ui-leaflet/pulls/201/commits","review_comments_url":"https://api.github.com/repos/angular-ui/ui-leaflet/pulls/201/comments","review_comment_url":"https://api.github.com/repos/angular-ui/ui-leaflet/pulls/comments{/number}","comments_url":"https://api.github.com/repos/angular-ui/ui-leaflet/issues/201/comments","statuses_url":"https://api.github.com/repos/angular-ui/ui-leaflet/statuses/d34bfc8ab7e0f68bece10b33896d5f7120dd92c7","head":{"label":"jessertaylor:master","ref":"master","sha":"d34bfc8ab7e0f68bece10b33896d5f7120dd92c7","user":{"login":"jessertaylor","id":2971832,"avatar_url":"https://avatars.githubusercontent.com/u/2971832?v=3","gravatar_id":"","url":"https://api.github.com/users/jessertaylor","html_url":"https://github.com/jessertaylor","followers_url":"https://api.github.com/users/jessertaylor/followers","following_url":"https://api.github.com/users/jessertaylor/following{/other_user}","gists_url":"https://api.github.com/users/jessertaylor/gists{/gist_id}","starred_url":"https://api.github.com/users/jessertaylor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jessertaylor/subscriptions","organizations_url":"https://api.github.com/users/jessertaylor/orgs","repos_url":"https://api.github.com/users/jessertaylor/repos","events_url":"https://api.github.com/users/jessertaylor/events{/privacy}","received_events_url":"https://api.github.com/users/jessertaylor/received_events","type":"User","site_admin":false},"repo":{"id":46855685,"name":"ui-leaflet","full_name":"jessertaylor/ui-leaflet","owner":{"login":"jessertaylor","id":2971832,"avatar_url":"https://avatars.githubusercontent.com/u/2971832?v=3","gravatar_id":"","url":"https://api.github.com/users/jessertaylor","html_url":"https://github.com/jessertaylor","followers_url":"https://api.github.com/users/jessertaylor/followers","following_url":"https://api.github.com/users/jessertaylor/following{/other_user}","gists_url":"https://api.github.com/users/jessertaylor/gists{/gist_id}","starred_url":"https://api.github.com/users/jessertaylor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jessertaylor/subscriptions","organizations_url":"https://api.github.com/users/jessertaylor/orgs","repos_url":"https://api.github.com/users/jessertaylor/repos","events_url":"https://api.github.com/users/jessertaylor/events{/privacy}","received_events_url":"https://api.github.com/users/jessertaylor/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jessertaylor/ui-leaflet","description":"AngularJS directive to embed an interact with maps managed by Leaflet library","fork":true,"url":"https://api.github.com/repos/jessertaylor/ui-leaflet","forks_url":"https://api.github.com/repos/jessertaylor/ui-leaflet/forks","keys_url":"https://api.github.com/repos/jessertaylor/ui-leaflet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jessertaylor/ui-leaflet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jessertaylor/ui-leaflet/teams","hooks_url":"https://api.github.com/repos/jessertaylor/ui-leaflet/hooks","issue_events_url":"https://api.github.com/repos/jessertaylor/ui-leaflet/issues/events{/number}","events_url":"https://api.github.com/repos/jessertaylor/ui-leaflet/events","assignees_url":"https://api.github.com/repos/jessertaylor/ui-leaflet/assignees{/user}","branches_url":"https://api.github.com/repos/jessertaylor/ui-leaflet/branches{/branch}","tags_url":"https://api.github.com/repos/jessertaylor/ui-leaflet/tags","blobs_url":"https://api.github.com/repos/jessertaylor/ui-leaflet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jessertaylor/ui-leaflet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jessertaylor/ui-leaflet/git/refs{/sha}","trees_url":"https://api.github.com/repos/jessertaylor/ui-leaflet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jessertaylor/ui-leaflet/statuses/{sha}","languages_url":"https://api.github.com/repos/jessertaylor/ui-leaflet/languages","stargazers_url":"https://api.github.com/repos/jessertaylor/ui-leaflet/stargazers","contributors_url":"https://api.github.com/repos/jessertaylor/ui-leaflet/contributors","subscribers_url":"https://api.github.com/repos/jessertaylor/ui-leaflet/subscribers","subscription_url":"https://api.github.com/repos/jessertaylor/ui-leaflet/subscription","commits_url":"https://api.github.com/repos/jessertaylor/ui-leaflet/commits{/sha}","git_commits_url":"https://api.github.com/repos/jessertaylor/ui-leaflet/git/commits{/sha}","comments_url":"https://api.github.com/repos/jessertaylor/ui-leaflet/comments{/number}","issue_comment_url":"https://api.github.com/repos/jessertaylor/ui-leaflet/issues/comments{/number}","contents_url":"https://api.github.com/repos/jessertaylor/ui-leaflet/contents/{+path}","compare_url":"https://api.github.com/repos/jessertaylor/ui-leaflet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jessertaylor/ui-leaflet/merges","archive_url":"https://api.github.com/repos/jessertaylor/ui-leaflet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jessertaylor/ui-leaflet/downloads","issues_url":"https://api.github.com/repos/jessertaylor/ui-leaflet/issues{/number}","pulls_url":"https://api.github.com/repos/jessertaylor/ui-leaflet/pulls{/number}","milestones_url":"https://api.github.com/repos/jessertaylor/ui-leaflet/milestones{/number}","notifications_url":"https://api.github.com/repos/jessertaylor/ui-leaflet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jessertaylor/ui-leaflet/labels{/name}","releases_url":"https://api.github.com/repos/jessertaylor/ui-leaflet/releases{/id}","created_at":"2015-11-25T10:49:21Z","updated_at":"2015-11-25T10:49:24Z","pushed_at":"2015-11-25T14:51:37Z","git_url":"git://github.com/jessertaylor/ui-leaflet.git","ssh_url":"git@github.com:jessertaylor/ui-leaflet.git","clone_url":"https://github.com/jessertaylor/ui-leaflet.git","svn_url":"https://github.com/jessertaylor/ui-leaflet","homepage":"http://angular-ui.github.io/ui-leaflet","size":27921,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"angular-ui:master","ref":"master","sha":"f6db50e138c528beb0941e9c0cf2df99f44e6d0c","user":{"login":"angular-ui","id":1530011,"avatar_url":"https://avatars.githubusercontent.com/u/1530011?v=3","gravatar_id":"","url":"https://api.github.com/users/angular-ui","html_url":"https://github.com/angular-ui","followers_url":"https://api.github.com/users/angular-ui/followers","following_url":"https://api.github.com/users/angular-ui/following{/other_user}","gists_url":"https://api.github.com/users/angular-ui/gists{/gist_id}","starred_url":"https://api.github.com/users/angular-ui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular-ui/subscriptions","organizations_url":"https://api.github.com/users/angular-ui/orgs","repos_url":"https://api.github.com/users/angular-ui/repos","events_url":"https://api.github.com/users/angular-ui/events{/privacy}","received_events_url":"https://api.github.com/users/angular-ui/received_events","type":"Organization","site_admin":false},"repo":{"id":45187834,"name":"ui-leaflet","full_name":"angular-ui/ui-leaflet","owner":{"login":"angular-ui","id":1530011,"avatar_url":"https://avatars.githubusercontent.com/u/1530011?v=3","gravatar_id":"","url":"https://api.github.com/users/angular-ui","html_url":"https://github.com/angular-ui","followers_url":"https://api.github.com/users/angular-ui/followers","following_url":"https://api.github.com/users/angular-ui/following{/other_user}","gists_url":"https://api.github.com/users/angular-ui/gists{/gist_id}","starred_url":"https://api.github.com/users/angular-ui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular-ui/subscriptions","organizations_url":"https://api.github.com/users/angular-ui/orgs","repos_url":"https://api.github.com/users/angular-ui/repos","events_url":"https://api.github.com/users/angular-ui/events{/privacy}","received_events_url":"https://api.github.com/users/angular-ui/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/angular-ui/ui-leaflet","description":"AngularJS directive to embed an interact with maps managed by Leaflet library","fork":false,"url":"https://api.github.com/repos/angular-ui/ui-leaflet","forks_url":"https://api.github.com/repos/angular-ui/ui-leaflet/forks","keys_url":"https://api.github.com/repos/angular-ui/ui-leaflet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/angular-ui/ui-leaflet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/angular-ui/ui-leaflet/teams","hooks_url":"https://api.github.com/repos/angular-ui/ui-leaflet/hooks","issue_events_url":"https://api.github.com/repos/angular-ui/ui-leaflet/issues/events{/number}","events_url":"https://api.github.com/repos/angular-ui/ui-leaflet/events","assignees_url":"https://api.github.com/repos/angular-ui/ui-leaflet/assignees{/user}","branches_url":"https://api.github.com/repos/angular-ui/ui-leaflet/branches{/branch}","tags_url":"https://api.github.com/repos/angular-ui/ui-leaflet/tags","blobs_url":"https://api.github.com/repos/angular-ui/ui-leaflet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/angular-ui/ui-leaflet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/angular-ui/ui-leaflet/git/refs{/sha}","trees_url":"https://api.github.com/repos/angular-ui/ui-leaflet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/angular-ui/ui-leaflet/statuses/{sha}","languages_url":"https://api.github.com/repos/angular-ui/ui-leaflet/languages","stargazers_url":"https://api.github.com/repos/angular-ui/ui-leaflet/stargazers","contributors_url":"https://api.github.com/repos/angular-ui/ui-leaflet/contributors","subscribers_url":"https://api.github.com/repos/angular-ui/ui-leaflet/subscribers","subscription_url":"https://api.github.com/repos/angular-ui/ui-leaflet/subscription","commits_url":"https://api.github.com/repos/angular-ui/ui-leaflet/commits{/sha}","git_commits_url":"https://api.github.com/repos/angular-ui/ui-leaflet/git/commits{/sha}","comments_url":"https://api.github.com/repos/angular-ui/ui-leaflet/comments{/number}","issue_comment_url":"https://api.github.com/repos/angular-ui/ui-leaflet/issues/comments{/number}","contents_url":"https://api.github.com/repos/angular-ui/ui-leaflet/contents/{+path}","compare_url":"https://api.github.com/repos/angular-ui/ui-leaflet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/angular-ui/ui-leaflet/merges","archive_url":"https://api.github.com/repos/angular-ui/ui-leaflet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/angular-ui/ui-leaflet/downloads","issues_url":"https://api.github.com/repos/angular-ui/ui-leaflet/issues{/number}","pulls_url":"https://api.github.com/repos/angular-ui/ui-leaflet/pulls{/number}","milestones_url":"https://api.github.com/repos/angular-ui/ui-leaflet/milestones{/number}","notifications_url":"https://api.github.com/repos/angular-ui/ui-leaflet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/angular-ui/ui-leaflet/labels{/name}","releases_url":"https://api.github.com/repos/angular-ui/ui-leaflet/releases{/id}","created_at":"2015-10-29T14:19:47Z","updated_at":"2015-11-25T13:46:47Z","pushed_at":"2015-11-25T14:52:07Z","git_url":"git://github.com/angular-ui/ui-leaflet.git","ssh_url":"git@github.com:angular-ui/ui-leaflet.git","clone_url":"https://github.com/angular-ui/ui-leaflet.git","svn_url":"https://github.com/angular-ui/ui-leaflet","homepage":"http://angular-ui.github.io/ui-leaflet","size":27885,"stargazers_count":48,"watchers_count":48,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":11,"mirror_url":null,"open_issues_count":151,"forks":11,"open_issues":151,"watchers":48,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/angular-ui/ui-leaflet/pulls/201"},"html":{"href":"https://github.com/angular-ui/ui-leaflet/pull/201"},"issue":{"href":"https://api.github.com/repos/angular-ui/ui-leaflet/issues/201"},"comments":{"href":"https://api.github.com/repos/angular-ui/ui-leaflet/issues/201/comments"},"review_comments":{"href":"https://api.github.com/repos/angular-ui/ui-leaflet/pulls/201/comments"},"review_comment":{"href":"https://api.github.com/repos/angular-ui/ui-leaflet/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/angular-ui/ui-leaflet/pulls/201/commits"},"statuses":{"href":"https://api.github.com/repos/angular-ui/ui-leaflet/statuses/d34bfc8ab7e0f68bece10b33896d5f7120dd92c7"}}}}