{"action":"created","comment":{"url":"https://api.github.com/repos/mayagao/framer-example/pulls/comments/72807933","id":72807933,"diff_hunk":"@@ -208,18 +213,31 @@ contentPageContent = new Layer\n \n \n generateContentPageContent = (feature) ->\n-  contentPageContent.html = \"<div class='round space-top0 pad2'><div><span class='keyline-all keyline-blue small text-blue dot'>\" + feature.properties.category + \"</span></div><div class='space-top2 big strong'>\" + \n-    feature.properties.place_name + \"</div><div class='dim space-top1'><em class=''>\" + feature.properties.address + \"</em></div><div class='inline dim'><em>Phone: \" + feature.properties.tel + \"</em></div><div class='quiet space-top1_5'>\" + feature.properties.description + \"</div><div class='space-top2'>\" + generateStar(feature.properties.review_score) + \"<span class='strong space-right0 '>\" +\n-    feature.properties.review_score + \"</span>\" + \"<span class='dim'> (\" + \n-    feature.properties.review_count + \" ratings)</span></div>\" + \"<div class='round space-top2 center strong button'>Rate this<div></div>\"\n+  contentPageContent.html = \"\"\"\n+  <div class='round space-top0 pad2'>\n+  \t<div>\n+  \t<span class='keyline-all keyline-blue small text-blue dot'>\n+  \t  #{feature.properties.category}\n+  \t</span>\n+  </div>\n+  <div class='space-top2 big strong'>#{feature.properties.place_name}</div>\n+  <div class='dim space-top1'><em class=''>#{feature.properties.address}</em></div>\n+  <div class='inline dim'><em>Phone: #{feature.properties.tel}</em></div>\n+  <div class='quiet space-top1_5'>#{feature.properties.description}</div>\n+  <div class='space-top2'>#{generateStar(feature.properties.review_score)}\n+  \t<span class='strong space-right0 '>#{feature.properties.review_score}</span>\n+  \t<span class='dim'> (#{feature.properties.review_count} ratings)</span>\n+  </div>\n+  <div class='round space-top2 center strong button'>Rate this<div></div>\n+  \"\"\"\n     \n generateStar = (rate) -> \n   rate = Number(rate)\n   stars = Math.round(rate)\n   graystars = 5 - Math.round(rate)\n   h = \"<div class='star-block inline space-right0'>\"\n-  h = h + \"<img src='images/star-blue.png' />\" for i in [0...stars]   \n-  h = h + \"<img src='images/star-gray.png' />\" for i in [0...graystars]\n+  h = h + \"<img src='images/star-blue.png' />\".repeat(stars)\n+  h = h + \"<img src='images/star-gray.png' />\".repeat(graystars)","path":"app.coffee","position":126,"original_position":126,"commit_id":"cd44668d0e83fce6090669ca915bbefb8d122f63","original_commit_id":"cd44668d0e83fce6090669ca915bbefb8d122f63","user":{"login":"mayagao","id":5186564,"avatar_url":"https://avatars.githubusercontent.com/u/5186564?v=3","gravatar_id":"","url":"https://api.github.com/users/mayagao","html_url":"https://github.com/mayagao","followers_url":"https://api.github.com/users/mayagao/followers","following_url":"https://api.github.com/users/mayagao/following{/other_user}","gists_url":"https://api.github.com/users/mayagao/gists{/gist_id}","starred_url":"https://api.github.com/users/mayagao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mayagao/subscriptions","organizations_url":"https://api.github.com/users/mayagao/orgs","repos_url":"https://api.github.com/users/mayagao/repos","events_url":"https://api.github.com/users/mayagao/events{/privacy}","received_events_url":"https://api.github.com/users/mayagao/received_events","type":"User","site_admin":false},"body":"This part does not work, change it back\r\n\r\n![screen shot 2016-07-29 at 11 09 08 am](https://cloud.githubusercontent.com/assets/5186564/17253059/11d96d10-557d-11e6-985c-8a6adbc4eb61.png)\r\n","created_at":"2016-07-29T15:10:40Z","updated_at":"2016-07-29T15:10:40Z","html_url":"https://github.com/mayagao/framer-example/pull/3#discussion_r72807933","pull_request_url":"https://api.github.com/repos/mayagao/framer-example/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/mayagao/framer-example/pulls/comments/72807933"},"html":{"href":"https://github.com/mayagao/framer-example/pull/3#discussion_r72807933"},"pull_request":{"href":"https://api.github.com/repos/mayagao/framer-example/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/mayagao/framer-example/pulls/3","id":79302785,"html_url":"https://github.com/mayagao/framer-example/pull/3","diff_url":"https://github.com/mayagao/framer-example/pull/3.diff","patch_url":"https://github.com/mayagao/framer-example/pull/3.patch","issue_url":"https://api.github.com/repos/mayagao/framer-example/issues/3","number":3,"state":"closed","locked":false,"title":"Embrace coffeescripty syntax","user":{"login":"tmcw","id":32314,"avatar_url":"https://avatars.githubusercontent.com/u/32314?v=3","gravatar_id":"","url":"https://api.github.com/users/tmcw","html_url":"https://github.com/tmcw","followers_url":"https://api.github.com/users/tmcw/followers","following_url":"https://api.github.com/users/tmcw/following{/other_user}","gists_url":"https://api.github.com/users/tmcw/gists{/gist_id}","starred_url":"https://api.github.com/users/tmcw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmcw/subscriptions","organizations_url":"https://api.github.com/users/tmcw/orgs","repos_url":"https://api.github.com/users/tmcw/repos","events_url":"https://api.github.com/users/tmcw/events{/privacy}","received_events_url":"https://api.github.com/users/tmcw/received_events","type":"User","site_admin":false},"body":"cc @mayagao for the review. Nothing that major, just using \"\"\" sections where appropriate","created_at":"2016-07-29T03:43:44Z","updated_at":"2016-07-29T15:10:40Z","closed_at":"2016-07-29T14:55:52Z","merged_at":"2016-07-29T14:55:52Z","merge_commit_sha":"f16a844e1ce17934cf58d82ab5c1bc47639f92b5","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/mayagao/framer-example/pulls/3/commits","review_comments_url":"https://api.github.com/repos/mayagao/framer-example/pulls/3/comments","review_comment_url":"https://api.github.com/repos/mayagao/framer-example/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mayagao/framer-example/issues/3/comments","statuses_url":"https://api.github.com/repos/mayagao/framer-example/statuses/cd44668d0e83fce6090669ca915bbefb8d122f63","head":{"label":"mapbox:fresh-coffee","ref":"fresh-coffee","sha":"cd44668d0e83fce6090669ca915bbefb8d122f63","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":64448159,"name":"framer-example","full_name":"mapbox/framer-example","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/framer-example","description":"Build Framer prototypes with Mapbox tools","fork":true,"url":"https://api.github.com/repos/mapbox/framer-example","forks_url":"https://api.github.com/repos/mapbox/framer-example/forks","keys_url":"https://api.github.com/repos/mapbox/framer-example/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mapbox/framer-example/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mapbox/framer-example/teams","hooks_url":"https://api.github.com/repos/mapbox/framer-example/hooks","issue_events_url":"https://api.github.com/repos/mapbox/framer-example/issues/events{/number}","events_url":"https://api.github.com/repos/mapbox/framer-example/events","assignees_url":"https://api.github.com/repos/mapbox/framer-example/assignees{/user}","branches_url":"https://api.github.com/repos/mapbox/framer-example/branches{/branch}","tags_url":"https://api.github.com/repos/mapbox/framer-example/tags","blobs_url":"https://api.github.com/repos/mapbox/framer-example/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mapbox/framer-example/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mapbox/framer-example/git/refs{/sha}","trees_url":"https://api.github.com/repos/mapbox/framer-example/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mapbox/framer-example/statuses/{sha}","languages_url":"https://api.github.com/repos/mapbox/framer-example/languages","stargazers_url":"https://api.github.com/repos/mapbox/framer-example/stargazers","contributors_url":"https://api.github.com/repos/mapbox/framer-example/contributors","subscribers_url":"https://api.github.com/repos/mapbox/framer-example/subscribers","subscription_url":"https://api.github.com/repos/mapbox/framer-example/subscription","commits_url":"https://api.github.com/repos/mapbox/framer-example/commits{/sha}","git_commits_url":"https://api.github.com/repos/mapbox/framer-example/git/commits{/sha}","comments_url":"https://api.github.com/repos/mapbox/framer-example/comments{/number}","issue_comment_url":"https://api.github.com/repos/mapbox/framer-example/issues/comments{/number}","contents_url":"https://api.github.com/repos/mapbox/framer-example/contents/{+path}","compare_url":"https://api.github.com/repos/mapbox/framer-example/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mapbox/framer-example/merges","archive_url":"https://api.github.com/repos/mapbox/framer-example/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mapbox/framer-example/downloads","issues_url":"https://api.github.com/repos/mapbox/framer-example/issues{/number}","pulls_url":"https://api.github.com/repos/mapbox/framer-example/pulls{/number}","milestones_url":"https://api.github.com/repos/mapbox/framer-example/milestones{/number}","notifications_url":"https://api.github.com/repos/mapbox/framer-example/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mapbox/framer-example/labels{/name}","releases_url":"https://api.github.com/repos/mapbox/framer-example/releases{/id}","deployments_url":"https://api.github.com/repos/mapbox/framer-example/deployments","created_at":"2016-07-29T03:42:43Z","updated_at":"2016-07-29T03:43:23Z","pushed_at":"2016-07-29T14:55:54Z","git_url":"git://github.com/mapbox/framer-example.git","ssh_url":"git@github.com:mapbox/framer-example.git","clone_url":"https://github.com/mapbox/framer-example.git","svn_url":"https://github.com/mapbox/framer-example","homepage":null,"size":4487,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"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":"mayagao:master","ref":"master","sha":"5b5e4427ca857806fc760c82007ac3377a118cf4","user":{"login":"mayagao","id":5186564,"avatar_url":"https://avatars.githubusercontent.com/u/5186564?v=3","gravatar_id":"","url":"https://api.github.com/users/mayagao","html_url":"https://github.com/mayagao","followers_url":"https://api.github.com/users/mayagao/followers","following_url":"https://api.github.com/users/mayagao/following{/other_user}","gists_url":"https://api.github.com/users/mayagao/gists{/gist_id}","starred_url":"https://api.github.com/users/mayagao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mayagao/subscriptions","organizations_url":"https://api.github.com/users/mayagao/orgs","repos_url":"https://api.github.com/users/mayagao/repos","events_url":"https://api.github.com/users/mayagao/events{/privacy}","received_events_url":"https://api.github.com/users/mayagao/received_events","type":"User","site_admin":false},"repo":{"id":64352686,"name":"framer-example","full_name":"mayagao/framer-example","owner":{"login":"mayagao","id":5186564,"avatar_url":"https://avatars.githubusercontent.com/u/5186564?v=3","gravatar_id":"","url":"https://api.github.com/users/mayagao","html_url":"https://github.com/mayagao","followers_url":"https://api.github.com/users/mayagao/followers","following_url":"https://api.github.com/users/mayagao/following{/other_user}","gists_url":"https://api.github.com/users/mayagao/gists{/gist_id}","starred_url":"https://api.github.com/users/mayagao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mayagao/subscriptions","organizations_url":"https://api.github.com/users/mayagao/orgs","repos_url":"https://api.github.com/users/mayagao/repos","events_url":"https://api.github.com/users/mayagao/events{/privacy}","received_events_url":"https://api.github.com/users/mayagao/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mayagao/framer-example","description":"Build Framer prototypes with Mapbox tools","fork":false,"url":"https://api.github.com/repos/mayagao/framer-example","forks_url":"https://api.github.com/repos/mayagao/framer-example/forks","keys_url":"https://api.github.com/repos/mayagao/framer-example/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mayagao/framer-example/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mayagao/framer-example/teams","hooks_url":"https://api.github.com/repos/mayagao/framer-example/hooks","issue_events_url":"https://api.github.com/repos/mayagao/framer-example/issues/events{/number}","events_url":"https://api.github.com/repos/mayagao/framer-example/events","assignees_url":"https://api.github.com/repos/mayagao/framer-example/assignees{/user}","branches_url":"https://api.github.com/repos/mayagao/framer-example/branches{/branch}","tags_url":"https://api.github.com/repos/mayagao/framer-example/tags","blobs_url":"https://api.github.com/repos/mayagao/framer-example/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mayagao/framer-example/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mayagao/framer-example/git/refs{/sha}","trees_url":"https://api.github.com/repos/mayagao/framer-example/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mayagao/framer-example/statuses/{sha}","languages_url":"https://api.github.com/repos/mayagao/framer-example/languages","stargazers_url":"https://api.github.com/repos/mayagao/framer-example/stargazers","contributors_url":"https://api.github.com/repos/mayagao/framer-example/contributors","subscribers_url":"https://api.github.com/repos/mayagao/framer-example/subscribers","subscription_url":"https://api.github.com/repos/mayagao/framer-example/subscription","commits_url":"https://api.github.com/repos/mayagao/framer-example/commits{/sha}","git_commits_url":"https://api.github.com/repos/mayagao/framer-example/git/commits{/sha}","comments_url":"https://api.github.com/repos/mayagao/framer-example/comments{/number}","issue_comment_url":"https://api.github.com/repos/mayagao/framer-example/issues/comments{/number}","contents_url":"https://api.github.com/repos/mayagao/framer-example/contents/{+path}","compare_url":"https://api.github.com/repos/mayagao/framer-example/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mayagao/framer-example/merges","archive_url":"https://api.github.com/repos/mayagao/framer-example/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mayagao/framer-example/downloads","issues_url":"https://api.github.com/repos/mayagao/framer-example/issues{/number}","pulls_url":"https://api.github.com/repos/mayagao/framer-example/pulls{/number}","milestones_url":"https://api.github.com/repos/mayagao/framer-example/milestones{/number}","notifications_url":"https://api.github.com/repos/mayagao/framer-example/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mayagao/framer-example/labels{/name}","releases_url":"https://api.github.com/repos/mayagao/framer-example/releases{/id}","deployments_url":"https://api.github.com/repos/mayagao/framer-example/deployments","created_at":"2016-07-28T01:07:05Z","updated_at":"2016-07-29T13:28:51Z","pushed_at":"2016-07-29T14:55:52Z","git_url":"git://github.com/mayagao/framer-example.git","ssh_url":"git@github.com:mayagao/framer-example.git","clone_url":"https://github.com/mayagao/framer-example.git","svn_url":"https://github.com/mayagao/framer-example","homepage":null,"size":4486,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mayagao/framer-example/pulls/3"},"html":{"href":"https://github.com/mayagao/framer-example/pull/3"},"issue":{"href":"https://api.github.com/repos/mayagao/framer-example/issues/3"},"comments":{"href":"https://api.github.com/repos/mayagao/framer-example/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/mayagao/framer-example/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/mayagao/framer-example/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mayagao/framer-example/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/mayagao/framer-example/statuses/cd44668d0e83fce6090669ca915bbefb8d122f63"}}}}
{"actor":{"display_login":"mayagao"}}