{"action":"created","comment":{"url":"https://api.github.com/repos/uber/deck.gl/pulls/comments/201521920","pull_request_review_id":136041437,"id":201521920,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMTUyMTkyMA==","diff_hunk":"@@ -362,7 +362,8 @@ export default class Deck {\n   // Get the view descriptor list\n   _getViews(props) {\n     // Default to a full screen map view port\n-    const views = props.views || [new MapView({id: 'default-view'})];\n+    let views = props.views || [new MapView({id: 'default-view'})];\n+    views = views instanceof Array ? views : [views];","path":"modules/core/src/lib/deck.js","position":6,"original_position":6,"commit_id":"792be3a4cbb74b4b4e3165956b389cfb96ba6a5c","original_commit_id":"792be3a4cbb74b4b4e3165956b389cfb96ba6a5c","user":{"login":"Pessimistress","id":2059298,"node_id":"MDQ6VXNlcjIwNTkyOTg=","avatar_url":"https://avatars2.githubusercontent.com/u/2059298?v=4","gravatar_id":"","url":"https://api.github.com/users/Pessimistress","html_url":"https://github.com/Pessimistress","followers_url":"https://api.github.com/users/Pessimistress/followers","following_url":"https://api.github.com/users/Pessimistress/following{/other_user}","gists_url":"https://api.github.com/users/Pessimistress/gists{/gist_id}","starred_url":"https://api.github.com/users/Pessimistress/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pessimistress/subscriptions","organizations_url":"https://api.github.com/users/Pessimistress/orgs","repos_url":"https://api.github.com/users/Pessimistress/repos","events_url":"https://api.github.com/users/Pessimistress/events{/privacy}","received_events_url":"https://api.github.com/users/Pessimistress/received_events","type":"User","site_admin":false},"body":"Use `Array.isArray`","created_at":"2018-07-10T23:03:13Z","updated_at":"2018-07-10T23:03:37Z","html_url":"https://github.com/uber/deck.gl/pull/2021#discussion_r201521920","pull_request_url":"https://api.github.com/repos/uber/deck.gl/pulls/2021","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/uber/deck.gl/pulls/comments/201521920"},"html":{"href":"https://github.com/uber/deck.gl/pull/2021#discussion_r201521920"},"pull_request":{"href":"https://api.github.com/repos/uber/deck.gl/pulls/2021"}}},"pull_request":{"url":"https://api.github.com/repos/uber/deck.gl/pulls/2021","id":200545502,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAwNTQ1NTAy","html_url":"https://github.com/uber/deck.gl/pull/2021","diff_url":"https://github.com/uber/deck.gl/pull/2021.diff","patch_url":"https://github.com/uber/deck.gl/pull/2021.patch","issue_url":"https://api.github.com/repos/uber/deck.gl/issues/2021","number":2021,"state":"open","locked":false,"title":"Fix plot example","user":{"login":"jianhuang01","id":15093546,"node_id":"MDQ6VXNlcjE1MDkzNTQ2","avatar_url":"https://avatars0.githubusercontent.com/u/15093546?v=4","gravatar_id":"","url":"https://api.github.com/users/jianhuang01","html_url":"https://github.com/jianhuang01","followers_url":"https://api.github.com/users/jianhuang01/followers","following_url":"https://api.github.com/users/jianhuang01/following{/other_user}","gists_url":"https://api.github.com/users/jianhuang01/gists{/gist_id}","starred_url":"https://api.github.com/users/jianhuang01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jianhuang01/subscriptions","organizations_url":"https://api.github.com/users/jianhuang01/orgs","repos_url":"https://api.github.com/users/jianhuang01/repos","events_url":"https://api.github.com/users/jianhuang01/events{/privacy}","received_events_url":"https://api.github.com/users/jianhuang01/received_events","type":"User","site_admin":false},"body":"<!-- For feature, feature enhancement or bug fix, create an issue first and finish To Do List there -->\r\n<!-- Anything doesn't work as expected is a bug, including code, doc and test -->\r\nFor #1873\r\n<!-- For other PRs without open issue -->\r\n#### Change List\r\n- cast view object to array\r\n","created_at":"2018-07-10T22:56:57Z","updated_at":"2018-07-10T23:03:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8ab9fd45addb6a85b772dbf1e4a55c6cc55615dd","assignee":null,"assignees":[],"requested_reviewers":[{"login":"1chandu","id":9502731,"node_id":"MDQ6VXNlcjk1MDI3MzE=","avatar_url":"https://avatars3.githubusercontent.com/u/9502731?v=4","gravatar_id":"","url":"https://api.github.com/users/1chandu","html_url":"https://github.com/1chandu","followers_url":"https://api.github.com/users/1chandu/followers","following_url":"https://api.github.com/users/1chandu/following{/other_user}","gists_url":"https://api.github.com/users/1chandu/gists{/gist_id}","starred_url":"https://api.github.com/users/1chandu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1chandu/subscriptions","organizations_url":"https://api.github.com/users/1chandu/orgs","repos_url":"https://api.github.com/users/1chandu/repos","events_url":"https://api.github.com/users/1chandu/events{/privacy}","received_events_url":"https://api.github.com/users/1chandu/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":832786759,"node_id":"MDU6TGFiZWw4MzI3ODY3NTk=","url":"https://api.github.com/repos/uber/deck.gl/labels/code","name":"code","color":"e0ef97","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/uber/deck.gl/pulls/2021/commits","review_comments_url":"https://api.github.com/repos/uber/deck.gl/pulls/2021/comments","review_comment_url":"https://api.github.com/repos/uber/deck.gl/pulls/comments{/number}","comments_url":"https://api.github.com/repos/uber/deck.gl/issues/2021/comments","statuses_url":"https://api.github.com/repos/uber/deck.gl/statuses/792be3a4cbb74b4b4e3165956b389cfb96ba6a5c","head":{"label":"uber:fix-plot-example","ref":"fix-plot-example","sha":"792be3a4cbb74b4b4e3165956b389cfb96ba6a5c","user":{"login":"uber","id":538264,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUzODI2NA==","avatar_url":"https://avatars3.githubusercontent.com/u/538264?v=4","gravatar_id":"","url":"https://api.github.com/users/uber","html_url":"https://github.com/uber","followers_url":"https://api.github.com/users/uber/followers","following_url":"https://api.github.com/users/uber/following{/other_user}","gists_url":"https://api.github.com/users/uber/gists{/gist_id}","starred_url":"https://api.github.com/users/uber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uber/subscriptions","organizations_url":"https://api.github.com/users/uber/orgs","repos_url":"https://api.github.com/users/uber/repos","events_url":"https://api.github.com/users/uber/events{/privacy}","received_events_url":"https://api.github.com/users/uber/received_events","type":"Organization","site_admin":false},"repo":{"id":48030204,"node_id":"MDEwOlJlcG9zaXRvcnk0ODAzMDIwNA==","name":"deck.gl","full_name":"uber/deck.gl","owner":{"login":"uber","id":538264,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUzODI2NA==","avatar_url":"https://avatars3.githubusercontent.com/u/538264?v=4","gravatar_id":"","url":"https://api.github.com/users/uber","html_url":"https://github.com/uber","followers_url":"https://api.github.com/users/uber/followers","following_url":"https://api.github.com/users/uber/following{/other_user}","gists_url":"https://api.github.com/users/uber/gists{/gist_id}","starred_url":"https://api.github.com/users/uber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uber/subscriptions","organizations_url":"https://api.github.com/users/uber/orgs","repos_url":"https://api.github.com/users/uber/repos","events_url":"https://api.github.com/users/uber/events{/privacy}","received_events_url":"https://api.github.com/users/uber/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/uber/deck.gl","description":"WebGL2 powered geospatial visualization layers","fork":false,"url":"https://api.github.com/repos/uber/deck.gl","forks_url":"https://api.github.com/repos/uber/deck.gl/forks","keys_url":"https://api.github.com/repos/uber/deck.gl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/uber/deck.gl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/uber/deck.gl/teams","hooks_url":"https://api.github.com/repos/uber/deck.gl/hooks","issue_events_url":"https://api.github.com/repos/uber/deck.gl/issues/events{/number}","events_url":"https://api.github.com/repos/uber/deck.gl/events","assignees_url":"https://api.github.com/repos/uber/deck.gl/assignees{/user}","branches_url":"https://api.github.com/repos/uber/deck.gl/branches{/branch}","tags_url":"https://api.github.com/repos/uber/deck.gl/tags","blobs_url":"https://api.github.com/repos/uber/deck.gl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/uber/deck.gl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/uber/deck.gl/git/refs{/sha}","trees_url":"https://api.github.com/repos/uber/deck.gl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/uber/deck.gl/statuses/{sha}","languages_url":"https://api.github.com/repos/uber/deck.gl/languages","stargazers_url":"https://api.github.com/repos/uber/deck.gl/stargazers","contributors_url":"https://api.github.com/repos/uber/deck.gl/contributors","subscribers_url":"https://api.github.com/repos/uber/deck.gl/subscribers","subscription_url":"https://api.github.com/repos/uber/deck.gl/subscription","commits_url":"https://api.github.com/repos/uber/deck.gl/commits{/sha}","git_commits_url":"https://api.github.com/repos/uber/deck.gl/git/commits{/sha}","comments_url":"https://api.github.com/repos/uber/deck.gl/comments{/number}","issue_comment_url":"https://api.github.com/repos/uber/deck.gl/issues/comments{/number}","contents_url":"https://api.github.com/repos/uber/deck.gl/contents/{+path}","compare_url":"https://api.github.com/repos/uber/deck.gl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/uber/deck.gl/merges","archive_url":"https://api.github.com/repos/uber/deck.gl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/uber/deck.gl/downloads","issues_url":"https://api.github.com/repos/uber/deck.gl/issues{/number}","pulls_url":"https://api.github.com/repos/uber/deck.gl/pulls{/number}","milestones_url":"https://api.github.com/repos/uber/deck.gl/milestones{/number}","notifications_url":"https://api.github.com/repos/uber/deck.gl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/uber/deck.gl/labels{/name}","releases_url":"https://api.github.com/repos/uber/deck.gl/releases{/id}","deployments_url":"https://api.github.com/repos/uber/deck.gl/deployments","created_at":"2015-12-15T08:38:29Z","updated_at":"2018-07-10T22:46:34Z","pushed_at":"2018-07-10T22:56:58Z","git_url":"git://github.com/uber/deck.gl.git","ssh_url":"git@github.com:uber/deck.gl.git","clone_url":"https://github.com/uber/deck.gl.git","svn_url":"https://github.com/uber/deck.gl","homepage":"http://uber.github.io/deck.gl","size":120867,"stargazers_count":4809,"watchers_count":4809,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":661,"mirror_url":null,"archived":false,"open_issues_count":104,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":661,"open_issues":104,"watchers":4809,"default_branch":"master"}},"base":{"label":"uber:master","ref":"master","sha":"abb42a8a08ea9aa16990355bba8b1c2e9497ea23","user":{"login":"uber","id":538264,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUzODI2NA==","avatar_url":"https://avatars3.githubusercontent.com/u/538264?v=4","gravatar_id":"","url":"https://api.github.com/users/uber","html_url":"https://github.com/uber","followers_url":"https://api.github.com/users/uber/followers","following_url":"https://api.github.com/users/uber/following{/other_user}","gists_url":"https://api.github.com/users/uber/gists{/gist_id}","starred_url":"https://api.github.com/users/uber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uber/subscriptions","organizations_url":"https://api.github.com/users/uber/orgs","repos_url":"https://api.github.com/users/uber/repos","events_url":"https://api.github.com/users/uber/events{/privacy}","received_events_url":"https://api.github.com/users/uber/received_events","type":"Organization","site_admin":false},"repo":{"id":48030204,"node_id":"MDEwOlJlcG9zaXRvcnk0ODAzMDIwNA==","name":"deck.gl","full_name":"uber/deck.gl","owner":{"login":"uber","id":538264,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUzODI2NA==","avatar_url":"https://avatars3.githubusercontent.com/u/538264?v=4","gravatar_id":"","url":"https://api.github.com/users/uber","html_url":"https://github.com/uber","followers_url":"https://api.github.com/users/uber/followers","following_url":"https://api.github.com/users/uber/following{/other_user}","gists_url":"https://api.github.com/users/uber/gists{/gist_id}","starred_url":"https://api.github.com/users/uber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uber/subscriptions","organizations_url":"https://api.github.com/users/uber/orgs","repos_url":"https://api.github.com/users/uber/repos","events_url":"https://api.github.com/users/uber/events{/privacy}","received_events_url":"https://api.github.com/users/uber/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/uber/deck.gl","description":"WebGL2 powered geospatial visualization layers","fork":false,"url":"https://api.github.com/repos/uber/deck.gl","forks_url":"https://api.github.com/repos/uber/deck.gl/forks","keys_url":"https://api.github.com/repos/uber/deck.gl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/uber/deck.gl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/uber/deck.gl/teams","hooks_url":"https://api.github.com/repos/uber/deck.gl/hooks","issue_events_url":"https://api.github.com/repos/uber/deck.gl/issues/events{/number}","events_url":"https://api.github.com/repos/uber/deck.gl/events","assignees_url":"https://api.github.com/repos/uber/deck.gl/assignees{/user}","branches_url":"https://api.github.com/repos/uber/deck.gl/branches{/branch}","tags_url":"https://api.github.com/repos/uber/deck.gl/tags","blobs_url":"https://api.github.com/repos/uber/deck.gl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/uber/deck.gl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/uber/deck.gl/git/refs{/sha}","trees_url":"https://api.github.com/repos/uber/deck.gl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/uber/deck.gl/statuses/{sha}","languages_url":"https://api.github.com/repos/uber/deck.gl/languages","stargazers_url":"https://api.github.com/repos/uber/deck.gl/stargazers","contributors_url":"https://api.github.com/repos/uber/deck.gl/contributors","subscribers_url":"https://api.github.com/repos/uber/deck.gl/subscribers","subscription_url":"https://api.github.com/repos/uber/deck.gl/subscription","commits_url":"https://api.github.com/repos/uber/deck.gl/commits{/sha}","git_commits_url":"https://api.github.com/repos/uber/deck.gl/git/commits{/sha}","comments_url":"https://api.github.com/repos/uber/deck.gl/comments{/number}","issue_comment_url":"https://api.github.com/repos/uber/deck.gl/issues/comments{/number}","contents_url":"https://api.github.com/repos/uber/deck.gl/contents/{+path}","compare_url":"https://api.github.com/repos/uber/deck.gl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/uber/deck.gl/merges","archive_url":"https://api.github.com/repos/uber/deck.gl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/uber/deck.gl/downloads","issues_url":"https://api.github.com/repos/uber/deck.gl/issues{/number}","pulls_url":"https://api.github.com/repos/uber/deck.gl/pulls{/number}","milestones_url":"https://api.github.com/repos/uber/deck.gl/milestones{/number}","notifications_url":"https://api.github.com/repos/uber/deck.gl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/uber/deck.gl/labels{/name}","releases_url":"https://api.github.com/repos/uber/deck.gl/releases{/id}","deployments_url":"https://api.github.com/repos/uber/deck.gl/deployments","created_at":"2015-12-15T08:38:29Z","updated_at":"2018-07-10T22:46:34Z","pushed_at":"2018-07-10T22:56:58Z","git_url":"git://github.com/uber/deck.gl.git","ssh_url":"git@github.com:uber/deck.gl.git","clone_url":"https://github.com/uber/deck.gl.git","svn_url":"https://github.com/uber/deck.gl","homepage":"http://uber.github.io/deck.gl","size":120867,"stargazers_count":4809,"watchers_count":4809,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":661,"mirror_url":null,"archived":false,"open_issues_count":104,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":661,"open_issues":104,"watchers":4809,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/uber/deck.gl/pulls/2021"},"html":{"href":"https://github.com/uber/deck.gl/pull/2021"},"issue":{"href":"https://api.github.com/repos/uber/deck.gl/issues/2021"},"comments":{"href":"https://api.github.com/repos/uber/deck.gl/issues/2021/comments"},"review_comments":{"href":"https://api.github.com/repos/uber/deck.gl/pulls/2021/comments"},"review_comment":{"href":"https://api.github.com/repos/uber/deck.gl/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/uber/deck.gl/pulls/2021/commits"},"statuses":{"href":"https://api.github.com/repos/uber/deck.gl/statuses/792be3a4cbb74b4b4e3165956b389cfb96ba6a5c"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"Pessimistress"}}