GitHub PullRequestReviewCommentEvent at 2014-12-20 12:10:45
Repository: prism
Actor: LeaVerou
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/LeaVerou/prism/pulls/comments/22141343","id":22141343,"diff_hunk":"@@ -0,0 +1,26 @@\n+/* TODO\n+\tFix XML highlighting\n+ */\n+\n+Prism.languages.actionscript = Prism.languages.extend('javascript',  {\n+\t'keyword': [\n+\t\t// Lexical keywords\n+\t\t// Intentionally ignore true and false that are already handled as booleans\n+\t\t/\\b(?:as|break|case|catch|class|const|default|delete|do|else|extends|finally|for|function|if|implements|import|in|instanceof|interface|internal|is|native|new|null|package|private|protected|public|return|super|switch|this|throw|try|typeof|use|var|void|while|with)\\b/,\n+\t\t// Syntactic keywords\n+\t\t/\\b(?:each|dynamic|final|get|include|namespace|native|override|set|static)\\b/\n+\t],\n+\t'number': /\\b-?(\\d*\\.?\\d+([Ee][+-]?\\d+)?|NaN|-?Infinity)\\b/g,\n+\t'operator': /(?:[+\\-*\\/%^]|&&?|\\|\\|?|<<?|>>?>?|[!=]=)=?|[=~?@]/,\n+\t'function': /(?!\\d)[a-z0-9_$]+(?=\\()/ig\n+});\n+Prism.languages.actionscript['class-name'].alias = 'function';\n+\n+Prism.languages.insertBefore('actionscript', 'operator', {\n+\t'xml': {\n+\t\tpattern: /(^|[^.])<[\\s\\S]*>(?=\\s*($|[\\r\\n,.;\\]})<]))/,\n+\t\tinside: {\n+\t\t\trest: Prism.languages.markup","path":"components/prism-actionscript.js","position":23,"original_position":23,"commit_id":"d9bdd1dbe798fd42416729a9180a6dce30601202","original_commit_id":"d9bdd1dbe798fd42416729a9180a6dce30601202","user":{"login":"LeaVerou","id":175836,"avatar_url":"https://avatars.githubusercontent.com/u/175836?v=3","gravatar_id":"","url":"https://api.github.com/users/LeaVerou","html_url":"https://github.com/LeaVerou","followers_url":"https://api.github.com/users/LeaVerou/followers","following_url":"https://api.github.com/users/LeaVerou/following{/other_user}","gists_url":"https://api.github.com/users/LeaVerou/gists{/gist_id}","starred_url":"https://api.github.com/users/LeaVerou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeaVerou/subscriptions","organizations_url":"https://api.github.com/users/LeaVerou/orgs","repos_url":"https://api.github.com/users/LeaVerou/repos","events_url":"https://api.github.com/users/LeaVerou/events{/privacy}","received_events_url":"https://api.github.com/users/LeaVerou/received_events","type":"User","site_admin":false},"body":"This should be inside a conditional that checks if markup is available (see the markup definition for such conditionals, it has two).","created_at":"2014-12-20T12:10:45Z","updated_at":"2014-12-20T12:10:45Z","html_url":"https://github.com/LeaVerou/prism/pull/432#discussion_r22141343","pull_request_url":"https://api.github.com/repos/LeaVerou/prism/pulls/432","_links":{"self":{"href":"https://api.github.com/repos/LeaVerou/prism/pulls/comments/22141343"},"html":{"href":"https://github.com/LeaVerou/prism/pull/432#discussion_r22141343"},"pull_request":{"href":"https://api.github.com/repos/LeaVerou/prism/pulls/432"}}},"pull_request":{"url":"https://api.github.com/repos/LeaVerou/prism/pulls/432","id":26176955,"html_url":"https://github.com/LeaVerou/prism/pull/432","diff_url":"https://github.com/LeaVerou/prism/pull/432.diff","patch_url":"https://github.com/LeaVerou/prism/pull/432.patch","issue_url":"https://api.github.com/repos/LeaVerou/prism/issues/432","number":432,"state":"open","locked":false,"title":"Add ActionScript language","user":{"login":"Golmote","id":565460,"avatar_url":"https://avatars.githubusercontent.com/u/565460?v=3","gravatar_id":"","url":"https://api.github.com/users/Golmote","html_url":"https://github.com/Golmote","followers_url":"https://api.github.com/users/Golmote/followers","following_url":"https://api.github.com/users/Golmote/following{/other_user}","gists_url":"https://api.github.com/users/Golmote/gists{/gist_id}","starred_url":"https://api.github.com/users/Golmote/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Golmote/subscriptions","organizations_url":"https://api.github.com/users/Golmote/orgs","repos_url":"https://api.github.com/users/Golmote/repos","events_url":"https://api.github.com/users/Golmote/events{/privacy}","received_events_url":"https://api.github.com/users/Golmote/received_events","type":"User","site_admin":false},"body":"","created_at":"2014-12-16T20:28:56Z","updated_at":"2014-12-20T12:10:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1d4236461c741c8be8973e04f225737718b50f29","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/LeaVerou/prism/pulls/432/commits","review_comments_url":"https://api.github.com/repos/LeaVerou/prism/pulls/432/comments","review_comment_url":"https://api.github.com/repos/LeaVerou/prism/pulls/comments/{number}","comments_url":"https://api.github.com/repos/LeaVerou/prism/issues/432/comments","statuses_url":"https://api.github.com/repos/LeaVerou/prism/statuses/d9bdd1dbe798fd42416729a9180a6dce30601202","head":{"label":"Golmote:prism-actionscript","ref":"prism-actionscript","sha":"d9bdd1dbe798fd42416729a9180a6dce30601202","user":{"login":"Golmote","id":565460,"avatar_url":"https://avatars.githubusercontent.com/u/565460?v=3","gravatar_id":"","url":"https://api.github.com/users/Golmote","html_url":"https://github.com/Golmote","followers_url":"https://api.github.com/users/Golmote/followers","following_url":"https://api.github.com/users/Golmote/following{/other_user}","gists_url":"https://api.github.com/users/Golmote/gists{/gist_id}","starred_url":"https://api.github.com/users/Golmote/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Golmote/subscriptions","organizations_url":"https://api.github.com/users/Golmote/orgs","repos_url":"https://api.github.com/users/Golmote/repos","events_url":"https://api.github.com/users/Golmote/events{/privacy}","received_events_url":"https://api.github.com/users/Golmote/received_events","type":"User","site_admin":false},"repo":{"id":27731273,"name":"prism","full_name":"Golmote/prism","owner":{"login":"Golmote","id":565460,"avatar_url":"https://avatars.githubusercontent.com/u/565460?v=3","gravatar_id":"","url":"https://api.github.com/users/Golmote","html_url":"https://github.com/Golmote","followers_url":"https://api.github.com/users/Golmote/followers","following_url":"https://api.github.com/users/Golmote/following{/other_user}","gists_url":"https://api.github.com/users/Golmote/gists{/gist_id}","starred_url":"https://api.github.com/users/Golmote/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Golmote/subscriptions","organizations_url":"https://api.github.com/users/Golmote/orgs","repos_url":"https://api.github.com/users/Golmote/repos","events_url":"https://api.github.com/users/Golmote/events{/privacy}","received_events_url":"https://api.github.com/users/Golmote/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Golmote/prism","description":"Lightweight, robust, elegant syntax highlighting. A spin-off project from Dabblet. ","fork":true,"url":"https://api.github.com/repos/Golmote/prism","forks_url":"https://api.github.com/repos/Golmote/prism/forks","keys_url":"https://api.github.com/repos/Golmote/prism/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Golmote/prism/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Golmote/prism/teams","hooks_url":"https://api.github.com/repos/Golmote/prism/hooks","issue_events_url":"https://api.github.com/repos/Golmote/prism/issues/events{/number}","events_url":"https://api.github.com/repos/Golmote/prism/events","assignees_url":"https://api.github.com/repos/Golmote/prism/assignees{/user}","branches_url":"https://api.github.com/repos/Golmote/prism/branches{/branch}","tags_url":"https://api.github.com/repos/Golmote/prism/tags","blobs_url":"https://api.github.com/repos/Golmote/prism/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Golmote/prism/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Golmote/prism/git/refs{/sha}","trees_url":"https://api.github.com/repos/Golmote/prism/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Golmote/prism/statuses/{sha}","languages_url":"https://api.github.com/repos/Golmote/prism/languages","stargazers_url":"https://api.github.com/repos/Golmote/prism/stargazers","contributors_url":"https://api.github.com/repos/Golmote/prism/contributors","subscribers_url":"https://api.github.com/repos/Golmote/prism/subscribers","subscription_url":"https://api.github.com/repos/Golmote/prism/subscription","commits_url":"https://api.github.com/repos/Golmote/prism/commits{/sha}","git_commits_url":"https://api.github.com/repos/Golmote/prism/git/commits{/sha}","comments_url":"https://api.github.com/repos/Golmote/prism/comments{/number}","issue_comment_url":"https://api.github.com/repos/Golmote/prism/issues/comments/{number}","contents_url":"https://api.github.com/repos/Golmote/prism/contents/{+path}","compare_url":"https://api.github.com/repos/Golmote/prism/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Golmote/prism/merges","archive_url":"https://api.github.com/repos/Golmote/prism/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Golmote/prism/downloads","issues_url":"https://api.github.com/repos/Golmote/prism/issues{/number}","pulls_url":"https://api.github.com/repos/Golmote/prism/pulls{/number}","milestones_url":"https://api.github.com/repos/Golmote/prism/milestones{/number}","notifications_url":"https://api.github.com/repos/Golmote/prism/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Golmote/prism/labels{/name}","releases_url":"https://api.github.com/repos/Golmote/prism/releases{/id}","created_at":"2014-12-08T19:32:32Z","updated_at":"2014-12-09T07:22:14Z","pushed_at":"2014-12-20T12:05:25Z","git_url":"git://github.com/Golmote/prism.git","ssh_url":"git@github.com:Golmote/prism.git","clone_url":"https://github.com/Golmote/prism.git","svn_url":"https://github.com/Golmote/prism","homepage":"http://prismjs.com","size":2030,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"LeaVerou:gh-pages","ref":"gh-pages","sha":"46b75132625e7b33dfb02359e92d27fbc55560dd","user":{"login":"LeaVerou","id":175836,"avatar_url":"https://avatars.githubusercontent.com/u/175836?v=3","gravatar_id":"","url":"https://api.github.com/users/LeaVerou","html_url":"https://github.com/LeaVerou","followers_url":"https://api.github.com/users/LeaVerou/followers","following_url":"https://api.github.com/users/LeaVerou/following{/other_user}","gists_url":"https://api.github.com/users/LeaVerou/gists{/gist_id}","starred_url":"https://api.github.com/users/LeaVerou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeaVerou/subscriptions","organizations_url":"https://api.github.com/users/LeaVerou/orgs","repos_url":"https://api.github.com/users/LeaVerou/repos","events_url":"https://api.github.com/users/LeaVerou/events{/privacy}","received_events_url":"https://api.github.com/users/LeaVerou/received_events","type":"User","site_admin":false},"repo":{"id":4979467,"name":"prism","full_name":"LeaVerou/prism","owner":{"login":"LeaVerou","id":175836,"avatar_url":"https://avatars.githubusercontent.com/u/175836?v=3","gravatar_id":"","url":"https://api.github.com/users/LeaVerou","html_url":"https://github.com/LeaVerou","followers_url":"https://api.github.com/users/LeaVerou/followers","following_url":"https://api.github.com/users/LeaVerou/following{/other_user}","gists_url":"https://api.github.com/users/LeaVerou/gists{/gist_id}","starred_url":"https://api.github.com/users/LeaVerou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeaVerou/subscriptions","organizations_url":"https://api.github.com/users/LeaVerou/orgs","repos_url":"https://api.github.com/users/LeaVerou/repos","events_url":"https://api.github.com/users/LeaVerou/events{/privacy}","received_events_url":"https://api.github.com/users/LeaVerou/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/LeaVerou/prism","description":"Lightweight, robust, elegant syntax highlighting. A spin-off project from Dabblet. ","fork":false,"url":"https://api.github.com/repos/LeaVerou/prism","forks_url":"https://api.github.com/repos/LeaVerou/prism/forks","keys_url":"https://api.github.com/repos/LeaVerou/prism/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LeaVerou/prism/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LeaVerou/prism/teams","hooks_url":"https://api.github.com/repos/LeaVerou/prism/hooks","issue_events_url":"https://api.github.com/repos/LeaVerou/prism/issues/events{/number}","events_url":"https://api.github.com/repos/LeaVerou/prism/events","assignees_url":"https://api.github.com/repos/LeaVerou/prism/assignees{/user}","branches_url":"https://api.github.com/repos/LeaVerou/prism/branches{/branch}","tags_url":"https://api.github.com/repos/LeaVerou/prism/tags","blobs_url":"https://api.github.com/repos/LeaVerou/prism/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LeaVerou/prism/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LeaVerou/prism/git/refs{/sha}","trees_url":"https://api.github.com/repos/LeaVerou/prism/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LeaVerou/prism/statuses/{sha}","languages_url":"https://api.github.com/repos/LeaVerou/prism/languages","stargazers_url":"https://api.github.com/repos/LeaVerou/prism/stargazers","contributors_url":"https://api.github.com/repos/LeaVerou/prism/contributors","subscribers_url":"https://api.github.com/repos/LeaVerou/prism/subscribers","subscription_url":"https://api.github.com/repos/LeaVerou/prism/subscription","commits_url":"https://api.github.com/repos/LeaVerou/prism/commits{/sha}","git_commits_url":"https://api.github.com/repos/LeaVerou/prism/git/commits{/sha}","comments_url":"https://api.github.com/repos/LeaVerou/prism/comments{/number}","issue_comment_url":"https://api.github.com/repos/LeaVerou/prism/issues/comments/{number}","contents_url":"https://api.github.com/repos/LeaVerou/prism/contents/{+path}","compare_url":"https://api.github.com/repos/LeaVerou/prism/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LeaVerou/prism/merges","archive_url":"https://api.github.com/repos/LeaVerou/prism/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LeaVerou/prism/downloads","issues_url":"https://api.github.com/repos/LeaVerou/prism/issues{/number}","pulls_url":"https://api.github.com/repos/LeaVerou/prism/pulls{/number}","milestones_url":"https://api.github.com/repos/LeaVerou/prism/milestones{/number}","notifications_url":"https://api.github.com/repos/LeaVerou/prism/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LeaVerou/prism/labels{/name}","releases_url":"https://api.github.com/repos/LeaVerou/prism/releases{/id}","created_at":"2012-07-10T19:47:14Z","updated_at":"2014-12-20T12:07:49Z","pushed_at":"2014-12-20T12:07:48Z","git_url":"git://github.com/LeaVerou/prism.git","ssh_url":"git@github.com:LeaVerou/prism.git","clone_url":"https://github.com/LeaVerou/prism.git","svn_url":"https://github.com/LeaVerou/prism","homepage":"http://prismjs.com","size":3487,"stargazers_count":1810,"watchers_count":1810,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":264,"mirror_url":null,"open_issues_count":108,"forks":264,"open_issues":108,"watchers":1810,"default_branch":"gh-pages"}},"_links":{"self":{"href":"https://api.github.com/repos/LeaVerou/prism/pulls/432"},"html":{"href":"https://github.com/LeaVerou/prism/pull/432"},"issue":{"href":"https://api.github.com/repos/LeaVerou/prism/issues/432"},"comments":{"href":"https://api.github.com/repos/LeaVerou/prism/issues/432/comments"},"review_comments":{"href":"https://api.github.com/repos/LeaVerou/prism/pulls/432/comments"},"review_comment":{"href":"https://api.github.com/repos/LeaVerou/prism/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/LeaVerou/prism/pulls/432/commits"},"statuses":{"href":"https://api.github.com/repos/LeaVerou/prism/statuses/d9bdd1dbe798fd42416729a9180a6dce30601202"}}}}