{"action":"opened","number":11,"pull_request":{"url":"https://api.github.com/repos/CliffCloud/Leaflet.Sleep/pulls/11","id":63965471,"html_url":"https://github.com/CliffCloud/Leaflet.Sleep/pull/11","diff_url":"https://github.com/CliffCloud/Leaflet.Sleep/pull/11.diff","patch_url":"https://github.com/CliffCloud/Leaflet.Sleep/pull/11.patch","issue_url":"https://api.github.com/repos/CliffCloud/Leaflet.Sleep/issues/11","number":11,"state":"open","locked":false,"title":"Improve documentation and add a package.json file","user":{"login":"juliengirault","id":6180320,"avatar_url":"https://avatars.githubusercontent.com/u/6180320?v=3","gravatar_id":"","url":"https://api.github.com/users/juliengirault","html_url":"https://github.com/juliengirault","followers_url":"https://api.github.com/users/juliengirault/followers","following_url":"https://api.github.com/users/juliengirault/following{/other_user}","gists_url":"https://api.github.com/users/juliengirault/gists{/gist_id}","starred_url":"https://api.github.com/users/juliengirault/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juliengirault/subscriptions","organizations_url":"https://api.github.com/users/juliengirault/orgs","repos_url":"https://api.github.com/users/juliengirault/repos","events_url":"https://api.github.com/users/juliengirault/events{/privacy}","received_events_url":"https://api.github.com/users/juliengirault/received_events","type":"User","site_admin":false},"body":"Here a few suggestions:\r\n* I think this plugin should be made available via `npm`.\r\n    * Introduced package.json\r\n    * Removed `L.Map.mergeOptions()` from the plugin itself.\r\n        * My suggestion would be to give these options actual default values, so the developer only has to override what he wants?\r\n    * **Helps importing the plugin in local project**.\r\n    * **Helps version tracking/upgrading**.\r\n\r\n* I documented the README *config* section a bit differently","created_at":"2016-03-23T22:49:11Z","updated_at":"2016-03-23T22:49:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/CliffCloud/Leaflet.Sleep/pulls/11/commits","review_comments_url":"https://api.github.com/repos/CliffCloud/Leaflet.Sleep/pulls/11/comments","review_comment_url":"https://api.github.com/repos/CliffCloud/Leaflet.Sleep/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CliffCloud/Leaflet.Sleep/issues/11/comments","statuses_url":"https://api.github.com/repos/CliffCloud/Leaflet.Sleep/statuses/0b890f46a0db56c41af42d67f6f275207de6de7d","head":{"label":"juliengirault:improve_docs","ref":"improve_docs","sha":"0b890f46a0db56c41af42d67f6f275207de6de7d","user":{"login":"juliengirault","id":6180320,"avatar_url":"https://avatars.githubusercontent.com/u/6180320?v=3","gravatar_id":"","url":"https://api.github.com/users/juliengirault","html_url":"https://github.com/juliengirault","followers_url":"https://api.github.com/users/juliengirault/followers","following_url":"https://api.github.com/users/juliengirault/following{/other_user}","gists_url":"https://api.github.com/users/juliengirault/gists{/gist_id}","starred_url":"https://api.github.com/users/juliengirault/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juliengirault/subscriptions","organizations_url":"https://api.github.com/users/juliengirault/orgs","repos_url":"https://api.github.com/users/juliengirault/repos","events_url":"https://api.github.com/users/juliengirault/events{/privacy}","received_events_url":"https://api.github.com/users/juliengirault/received_events","type":"User","site_admin":false},"repo":{"id":54587802,"name":"Leaflet.Sleep","full_name":"juliengirault/Leaflet.Sleep","owner":{"login":"juliengirault","id":6180320,"avatar_url":"https://avatars.githubusercontent.com/u/6180320?v=3","gravatar_id":"","url":"https://api.github.com/users/juliengirault","html_url":"https://github.com/juliengirault","followers_url":"https://api.github.com/users/juliengirault/followers","following_url":"https://api.github.com/users/juliengirault/following{/other_user}","gists_url":"https://api.github.com/users/juliengirault/gists{/gist_id}","starred_url":"https://api.github.com/users/juliengirault/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juliengirault/subscriptions","organizations_url":"https://api.github.com/users/juliengirault/orgs","repos_url":"https://api.github.com/users/juliengirault/repos","events_url":"https://api.github.com/users/juliengirault/events{/privacy}","received_events_url":"https://api.github.com/users/juliengirault/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/juliengirault/Leaflet.Sleep","description":"Prevent unwanted scroll capturing; let you map sleep","fork":true,"url":"https://api.github.com/repos/juliengirault/Leaflet.Sleep","forks_url":"https://api.github.com/repos/juliengirault/Leaflet.Sleep/forks","keys_url":"https://api.github.com/repos/juliengirault/Leaflet.Sleep/keys{/key_id}","collaborators_url":"https://api.github.com/repos/juliengirault/Leaflet.Sleep/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/juliengirault/Leaflet.Sleep/teams","hooks_url":"https://api.github.com/repos/juliengirault/Leaflet.Sleep/hooks","issue_events_url":"https://api.github.com/repos/juliengirault/Leaflet.Sleep/issues/events{/number}","events_url":"https://api.github.com/repos/juliengirault/Leaflet.Sleep/events","assignees_url":"https://api.github.com/repos/juliengirault/Leaflet.Sleep/assignees{/user}","branches_url":"https://api.github.com/repos/juliengirault/Leaflet.Sleep/branches{/branch}","tags_url":"https://api.github.com/repos/juliengirault/Leaflet.Sleep/tags","blobs_url":"https://api.github.com/repos/juliengirault/Leaflet.Sleep/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/juliengirault/Leaflet.Sleep/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/juliengirault/Leaflet.Sleep/git/refs{/sha}","trees_url":"https://api.github.com/repos/juliengirault/Leaflet.Sleep/git/trees{/sha}","statuses_url":"https://api.github.com/repos/juliengirault/Leaflet.Sleep/statuses/{sha}","languages_url":"https://api.github.com/repos/juliengirault/Leaflet.Sleep/languages","stargazers_url":"https://api.github.com/repos/juliengirault/Leaflet.Sleep/stargazers","contributors_url":"https://api.github.com/repos/juliengirault/Leaflet.Sleep/contributors","subscribers_url":"https://api.github.com/repos/juliengirault/Leaflet.Sleep/subscribers","subscription_url":"https://api.github.com/repos/juliengirault/Leaflet.Sleep/subscription","commits_url":"https://api.github.com/repos/juliengirault/Leaflet.Sleep/commits{/sha}","git_commits_url":"https://api.github.com/repos/juliengirault/Leaflet.Sleep/git/commits{/sha}","comments_url":"https://api.github.com/repos/juliengirault/Leaflet.Sleep/comments{/number}","issue_comment_url":"https://api.github.com/repos/juliengirault/Leaflet.Sleep/issues/comments{/number}","contents_url":"https://api.github.com/repos/juliengirault/Leaflet.Sleep/contents/{+path}","compare_url":"https://api.github.com/repos/juliengirault/Leaflet.Sleep/compare/{base}...{head}","merges_url":"https://api.github.com/repos/juliengirault/Leaflet.Sleep/merges","archive_url":"https://api.github.com/repos/juliengirault/Leaflet.Sleep/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/juliengirault/Leaflet.Sleep/downloads","issues_url":"https://api.github.com/repos/juliengirault/Leaflet.Sleep/issues{/number}","pulls_url":"https://api.github.com/repos/juliengirault/Leaflet.Sleep/pulls{/number}","milestones_url":"https://api.github.com/repos/juliengirault/Leaflet.Sleep/milestones{/number}","notifications_url":"https://api.github.com/repos/juliengirault/Leaflet.Sleep/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/juliengirault/Leaflet.Sleep/labels{/name}","releases_url":"https://api.github.com/repos/juliengirault/Leaflet.Sleep/releases{/id}","deployments_url":"https://api.github.com/repos/juliengirault/Leaflet.Sleep/deployments","created_at":"2016-03-23T19:35:30Z","updated_at":"2016-03-23T19:35:31Z","pushed_at":"2016-03-23T22:41:25Z","git_url":"git://github.com/juliengirault/Leaflet.Sleep.git","ssh_url":"git@github.com:juliengirault/Leaflet.Sleep.git","clone_url":"https://github.com/juliengirault/Leaflet.Sleep.git","svn_url":"https://github.com/juliengirault/Leaflet.Sleep","homepage":"http://cliffcloud.github.io/Leaflet.Sleep/","size":15,"stargazers_count":0,"watchers_count":0,"language":"HTML","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":"CliffCloud:master","ref":"master","sha":"d0f97b2ea5275adeb2710417af75242684165dba","user":{"login":"CliffCloud","id":6981666,"avatar_url":"https://avatars.githubusercontent.com/u/6981666?v=3","gravatar_id":"","url":"https://api.github.com/users/CliffCloud","html_url":"https://github.com/CliffCloud","followers_url":"https://api.github.com/users/CliffCloud/followers","following_url":"https://api.github.com/users/CliffCloud/following{/other_user}","gists_url":"https://api.github.com/users/CliffCloud/gists{/gist_id}","starred_url":"https://api.github.com/users/CliffCloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CliffCloud/subscriptions","organizations_url":"https://api.github.com/users/CliffCloud/orgs","repos_url":"https://api.github.com/users/CliffCloud/repos","events_url":"https://api.github.com/users/CliffCloud/events{/privacy}","received_events_url":"https://api.github.com/users/CliffCloud/received_events","type":"Organization","site_admin":false},"repo":{"id":24315150,"name":"Leaflet.Sleep","full_name":"CliffCloud/Leaflet.Sleep","owner":{"login":"CliffCloud","id":6981666,"avatar_url":"https://avatars.githubusercontent.com/u/6981666?v=3","gravatar_id":"","url":"https://api.github.com/users/CliffCloud","html_url":"https://github.com/CliffCloud","followers_url":"https://api.github.com/users/CliffCloud/followers","following_url":"https://api.github.com/users/CliffCloud/following{/other_user}","gists_url":"https://api.github.com/users/CliffCloud/gists{/gist_id}","starred_url":"https://api.github.com/users/CliffCloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CliffCloud/subscriptions","organizations_url":"https://api.github.com/users/CliffCloud/orgs","repos_url":"https://api.github.com/users/CliffCloud/repos","events_url":"https://api.github.com/users/CliffCloud/events{/privacy}","received_events_url":"https://api.github.com/users/CliffCloud/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CliffCloud/Leaflet.Sleep","description":"Prevent unwanted scroll capturing; let you map sleep","fork":false,"url":"https://api.github.com/repos/CliffCloud/Leaflet.Sleep","forks_url":"https://api.github.com/repos/CliffCloud/Leaflet.Sleep/forks","keys_url":"https://api.github.com/repos/CliffCloud/Leaflet.Sleep/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CliffCloud/Leaflet.Sleep/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CliffCloud/Leaflet.Sleep/teams","hooks_url":"https://api.github.com/repos/CliffCloud/Leaflet.Sleep/hooks","issue_events_url":"https://api.github.com/repos/CliffCloud/Leaflet.Sleep/issues/events{/number}","events_url":"https://api.github.com/repos/CliffCloud/Leaflet.Sleep/events","assignees_url":"https://api.github.com/repos/CliffCloud/Leaflet.Sleep/assignees{/user}","branches_url":"https://api.github.com/repos/CliffCloud/Leaflet.Sleep/branches{/branch}","tags_url":"https://api.github.com/repos/CliffCloud/Leaflet.Sleep/tags","blobs_url":"https://api.github.com/repos/CliffCloud/Leaflet.Sleep/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CliffCloud/Leaflet.Sleep/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CliffCloud/Leaflet.Sleep/git/refs{/sha}","trees_url":"https://api.github.com/repos/CliffCloud/Leaflet.Sleep/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CliffCloud/Leaflet.Sleep/statuses/{sha}","languages_url":"https://api.github.com/repos/CliffCloud/Leaflet.Sleep/languages","stargazers_url":"https://api.github.com/repos/CliffCloud/Leaflet.Sleep/stargazers","contributors_url":"https://api.github.com/repos/CliffCloud/Leaflet.Sleep/contributors","subscribers_url":"https://api.github.com/repos/CliffCloud/Leaflet.Sleep/subscribers","subscription_url":"https://api.github.com/repos/CliffCloud/Leaflet.Sleep/subscription","commits_url":"https://api.github.com/repos/CliffCloud/Leaflet.Sleep/commits{/sha}","git_commits_url":"https://api.github.com/repos/CliffCloud/Leaflet.Sleep/git/commits{/sha}","comments_url":"https://api.github.com/repos/CliffCloud/Leaflet.Sleep/comments{/number}","issue_comment_url":"https://api.github.com/repos/CliffCloud/Leaflet.Sleep/issues/comments{/number}","contents_url":"https://api.github.com/repos/CliffCloud/Leaflet.Sleep/contents/{+path}","compare_url":"https://api.github.com/repos/CliffCloud/Leaflet.Sleep/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CliffCloud/Leaflet.Sleep/merges","archive_url":"https://api.github.com/repos/CliffCloud/Leaflet.Sleep/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CliffCloud/Leaflet.Sleep/downloads","issues_url":"https://api.github.com/repos/CliffCloud/Leaflet.Sleep/issues{/number}","pulls_url":"https://api.github.com/repos/CliffCloud/Leaflet.Sleep/pulls{/number}","milestones_url":"https://api.github.com/repos/CliffCloud/Leaflet.Sleep/milestones{/number}","notifications_url":"https://api.github.com/repos/CliffCloud/Leaflet.Sleep/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CliffCloud/Leaflet.Sleep/labels{/name}","releases_url":"https://api.github.com/repos/CliffCloud/Leaflet.Sleep/releases{/id}","deployments_url":"https://api.github.com/repos/CliffCloud/Leaflet.Sleep/deployments","created_at":"2014-09-22T05:14:58Z","updated_at":"2016-03-23T00:18:27Z","pushed_at":"2016-03-22T08:16:57Z","git_url":"git://github.com/CliffCloud/Leaflet.Sleep.git","ssh_url":"git@github.com:CliffCloud/Leaflet.Sleep.git","clone_url":"https://github.com/CliffCloud/Leaflet.Sleep.git","svn_url":"https://github.com/CliffCloud/Leaflet.Sleep","homepage":"http://cliffcloud.github.io/Leaflet.Sleep/","size":14,"stargazers_count":21,"watchers_count":21,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":8,"mirror_url":null,"open_issues_count":3,"forks":8,"open_issues":3,"watchers":21,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CliffCloud/Leaflet.Sleep/pulls/11"},"html":{"href":"https://github.com/CliffCloud/Leaflet.Sleep/pull/11"},"issue":{"href":"https://api.github.com/repos/CliffCloud/Leaflet.Sleep/issues/11"},"comments":{"href":"https://api.github.com/repos/CliffCloud/Leaflet.Sleep/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/CliffCloud/Leaflet.Sleep/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/CliffCloud/Leaflet.Sleep/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CliffCloud/Leaflet.Sleep/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/CliffCloud/Leaflet.Sleep/statuses/0b890f46a0db56c41af42d67f6f275207de6de7d"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":71,"deletions":26,"changed_files":3}}