{"action":"created","comment":{"url":"https://api.github.com/repos/riot/examples/pulls/comments/39376729","id":39376729,"diff_hunk":"@@ -0,0 +1,35 @@\n+<!doctype html>\n+<html>\n+\n+<head>\n+  <title>Riot Example: Pre-process LESS</title>\n+  <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n+  <link rel=\"stylesheet\" href=\"style.css\">\n+</head>\n+\n+<body>\n+  <message-one></message-one>\n+  <message-two></message-two>\n+\n+  <!-- riot tags -->\n+  <script src=\"message-one.tag\" type=\"riot/tag\"></script>\n+  <script src=\"message-two.tag\" type=\"riot/tag\"></script>\n+\n+  <!-- scripts we need -->\n+  <script src=\"https://cdn.jsdelivr.net/less/2.2.0/less.min.js\"></script>\n+  <script src=\"https://cdn.jsdelivr.net/g/riot@2.2(riot.min.js+compiler.min.js)\"></script>\n+\n+  <!-- mount this app -->\n+  <script>\n+    riot.parsers.css.less = function(tagName, css) {","path":"pre-process-less/index.html","position":24,"original_position":24,"commit_id":"d56ae4785fd53e61e67f9bb7cf0c70ccf94babe1","original_commit_id":"d56ae4785fd53e61e67f9bb7cf0c70ccf94babe1","user":{"login":"cognitom","id":16032,"avatar_url":"https://avatars.githubusercontent.com/u/16032?v=3","gravatar_id":"","url":"https://api.github.com/users/cognitom","html_url":"https://github.com/cognitom","followers_url":"https://api.github.com/users/cognitom/followers","following_url":"https://api.github.com/users/cognitom/following{/other_user}","gists_url":"https://api.github.com/users/cognitom/gists{/gist_id}","starred_url":"https://api.github.com/users/cognitom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cognitom/subscriptions","organizations_url":"https://api.github.com/users/cognitom/orgs","repos_url":"https://api.github.com/users/cognitom/repos","events_url":"https://api.github.com/users/cognitom/events{/privacy}","received_events_url":"https://api.github.com/users/cognitom/received_events","type":"User","site_admin":false},"body":"Sorry, a small point. The parameter `css` seems containing LESS...? Would it be more readable to change?\r\n- `css` --> `style`\r\n- `style` --> `css`","created_at":"2015-09-14T09:48:41Z","updated_at":"2015-09-14T09:48:41Z","html_url":"https://github.com/riot/examples/pull/13#discussion_r39376729","pull_request_url":"https://api.github.com/repos/riot/examples/pulls/13","_links":{"self":{"href":"https://api.github.com/repos/riot/examples/pulls/comments/39376729"},"html":{"href":"https://github.com/riot/examples/pull/13#discussion_r39376729"},"pull_request":{"href":"https://api.github.com/repos/riot/examples/pulls/13"}}},"pull_request":{"url":"https://api.github.com/repos/riot/examples/pulls/13","id":44909897,"html_url":"https://github.com/riot/examples/pull/13","diff_url":"https://github.com/riot/examples/pull/13.diff","patch_url":"https://github.com/riot/examples/pull/13.patch","issue_url":"https://api.github.com/repos/riot/examples/issues/13","number":13,"state":"open","locked":false,"title":"Pre-process LESS example","user":{"login":"gregorypratt","id":1453899,"avatar_url":"https://avatars.githubusercontent.com/u/1453899?v=3","gravatar_id":"","url":"https://api.github.com/users/gregorypratt","html_url":"https://github.com/gregorypratt","followers_url":"https://api.github.com/users/gregorypratt/followers","following_url":"https://api.github.com/users/gregorypratt/following{/other_user}","gists_url":"https://api.github.com/users/gregorypratt/gists{/gist_id}","starred_url":"https://api.github.com/users/gregorypratt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gregorypratt/subscriptions","organizations_url":"https://api.github.com/users/gregorypratt/orgs","repos_url":"https://api.github.com/users/gregorypratt/repos","events_url":"https://api.github.com/users/gregorypratt/events{/privacy}","received_events_url":"https://api.github.com/users/gregorypratt/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-09-14T09:37:34Z","updated_at":"2015-09-14T09:48:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2f7442559d0103fbed18ef2d5b817a48686beb46","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/riot/examples/pulls/13/commits","review_comments_url":"https://api.github.com/repos/riot/examples/pulls/13/comments","review_comment_url":"https://api.github.com/repos/riot/examples/pulls/comments{/number}","comments_url":"https://api.github.com/repos/riot/examples/issues/13/comments","statuses_url":"https://api.github.com/repos/riot/examples/statuses/d56ae4785fd53e61e67f9bb7cf0c70ccf94babe1","head":{"label":"gregorypratt:gh-pages","ref":"gh-pages","sha":"d56ae4785fd53e61e67f9bb7cf0c70ccf94babe1","user":{"login":"gregorypratt","id":1453899,"avatar_url":"https://avatars.githubusercontent.com/u/1453899?v=3","gravatar_id":"","url":"https://api.github.com/users/gregorypratt","html_url":"https://github.com/gregorypratt","followers_url":"https://api.github.com/users/gregorypratt/followers","following_url":"https://api.github.com/users/gregorypratt/following{/other_user}","gists_url":"https://api.github.com/users/gregorypratt/gists{/gist_id}","starred_url":"https://api.github.com/users/gregorypratt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gregorypratt/subscriptions","organizations_url":"https://api.github.com/users/gregorypratt/orgs","repos_url":"https://api.github.com/users/gregorypratt/repos","events_url":"https://api.github.com/users/gregorypratt/events{/privacy}","received_events_url":"https://api.github.com/users/gregorypratt/received_events","type":"User","site_admin":false},"repo":{"id":42439818,"name":"examples","full_name":"gregorypratt/examples","owner":{"login":"gregorypratt","id":1453899,"avatar_url":"https://avatars.githubusercontent.com/u/1453899?v=3","gravatar_id":"","url":"https://api.github.com/users/gregorypratt","html_url":"https://github.com/gregorypratt","followers_url":"https://api.github.com/users/gregorypratt/followers","following_url":"https://api.github.com/users/gregorypratt/following{/other_user}","gists_url":"https://api.github.com/users/gregorypratt/gists{/gist_id}","starred_url":"https://api.github.com/users/gregorypratt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gregorypratt/subscriptions","organizations_url":"https://api.github.com/users/gregorypratt/orgs","repos_url":"https://api.github.com/users/gregorypratt/repos","events_url":"https://api.github.com/users/gregorypratt/events{/privacy}","received_events_url":"https://api.github.com/users/gregorypratt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gregorypratt/examples","description":"Demos and examples for Riot and submodules","fork":true,"url":"https://api.github.com/repos/gregorypratt/examples","forks_url":"https://api.github.com/repos/gregorypratt/examples/forks","keys_url":"https://api.github.com/repos/gregorypratt/examples/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gregorypratt/examples/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gregorypratt/examples/teams","hooks_url":"https://api.github.com/repos/gregorypratt/examples/hooks","issue_events_url":"https://api.github.com/repos/gregorypratt/examples/issues/events{/number}","events_url":"https://api.github.com/repos/gregorypratt/examples/events","assignees_url":"https://api.github.com/repos/gregorypratt/examples/assignees{/user}","branches_url":"https://api.github.com/repos/gregorypratt/examples/branches{/branch}","tags_url":"https://api.github.com/repos/gregorypratt/examples/tags","blobs_url":"https://api.github.com/repos/gregorypratt/examples/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gregorypratt/examples/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gregorypratt/examples/git/refs{/sha}","trees_url":"https://api.github.com/repos/gregorypratt/examples/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gregorypratt/examples/statuses/{sha}","languages_url":"https://api.github.com/repos/gregorypratt/examples/languages","stargazers_url":"https://api.github.com/repos/gregorypratt/examples/stargazers","contributors_url":"https://api.github.com/repos/gregorypratt/examples/contributors","subscribers_url":"https://api.github.com/repos/gregorypratt/examples/subscribers","subscription_url":"https://api.github.com/repos/gregorypratt/examples/subscription","commits_url":"https://api.github.com/repos/gregorypratt/examples/commits{/sha}","git_commits_url":"https://api.github.com/repos/gregorypratt/examples/git/commits{/sha}","comments_url":"https://api.github.com/repos/gregorypratt/examples/comments{/number}","issue_comment_url":"https://api.github.com/repos/gregorypratt/examples/issues/comments{/number}","contents_url":"https://api.github.com/repos/gregorypratt/examples/contents/{+path}","compare_url":"https://api.github.com/repos/gregorypratt/examples/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gregorypratt/examples/merges","archive_url":"https://api.github.com/repos/gregorypratt/examples/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gregorypratt/examples/downloads","issues_url":"https://api.github.com/repos/gregorypratt/examples/issues{/number}","pulls_url":"https://api.github.com/repos/gregorypratt/examples/pulls{/number}","milestones_url":"https://api.github.com/repos/gregorypratt/examples/milestones{/number}","notifications_url":"https://api.github.com/repos/gregorypratt/examples/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gregorypratt/examples/labels{/name}","releases_url":"https://api.github.com/repos/gregorypratt/examples/releases{/id}","created_at":"2015-09-14T09:35:16Z","updated_at":"2015-09-14T09:35:17Z","pushed_at":"2015-09-14T09:44:13Z","git_url":"git://github.com/gregorypratt/examples.git","ssh_url":"git@github.com:gregorypratt/examples.git","clone_url":"https://github.com/gregorypratt/examples.git","svn_url":"https://github.com/gregorypratt/examples","homepage":"","size":294,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"gh-pages"}},"base":{"label":"riot:gh-pages","ref":"gh-pages","sha":"2ac88d9e47f97df6a0eb657167a5255ecd597524","user":{"login":"riot","id":12729373,"avatar_url":"https://avatars.githubusercontent.com/u/12729373?v=3","gravatar_id":"","url":"https://api.github.com/users/riot","html_url":"https://github.com/riot","followers_url":"https://api.github.com/users/riot/followers","following_url":"https://api.github.com/users/riot/following{/other_user}","gists_url":"https://api.github.com/users/riot/gists{/gist_id}","starred_url":"https://api.github.com/users/riot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riot/subscriptions","organizations_url":"https://api.github.com/users/riot/orgs","repos_url":"https://api.github.com/users/riot/repos","events_url":"https://api.github.com/users/riot/events{/privacy}","received_events_url":"https://api.github.com/users/riot/received_events","type":"Organization","site_admin":false},"repo":{"id":40762431,"name":"examples","full_name":"riot/examples","owner":{"login":"riot","id":12729373,"avatar_url":"https://avatars.githubusercontent.com/u/12729373?v=3","gravatar_id":"","url":"https://api.github.com/users/riot","html_url":"https://github.com/riot","followers_url":"https://api.github.com/users/riot/followers","following_url":"https://api.github.com/users/riot/following{/other_user}","gists_url":"https://api.github.com/users/riot/gists{/gist_id}","starred_url":"https://api.github.com/users/riot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riot/subscriptions","organizations_url":"https://api.github.com/users/riot/orgs","repos_url":"https://api.github.com/users/riot/repos","events_url":"https://api.github.com/users/riot/events{/privacy}","received_events_url":"https://api.github.com/users/riot/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/riot/examples","description":"Demos and examples for Riot and submodules","fork":false,"url":"https://api.github.com/repos/riot/examples","forks_url":"https://api.github.com/repos/riot/examples/forks","keys_url":"https://api.github.com/repos/riot/examples/keys{/key_id}","collaborators_url":"https://api.github.com/repos/riot/examples/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/riot/examples/teams","hooks_url":"https://api.github.com/repos/riot/examples/hooks","issue_events_url":"https://api.github.com/repos/riot/examples/issues/events{/number}","events_url":"https://api.github.com/repos/riot/examples/events","assignees_url":"https://api.github.com/repos/riot/examples/assignees{/user}","branches_url":"https://api.github.com/repos/riot/examples/branches{/branch}","tags_url":"https://api.github.com/repos/riot/examples/tags","blobs_url":"https://api.github.com/repos/riot/examples/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/riot/examples/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/riot/examples/git/refs{/sha}","trees_url":"https://api.github.com/repos/riot/examples/git/trees{/sha}","statuses_url":"https://api.github.com/repos/riot/examples/statuses/{sha}","languages_url":"https://api.github.com/repos/riot/examples/languages","stargazers_url":"https://api.github.com/repos/riot/examples/stargazers","contributors_url":"https://api.github.com/repos/riot/examples/contributors","subscribers_url":"https://api.github.com/repos/riot/examples/subscribers","subscription_url":"https://api.github.com/repos/riot/examples/subscription","commits_url":"https://api.github.com/repos/riot/examples/commits{/sha}","git_commits_url":"https://api.github.com/repos/riot/examples/git/commits{/sha}","comments_url":"https://api.github.com/repos/riot/examples/comments{/number}","issue_comment_url":"https://api.github.com/repos/riot/examples/issues/comments{/number}","contents_url":"https://api.github.com/repos/riot/examples/contents/{+path}","compare_url":"https://api.github.com/repos/riot/examples/compare/{base}...{head}","merges_url":"https://api.github.com/repos/riot/examples/merges","archive_url":"https://api.github.com/repos/riot/examples/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/riot/examples/downloads","issues_url":"https://api.github.com/repos/riot/examples/issues{/number}","pulls_url":"https://api.github.com/repos/riot/examples/pulls{/number}","milestones_url":"https://api.github.com/repos/riot/examples/milestones{/number}","notifications_url":"https://api.github.com/repos/riot/examples/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/riot/examples/labels{/name}","releases_url":"https://api.github.com/repos/riot/examples/releases{/id}","created_at":"2015-08-15T13:53:12Z","updated_at":"2015-09-05T17:00:46Z","pushed_at":"2015-09-14T09:44:14Z","git_url":"git://github.com/riot/examples.git","ssh_url":"git@github.com:riot/examples.git","clone_url":"https://github.com/riot/examples.git","svn_url":"https://github.com/riot/examples","homepage":"","size":294,"stargazers_count":9,"watchers_count":9,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"open_issues_count":3,"forks":2,"open_issues":3,"watchers":9,"default_branch":"gh-pages"}},"_links":{"self":{"href":"https://api.github.com/repos/riot/examples/pulls/13"},"html":{"href":"https://github.com/riot/examples/pull/13"},"issue":{"href":"https://api.github.com/repos/riot/examples/issues/13"},"comments":{"href":"https://api.github.com/repos/riot/examples/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/riot/examples/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/riot/examples/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/riot/examples/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/riot/examples/statuses/d56ae4785fd53e61e67f9bb7cf0c70ccf94babe1"}}}}