{"action":"created","comment":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/pulls/comments/82486193","pull_request_review_id":3394086,"id":82486193,"diff_hunk":"@@ -245,6 +250,27 @@ function diffLayers(before, after, commands) {\n     }\n }\n \n+function diffLight(before, after, commands) {\n+    before = before || {};\n+    after = after || {};\n+\n+    var lightProps = ['anchor', 'direction', 'color', 'intensity'];\n+\n+    var newProps = {};\n+\n+    for (var i in lightProps) {","path":"lib/diff.js","position":null,"original_position":26,"commit_id":"0df913b4d4d6d94aaef742e0183658c7e109dc49","original_commit_id":"462b98ef687ee202ac8cc7812356ae27b68993fc","user":{"login":"lbud","id":3170312,"avatar_url":"https://avatars.githubusercontent.com/u/3170312?v=3","gravatar_id":"","url":"https://api.github.com/users/lbud","html_url":"https://github.com/lbud","followers_url":"https://api.github.com/users/lbud/followers","following_url":"https://api.github.com/users/lbud/following{/other_user}","gists_url":"https://api.github.com/users/lbud/gists{/gist_id}","starred_url":"https://api.github.com/users/lbud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lbud/subscriptions","organizations_url":"https://api.github.com/users/lbud/orgs","repos_url":"https://api.github.com/users/lbud/repos","events_url":"https://api.github.com/users/lbud/events{/privacy}","received_events_url":"https://api.github.com/users/lbud/received_events","type":"User","site_admin":false},"body":"/giphy grool\r\ndone","created_at":"2016-10-07T23:28:53Z","updated_at":"2016-10-07T23:28:53Z","html_url":"https://github.com/mapbox/mapbox-gl-style-spec/pull/495#discussion_r82486193","pull_request_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/pulls/495","_links":{"self":{"href":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/pulls/comments/82486193"},"html":{"href":"https://github.com/mapbox/mapbox-gl-style-spec/pull/495#discussion_r82486193"},"pull_request":{"href":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/pulls/495"}}},"pull_request":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/pulls/495","id":85638639,"html_url":"https://github.com/mapbox/mapbox-gl-style-spec/pull/495","diff_url":"https://github.com/mapbox/mapbox-gl-style-spec/pull/495.diff","patch_url":"https://github.com/mapbox/mapbox-gl-style-spec/pull/495.patch","issue_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/issues/495","number":495,"state":"open","locked":false,"title":"Add fill-extrude-height, fill-extrude-base, and light root property","user":{"login":"lbud","id":3170312,"avatar_url":"https://avatars.githubusercontent.com/u/3170312?v=3","gravatar_id":"","url":"https://api.github.com/users/lbud","html_url":"https://github.com/lbud","followers_url":"https://api.github.com/users/lbud/followers","following_url":"https://api.github.com/users/lbud/following{/other_user}","gists_url":"https://api.github.com/users/lbud/gists{/gist_id}","starred_url":"https://api.github.com/users/lbud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lbud/subscriptions","organizations_url":"https://api.github.com/users/lbud/orgs","repos_url":"https://api.github.com/users/lbud/repos","events_url":"https://api.github.com/users/lbud/events{/privacy}","received_events_url":"https://api.github.com/users/lbud/received_events","type":"User","site_admin":false},"body":"This\r\n* adds `fill-extrude-height` and `fill-extrude-base` as fill layer paint properties\r\n* adds a `light` root object with the following properties, for use in lighting extruded features:\r\n  * `anchor`\r\n  * `color`\r\n  * `direction`\r\n  * `intensity`\r\n\r\nPart of https://github.com/mapbox/mapbox-gl-js/issues/684, result of discussion on https://github.com/mapbox/mapbox-gl-style-spec/issues/456.\r\n\r\ncc @lucaswoj @jfirebaugh @mourner @mollymerp @scothis @nickidlugash ","created_at":"2016-09-16T20:56:16Z","updated_at":"2016-10-07T23:28:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"211dae028c0a8ac6c3e63ff63c1e49d145eec5b5","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/pulls/495/commits","review_comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/pulls/495/comments","review_comment_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/issues/495/comments","statuses_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/statuses/0df913b4d4d6d94aaef742e0183658c7e109dc49","head":{"label":"mapbox:buildings","ref":"buildings","sha":"0df913b4d4d6d94aaef742e0183658c7e109dc49","user":{"login":"mapbox","id":600935,"avatar_url":"https://avatars.githubusercontent.com/u/600935?v=3","gravatar_id":"","url":"https://api.github.com/users/mapbox","html_url":"https://github.com/mapbox","followers_url":"https://api.github.com/users/mapbox/followers","following_url":"https://api.github.com/users/mapbox/following{/other_user}","gists_url":"https://api.github.com/users/mapbox/gists{/gist_id}","starred_url":"https://api.github.com/users/mapbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapbox/subscriptions","organizations_url":"https://api.github.com/users/mapbox/orgs","repos_url":"https://api.github.com/users/mapbox/repos","events_url":"https://api.github.com/users/mapbox/events{/privacy}","received_events_url":"https://api.github.com/users/mapbox/received_events","type":"Organization","site_admin":false},"repo":{"id":18402447,"name":"mapbox-gl-style-spec","full_name":"mapbox/mapbox-gl-style-spec","owner":{"login":"mapbox","id":600935,"avatar_url":"https://avatars.githubusercontent.com/u/600935?v=3","gravatar_id":"","url":"https://api.github.com/users/mapbox","html_url":"https://github.com/mapbox","followers_url":"https://api.github.com/users/mapbox/followers","following_url":"https://api.github.com/users/mapbox/following{/other_user}","gists_url":"https://api.github.com/users/mapbox/gists{/gist_id}","starred_url":"https://api.github.com/users/mapbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapbox/subscriptions","organizations_url":"https://api.github.com/users/mapbox/orgs","repos_url":"https://api.github.com/users/mapbox/repos","events_url":"https://api.github.com/users/mapbox/events{/privacy}","received_events_url":"https://api.github.com/users/mapbox/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mapbox/mapbox-gl-style-spec","description":"The Mapbox Style Specification","fork":false,"url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec","forks_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/forks","keys_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/teams","hooks_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/hooks","issue_events_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/issues/events{/number}","events_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/events","assignees_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/assignees{/user}","branches_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/branches{/branch}","tags_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/tags","blobs_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/git/refs{/sha}","trees_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/statuses/{sha}","languages_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/languages","stargazers_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/stargazers","contributors_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/contributors","subscribers_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/subscribers","subscription_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/subscription","commits_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/commits{/sha}","git_commits_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/git/commits{/sha}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/comments{/number}","issue_comment_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/issues/comments{/number}","contents_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/contents/{+path}","compare_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/merges","archive_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/downloads","issues_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/issues{/number}","pulls_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/pulls{/number}","milestones_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/milestones{/number}","notifications_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/labels{/name}","releases_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/releases{/id}","deployments_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/deployments","created_at":"2014-04-03T12:37:39Z","updated_at":"2016-10-05T19:15:45Z","pushed_at":"2016-10-07T23:28:02Z","git_url":"git://github.com/mapbox/mapbox-gl-style-spec.git","ssh_url":"git@github.com:mapbox/mapbox-gl-style-spec.git","clone_url":"https://github.com/mapbox/mapbox-gl-style-spec.git","svn_url":"https://github.com/mapbox/mapbox-gl-style-spec","homepage":"https://www.mapbox.com/mapbox-gl-style-spec/","size":1955,"stargazers_count":63,"watchers_count":63,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":22,"mirror_url":null,"open_issues_count":88,"forks":22,"open_issues":88,"watchers":63,"default_branch":"mb-pages"}},"base":{"label":"mapbox:mb-pages","ref":"mb-pages","sha":"4252a2406750b8ec5dc15978d699eefe0cf69dea","user":{"login":"mapbox","id":600935,"avatar_url":"https://avatars.githubusercontent.com/u/600935?v=3","gravatar_id":"","url":"https://api.github.com/users/mapbox","html_url":"https://github.com/mapbox","followers_url":"https://api.github.com/users/mapbox/followers","following_url":"https://api.github.com/users/mapbox/following{/other_user}","gists_url":"https://api.github.com/users/mapbox/gists{/gist_id}","starred_url":"https://api.github.com/users/mapbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapbox/subscriptions","organizations_url":"https://api.github.com/users/mapbox/orgs","repos_url":"https://api.github.com/users/mapbox/repos","events_url":"https://api.github.com/users/mapbox/events{/privacy}","received_events_url":"https://api.github.com/users/mapbox/received_events","type":"Organization","site_admin":false},"repo":{"id":18402447,"name":"mapbox-gl-style-spec","full_name":"mapbox/mapbox-gl-style-spec","owner":{"login":"mapbox","id":600935,"avatar_url":"https://avatars.githubusercontent.com/u/600935?v=3","gravatar_id":"","url":"https://api.github.com/users/mapbox","html_url":"https://github.com/mapbox","followers_url":"https://api.github.com/users/mapbox/followers","following_url":"https://api.github.com/users/mapbox/following{/other_user}","gists_url":"https://api.github.com/users/mapbox/gists{/gist_id}","starred_url":"https://api.github.com/users/mapbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapbox/subscriptions","organizations_url":"https://api.github.com/users/mapbox/orgs","repos_url":"https://api.github.com/users/mapbox/repos","events_url":"https://api.github.com/users/mapbox/events{/privacy}","received_events_url":"https://api.github.com/users/mapbox/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mapbox/mapbox-gl-style-spec","description":"The Mapbox Style Specification","fork":false,"url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec","forks_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/forks","keys_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/teams","hooks_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/hooks","issue_events_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/issues/events{/number}","events_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/events","assignees_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/assignees{/user}","branches_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/branches{/branch}","tags_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/tags","blobs_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/git/refs{/sha}","trees_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/statuses/{sha}","languages_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/languages","stargazers_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/stargazers","contributors_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/contributors","subscribers_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/subscribers","subscription_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/subscription","commits_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/commits{/sha}","git_commits_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/git/commits{/sha}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/comments{/number}","issue_comment_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/issues/comments{/number}","contents_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/contents/{+path}","compare_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/merges","archive_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/downloads","issues_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/issues{/number}","pulls_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/pulls{/number}","milestones_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/milestones{/number}","notifications_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/labels{/name}","releases_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/releases{/id}","deployments_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/deployments","created_at":"2014-04-03T12:37:39Z","updated_at":"2016-10-05T19:15:45Z","pushed_at":"2016-10-07T23:28:02Z","git_url":"git://github.com/mapbox/mapbox-gl-style-spec.git","ssh_url":"git@github.com:mapbox/mapbox-gl-style-spec.git","clone_url":"https://github.com/mapbox/mapbox-gl-style-spec.git","svn_url":"https://github.com/mapbox/mapbox-gl-style-spec","homepage":"https://www.mapbox.com/mapbox-gl-style-spec/","size":1955,"stargazers_count":63,"watchers_count":63,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":22,"mirror_url":null,"open_issues_count":88,"forks":22,"open_issues":88,"watchers":63,"default_branch":"mb-pages"}},"_links":{"self":{"href":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/pulls/495"},"html":{"href":"https://github.com/mapbox/mapbox-gl-style-spec/pull/495"},"issue":{"href":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/issues/495"},"comments":{"href":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/issues/495/comments"},"review_comments":{"href":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/pulls/495/comments"},"review_comment":{"href":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/pulls/495/commits"},"statuses":{"href":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/statuses/0df913b4d4d6d94aaef742e0183658c7e109dc49"}}}}
{"actor":{"display_login":"lbud"}}