{"action":"opened","number":36,"pull_request":{"url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/pulls/36","id":55782286,"html_url":"https://github.com/socib/Leaflet.TimeDimension/pull/36","diff_url":"https://github.com/socib/Leaflet.TimeDimension/pull/36.diff","patch_url":"https://github.com/socib/Leaflet.TimeDimension/pull/36.patch","issue_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/issues/36","number":36,"state":"open","locked":false,"title":"Use baseLayer constructor to create a new Layer","user":{"login":"ram-one","id":137285,"avatar_url":"https://avatars.githubusercontent.com/u/137285?v=3","gravatar_id":"","url":"https://api.github.com/users/ram-one","html_url":"https://github.com/ram-one","followers_url":"https://api.github.com/users/ram-one/followers","following_url":"https://api.github.com/users/ram-one/following{/other_user}","gists_url":"https://api.github.com/users/ram-one/gists{/gist_id}","starred_url":"https://api.github.com/users/ram-one/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ram-one/subscriptions","organizations_url":"https://api.github.com/users/ram-one/orgs","repos_url":"https://api.github.com/users/ram-one/repos","events_url":"https://api.github.com/users/ram-one/events{/privacy}","received_events_url":"https://api.github.com/users/ram-one/received_events","type":"User","site_admin":false},"body":"instead of guessing it with instanceof, we use the real one.\r\n\r\nThis allows to use subclasses of L.WMS and L.NT.WMS as base layer.\r\n(or any layer that implements mandatory methods)","created_at":"2016-01-12T16:33:55Z","updated_at":"2016-01-12T16:33:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/pulls/36/commits","review_comments_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/pulls/36/comments","review_comment_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/pulls/comments{/number}","comments_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/issues/36/comments","statuses_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/statuses/5749eee5613644a80851d93a5a130217b29d92c8","head":{"label":"ram-one:feature/generic-instanciate","ref":"feature/generic-instanciate","sha":"5749eee5613644a80851d93a5a130217b29d92c8","user":{"login":"ram-one","id":137285,"avatar_url":"https://avatars.githubusercontent.com/u/137285?v=3","gravatar_id":"","url":"https://api.github.com/users/ram-one","html_url":"https://github.com/ram-one","followers_url":"https://api.github.com/users/ram-one/followers","following_url":"https://api.github.com/users/ram-one/following{/other_user}","gists_url":"https://api.github.com/users/ram-one/gists{/gist_id}","starred_url":"https://api.github.com/users/ram-one/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ram-one/subscriptions","organizations_url":"https://api.github.com/users/ram-one/orgs","repos_url":"https://api.github.com/users/ram-one/repos","events_url":"https://api.github.com/users/ram-one/events{/privacy}","received_events_url":"https://api.github.com/users/ram-one/received_events","type":"User","site_admin":false},"repo":{"id":48033103,"name":"Leaflet.TimeDimension","full_name":"ram-one/Leaflet.TimeDimension","owner":{"login":"ram-one","id":137285,"avatar_url":"https://avatars.githubusercontent.com/u/137285?v=3","gravatar_id":"","url":"https://api.github.com/users/ram-one","html_url":"https://github.com/ram-one","followers_url":"https://api.github.com/users/ram-one/followers","following_url":"https://api.github.com/users/ram-one/following{/other_user}","gists_url":"https://api.github.com/users/ram-one/gists{/gist_id}","starred_url":"https://api.github.com/users/ram-one/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ram-one/subscriptions","organizations_url":"https://api.github.com/users/ram-one/orgs","repos_url":"https://api.github.com/users/ram-one/repos","events_url":"https://api.github.com/users/ram-one/events{/privacy}","received_events_url":"https://api.github.com/users/ram-one/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ram-one/Leaflet.TimeDimension","description":"Add time dimension capabilities on a Leaflet map. ","fork":true,"url":"https://api.github.com/repos/ram-one/Leaflet.TimeDimension","forks_url":"https://api.github.com/repos/ram-one/Leaflet.TimeDimension/forks","keys_url":"https://api.github.com/repos/ram-one/Leaflet.TimeDimension/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ram-one/Leaflet.TimeDimension/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ram-one/Leaflet.TimeDimension/teams","hooks_url":"https://api.github.com/repos/ram-one/Leaflet.TimeDimension/hooks","issue_events_url":"https://api.github.com/repos/ram-one/Leaflet.TimeDimension/issues/events{/number}","events_url":"https://api.github.com/repos/ram-one/Leaflet.TimeDimension/events","assignees_url":"https://api.github.com/repos/ram-one/Leaflet.TimeDimension/assignees{/user}","branches_url":"https://api.github.com/repos/ram-one/Leaflet.TimeDimension/branches{/branch}","tags_url":"https://api.github.com/repos/ram-one/Leaflet.TimeDimension/tags","blobs_url":"https://api.github.com/repos/ram-one/Leaflet.TimeDimension/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ram-one/Leaflet.TimeDimension/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ram-one/Leaflet.TimeDimension/git/refs{/sha}","trees_url":"https://api.github.com/repos/ram-one/Leaflet.TimeDimension/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ram-one/Leaflet.TimeDimension/statuses/{sha}","languages_url":"https://api.github.com/repos/ram-one/Leaflet.TimeDimension/languages","stargazers_url":"https://api.github.com/repos/ram-one/Leaflet.TimeDimension/stargazers","contributors_url":"https://api.github.com/repos/ram-one/Leaflet.TimeDimension/contributors","subscribers_url":"https://api.github.com/repos/ram-one/Leaflet.TimeDimension/subscribers","subscription_url":"https://api.github.com/repos/ram-one/Leaflet.TimeDimension/subscription","commits_url":"https://api.github.com/repos/ram-one/Leaflet.TimeDimension/commits{/sha}","git_commits_url":"https://api.github.com/repos/ram-one/Leaflet.TimeDimension/git/commits{/sha}","comments_url":"https://api.github.com/repos/ram-one/Leaflet.TimeDimension/comments{/number}","issue_comment_url":"https://api.github.com/repos/ram-one/Leaflet.TimeDimension/issues/comments{/number}","contents_url":"https://api.github.com/repos/ram-one/Leaflet.TimeDimension/contents/{+path}","compare_url":"https://api.github.com/repos/ram-one/Leaflet.TimeDimension/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ram-one/Leaflet.TimeDimension/merges","archive_url":"https://api.github.com/repos/ram-one/Leaflet.TimeDimension/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ram-one/Leaflet.TimeDimension/downloads","issues_url":"https://api.github.com/repos/ram-one/Leaflet.TimeDimension/issues{/number}","pulls_url":"https://api.github.com/repos/ram-one/Leaflet.TimeDimension/pulls{/number}","milestones_url":"https://api.github.com/repos/ram-one/Leaflet.TimeDimension/milestones{/number}","notifications_url":"https://api.github.com/repos/ram-one/Leaflet.TimeDimension/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ram-one/Leaflet.TimeDimension/labels{/name}","releases_url":"https://api.github.com/repos/ram-one/Leaflet.TimeDimension/releases{/id}","created_at":"2015-12-15T09:32:24Z","updated_at":"2016-01-12T16:26:53Z","pushed_at":"2016-01-12T16:29:15Z","git_url":"git://github.com/ram-one/Leaflet.TimeDimension.git","ssh_url":"git@github.com:ram-one/Leaflet.TimeDimension.git","clone_url":"https://github.com/ram-one/Leaflet.TimeDimension.git","svn_url":"https://github.com/ram-one/Leaflet.TimeDimension","homepage":null,"size":1641,"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":"socib:master","ref":"master","sha":"fc2ebc6491c54c5ff9656d9a6287c4e1fc648c26","user":{"login":"socib","id":1684812,"avatar_url":"https://avatars.githubusercontent.com/u/1684812?v=3","gravatar_id":"","url":"https://api.github.com/users/socib","html_url":"https://github.com/socib","followers_url":"https://api.github.com/users/socib/followers","following_url":"https://api.github.com/users/socib/following{/other_user}","gists_url":"https://api.github.com/users/socib/gists{/gist_id}","starred_url":"https://api.github.com/users/socib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/socib/subscriptions","organizations_url":"https://api.github.com/users/socib/orgs","repos_url":"https://api.github.com/users/socib/repos","events_url":"https://api.github.com/users/socib/events{/privacy}","received_events_url":"https://api.github.com/users/socib/received_events","type":"Organization","site_admin":false},"repo":{"id":28227752,"name":"Leaflet.TimeDimension","full_name":"socib/Leaflet.TimeDimension","owner":{"login":"socib","id":1684812,"avatar_url":"https://avatars.githubusercontent.com/u/1684812?v=3","gravatar_id":"","url":"https://api.github.com/users/socib","html_url":"https://github.com/socib","followers_url":"https://api.github.com/users/socib/followers","following_url":"https://api.github.com/users/socib/following{/other_user}","gists_url":"https://api.github.com/users/socib/gists{/gist_id}","starred_url":"https://api.github.com/users/socib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/socib/subscriptions","organizations_url":"https://api.github.com/users/socib/orgs","repos_url":"https://api.github.com/users/socib/repos","events_url":"https://api.github.com/users/socib/events{/privacy}","received_events_url":"https://api.github.com/users/socib/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/socib/Leaflet.TimeDimension","description":"Add time dimension capabilities on a Leaflet map. ","fork":false,"url":"https://api.github.com/repos/socib/Leaflet.TimeDimension","forks_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/forks","keys_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/keys{/key_id}","collaborators_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/teams","hooks_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/hooks","issue_events_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/issues/events{/number}","events_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/events","assignees_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/assignees{/user}","branches_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/branches{/branch}","tags_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/tags","blobs_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/git/refs{/sha}","trees_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/git/trees{/sha}","statuses_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/statuses/{sha}","languages_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/languages","stargazers_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/stargazers","contributors_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/contributors","subscribers_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/subscribers","subscription_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/subscription","commits_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/commits{/sha}","git_commits_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/git/commits{/sha}","comments_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/comments{/number}","issue_comment_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/issues/comments{/number}","contents_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/contents/{+path}","compare_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/compare/{base}...{head}","merges_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/merges","archive_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/downloads","issues_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/issues{/number}","pulls_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/pulls{/number}","milestones_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/milestones{/number}","notifications_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/labels{/name}","releases_url":"https://api.github.com/repos/socib/Leaflet.TimeDimension/releases{/id}","created_at":"2014-12-19T11:59:28Z","updated_at":"2016-01-07T17:23:51Z","pushed_at":"2016-01-07T14:02:07Z","git_url":"git://github.com/socib/Leaflet.TimeDimension.git","ssh_url":"git@github.com:socib/Leaflet.TimeDimension.git","clone_url":"https://github.com/socib/Leaflet.TimeDimension.git","svn_url":"https://github.com/socib/Leaflet.TimeDimension","homepage":null,"size":1647,"stargazers_count":55,"watchers_count":55,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":7,"forks":9,"open_issues":7,"watchers":55,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/socib/Leaflet.TimeDimension/pulls/36"},"html":{"href":"https://github.com/socib/Leaflet.TimeDimension/pull/36"},"issue":{"href":"https://api.github.com/repos/socib/Leaflet.TimeDimension/issues/36"},"comments":{"href":"https://api.github.com/repos/socib/Leaflet.TimeDimension/issues/36/comments"},"review_comments":{"href":"https://api.github.com/repos/socib/Leaflet.TimeDimension/pulls/36/comments"},"review_comment":{"href":"https://api.github.com/repos/socib/Leaflet.TimeDimension/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/socib/Leaflet.TimeDimension/pulls/36/commits"},"statuses":{"href":"https://api.github.com/repos/socib/Leaflet.TimeDimension/statuses/5749eee5613644a80851d93a5a130217b29d92c8"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":6,"changed_files":1}}