{"action":"created","comment":{"url":"https://api.github.com/repos/google/code-prettify/pulls/comments/97061042","pull_request_review_id":17663922,"id":97061042,"diff_hunk":"@@ -58,11 +66,3 @@\n $pattern .= \")\\\\\\\\s*'\";  # matches at end, and matches empty string\n \n print \"$pattern;\\n\";\n-\n-print \"\n-// CAVEAT: this does not properly handle the case where a regular","path":"js-modules/regexpPrecederPatterns.pl","position":45,"original_position":45,"commit_id":"1d9e1ad2cb168c99e490303bd364b48f78756ac5","original_commit_id":"1d9e1ad2cb168c99e490303bd364b48f78756ac5","user":{"login":"amroamroamro","id":83908,"avatar_url":"https://avatars.githubusercontent.com/u/83908?v=3","gravatar_id":"","url":"https://api.github.com/users/amroamroamro","html_url":"https://github.com/amroamroamro","followers_url":"https://api.github.com/users/amroamroamro/followers","following_url":"https://api.github.com/users/amroamroamro/following{/other_user}","gists_url":"https://api.github.com/users/amroamroamro/gists{/gist_id}","starred_url":"https://api.github.com/users/amroamroamro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amroamroamro/subscriptions","organizations_url":"https://api.github.com/users/amroamroamro/orgs","repos_url":"https://api.github.com/users/amroamroamro/repos","events_url":"https://api.github.com/users/amroamroamro/events{/privacy}","received_events_url":"https://api.github.com/users/amroamroamro/received_events","type":"User","site_admin":false},"body":"yes, that way it shows up above the regex it's talking about when included in the final bundle.","created_at":"2017-01-20T12:10:47Z","updated_at":"2017-01-20T12:10:47Z","html_url":"https://github.com/google/code-prettify/pull/469#discussion_r97061042","pull_request_url":"https://api.github.com/repos/google/code-prettify/pulls/469","_links":{"self":{"href":"https://api.github.com/repos/google/code-prettify/pulls/comments/97061042"},"html":{"href":"https://github.com/google/code-prettify/pull/469#discussion_r97061042"},"pull_request":{"href":"https://api.github.com/repos/google/code-prettify/pulls/469"}}},"pull_request":{"url":"https://api.github.com/repos/google/code-prettify/pulls/469","id":102083934,"html_url":"https://github.com/google/code-prettify/pull/469","diff_url":"https://github.com/google/code-prettify/pull/469.diff","patch_url":"https://github.com/google/code-prettify/pull/469.patch","issue_url":"https://api.github.com/repos/google/code-prettify/issues/469","number":469,"state":"open","locked":false,"title":"Patch 2: grunt","user":{"login":"amroamroamro","id":83908,"avatar_url":"https://avatars.githubusercontent.com/u/83908?v=3","gravatar_id":"","url":"https://api.github.com/users/amroamroamro","html_url":"https://github.com/amroamroamro","followers_url":"https://api.github.com/users/amroamroamro/followers","following_url":"https://api.github.com/users/amroamroamro/following{/other_user}","gists_url":"https://api.github.com/users/amroamroamro/gists{/gist_id}","starred_url":"https://api.github.com/users/amroamroamro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amroamroamro/subscriptions","organizations_url":"https://api.github.com/users/amroamroamro/orgs","repos_url":"https://api.github.com/users/amroamroamro/repos","events_url":"https://api.github.com/users/amroamroamro/events{/privacy}","received_events_url":"https://api.github.com/users/amroamroamro/received_events","type":"User","site_admin":false},"body":"Summary:\r\n- created `package.json` and `bower.json` for integrating with [npm][6] and [Bower][5] package managers. Note: I set the version to \"1.0.0\", feel free to change it to something else if needed.\r\n- replaced functionality of the makefile with grunt. I added grunt tasks to match make targets, including:\r\n  - `grunt preprocess` to process `js-modules/*.js` files and produce `src/prettify.js` and `src/run_prettify.js` bundles\r\n  - `grunt gcc` to compile/minify JS using Closure Compiler (also added a `grunt uglify` task as alternative, but it's not used by default)\r\n  - `grunt cssmin` to minify CSS files\r\n  - `grunt aliases` to create lang aliases\r\n  - `grunt compress` to produce a ZIP file for distribution\r\n  - `grunt clean` to clean generated files\r\n\r\nTo rebuild the project from scratch, first you need to install [Node][1], then you simply run :\r\n```\r\n$ cd code-prettify\r\n$ npm install\r\n$ npm run grunt\r\n```\r\n*(note: [Closure Compiler][3] requires [Java JRE][4] to run).*\r\n\r\n[1]: http://nodejs.org/\r\n[3]: https://github.com/google/closure-compiler-npm\r\n[4]: http://www.java.com/\r\n[5]: https://bower.io/\r\n[6]: https://www.npmjs.com/\r\n","created_at":"2017-01-18T15:10:37Z","updated_at":"2017-01-20T12:10:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b92075a4942a197a423a0d0dcc26c9d0d5ba3705","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/google/code-prettify/pulls/469/commits","review_comments_url":"https://api.github.com/repos/google/code-prettify/pulls/469/comments","review_comment_url":"https://api.github.com/repos/google/code-prettify/pulls/comments{/number}","comments_url":"https://api.github.com/repos/google/code-prettify/issues/469/comments","statuses_url":"https://api.github.com/repos/google/code-prettify/statuses/1d9e1ad2cb168c99e490303bd364b48f78756ac5","head":{"label":"amroamroamro:patch-grunt","ref":"patch-grunt","sha":"1d9e1ad2cb168c99e490303bd364b48f78756ac5","user":{"login":"amroamroamro","id":83908,"avatar_url":"https://avatars.githubusercontent.com/u/83908?v=3","gravatar_id":"","url":"https://api.github.com/users/amroamroamro","html_url":"https://github.com/amroamroamro","followers_url":"https://api.github.com/users/amroamroamro/followers","following_url":"https://api.github.com/users/amroamroamro/following{/other_user}","gists_url":"https://api.github.com/users/amroamroamro/gists{/gist_id}","starred_url":"https://api.github.com/users/amroamroamro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amroamroamro/subscriptions","organizations_url":"https://api.github.com/users/amroamroamro/orgs","repos_url":"https://api.github.com/users/amroamroamro/repos","events_url":"https://api.github.com/users/amroamroamro/events{/privacy}","received_events_url":"https://api.github.com/users/amroamroamro/received_events","type":"User","site_admin":false},"repo":{"id":34688252,"name":"code-prettify","full_name":"amroamroamro/code-prettify","owner":{"login":"amroamroamro","id":83908,"avatar_url":"https://avatars.githubusercontent.com/u/83908?v=3","gravatar_id":"","url":"https://api.github.com/users/amroamroamro","html_url":"https://github.com/amroamroamro","followers_url":"https://api.github.com/users/amroamroamro/followers","following_url":"https://api.github.com/users/amroamroamro/following{/other_user}","gists_url":"https://api.github.com/users/amroamroamro/gists{/gist_id}","starred_url":"https://api.github.com/users/amroamroamro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amroamroamro/subscriptions","organizations_url":"https://api.github.com/users/amroamroamro/orgs","repos_url":"https://api.github.com/users/amroamroamro/repos","events_url":"https://api.github.com/users/amroamroamro/events{/privacy}","received_events_url":"https://api.github.com/users/amroamroamro/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/amroamroamro/code-prettify","description":"syntax highlighting of code snippets in a web page","fork":true,"url":"https://api.github.com/repos/amroamroamro/code-prettify","forks_url":"https://api.github.com/repos/amroamroamro/code-prettify/forks","keys_url":"https://api.github.com/repos/amroamroamro/code-prettify/keys{/key_id}","collaborators_url":"https://api.github.com/repos/amroamroamro/code-prettify/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/amroamroamro/code-prettify/teams","hooks_url":"https://api.github.com/repos/amroamroamro/code-prettify/hooks","issue_events_url":"https://api.github.com/repos/amroamroamro/code-prettify/issues/events{/number}","events_url":"https://api.github.com/repos/amroamroamro/code-prettify/events","assignees_url":"https://api.github.com/repos/amroamroamro/code-prettify/assignees{/user}","branches_url":"https://api.github.com/repos/amroamroamro/code-prettify/branches{/branch}","tags_url":"https://api.github.com/repos/amroamroamro/code-prettify/tags","blobs_url":"https://api.github.com/repos/amroamroamro/code-prettify/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/amroamroamro/code-prettify/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/amroamroamro/code-prettify/git/refs{/sha}","trees_url":"https://api.github.com/repos/amroamroamro/code-prettify/git/trees{/sha}","statuses_url":"https://api.github.com/repos/amroamroamro/code-prettify/statuses/{sha}","languages_url":"https://api.github.com/repos/amroamroamro/code-prettify/languages","stargazers_url":"https://api.github.com/repos/amroamroamro/code-prettify/stargazers","contributors_url":"https://api.github.com/repos/amroamroamro/code-prettify/contributors","subscribers_url":"https://api.github.com/repos/amroamroamro/code-prettify/subscribers","subscription_url":"https://api.github.com/repos/amroamroamro/code-prettify/subscription","commits_url":"https://api.github.com/repos/amroamroamro/code-prettify/commits{/sha}","git_commits_url":"https://api.github.com/repos/amroamroamro/code-prettify/git/commits{/sha}","comments_url":"https://api.github.com/repos/amroamroamro/code-prettify/comments{/number}","issue_comment_url":"https://api.github.com/repos/amroamroamro/code-prettify/issues/comments{/number}","contents_url":"https://api.github.com/repos/amroamroamro/code-prettify/contents/{+path}","compare_url":"https://api.github.com/repos/amroamroamro/code-prettify/compare/{base}...{head}","merges_url":"https://api.github.com/repos/amroamroamro/code-prettify/merges","archive_url":"https://api.github.com/repos/amroamroamro/code-prettify/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/amroamroamro/code-prettify/downloads","issues_url":"https://api.github.com/repos/amroamroamro/code-prettify/issues{/number}","pulls_url":"https://api.github.com/repos/amroamroamro/code-prettify/pulls{/number}","milestones_url":"https://api.github.com/repos/amroamroamro/code-prettify/milestones{/number}","notifications_url":"https://api.github.com/repos/amroamroamro/code-prettify/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/amroamroamro/code-prettify/labels{/name}","releases_url":"https://api.github.com/repos/amroamroamro/code-prettify/releases{/id}","deployments_url":"https://api.github.com/repos/amroamroamro/code-prettify/deployments","created_at":"2015-04-27T20:02:53Z","updated_at":"2017-01-08T17:55:30Z","pushed_at":"2017-01-19T08:39:41Z","git_url":"git://github.com/amroamroamro/code-prettify.git","ssh_url":"git@github.com:amroamroamro/code-prettify.git","clone_url":"https://github.com/amroamroamro/code-prettify.git","svn_url":"https://github.com/amroamroamro/code-prettify","homepage":"https://code.google.com/p/google-code-prettify/","size":16394,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":false,"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":"google:master","ref":"master","sha":"04e95f6bfbc87666098fc458fcebcf262f99f2ae","user":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"repo":{"id":34408310,"name":"code-prettify","full_name":"google/code-prettify","owner":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/google/code-prettify","description":"Automatically exported from code.google.com/p/google-code-prettify","fork":false,"url":"https://api.github.com/repos/google/code-prettify","forks_url":"https://api.github.com/repos/google/code-prettify/forks","keys_url":"https://api.github.com/repos/google/code-prettify/keys{/key_id}","collaborators_url":"https://api.github.com/repos/google/code-prettify/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/google/code-prettify/teams","hooks_url":"https://api.github.com/repos/google/code-prettify/hooks","issue_events_url":"https://api.github.com/repos/google/code-prettify/issues/events{/number}","events_url":"https://api.github.com/repos/google/code-prettify/events","assignees_url":"https://api.github.com/repos/google/code-prettify/assignees{/user}","branches_url":"https://api.github.com/repos/google/code-prettify/branches{/branch}","tags_url":"https://api.github.com/repos/google/code-prettify/tags","blobs_url":"https://api.github.com/repos/google/code-prettify/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/google/code-prettify/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/google/code-prettify/git/refs{/sha}","trees_url":"https://api.github.com/repos/google/code-prettify/git/trees{/sha}","statuses_url":"https://api.github.com/repos/google/code-prettify/statuses/{sha}","languages_url":"https://api.github.com/repos/google/code-prettify/languages","stargazers_url":"https://api.github.com/repos/google/code-prettify/stargazers","contributors_url":"https://api.github.com/repos/google/code-prettify/contributors","subscribers_url":"https://api.github.com/repos/google/code-prettify/subscribers","subscription_url":"https://api.github.com/repos/google/code-prettify/subscription","commits_url":"https://api.github.com/repos/google/code-prettify/commits{/sha}","git_commits_url":"https://api.github.com/repos/google/code-prettify/git/commits{/sha}","comments_url":"https://api.github.com/repos/google/code-prettify/comments{/number}","issue_comment_url":"https://api.github.com/repos/google/code-prettify/issues/comments{/number}","contents_url":"https://api.github.com/repos/google/code-prettify/contents/{+path}","compare_url":"https://api.github.com/repos/google/code-prettify/compare/{base}...{head}","merges_url":"https://api.github.com/repos/google/code-prettify/merges","archive_url":"https://api.github.com/repos/google/code-prettify/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/google/code-prettify/downloads","issues_url":"https://api.github.com/repos/google/code-prettify/issues{/number}","pulls_url":"https://api.github.com/repos/google/code-prettify/pulls{/number}","milestones_url":"https://api.github.com/repos/google/code-prettify/milestones{/number}","notifications_url":"https://api.github.com/repos/google/code-prettify/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/google/code-prettify/labels{/name}","releases_url":"https://api.github.com/repos/google/code-prettify/releases{/id}","deployments_url":"https://api.github.com/repos/google/code-prettify/deployments","created_at":"2015-04-22T18:32:17Z","updated_at":"2017-01-20T04:50:18Z","pushed_at":"2017-01-19T08:39:43Z","git_url":"git://github.com/google/code-prettify.git","ssh_url":"git@github.com:google/code-prettify.git","clone_url":"https://github.com/google/code-prettify.git","svn_url":"https://github.com/google/code-prettify","homepage":null,"size":16438,"stargazers_count":2282,"watchers_count":2282,"language":"JavaScript","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":395,"mirror_url":null,"open_issues_count":152,"forks":395,"open_issues":152,"watchers":2282,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/google/code-prettify/pulls/469"},"html":{"href":"https://github.com/google/code-prettify/pull/469"},"issue":{"href":"https://api.github.com/repos/google/code-prettify/issues/469"},"comments":{"href":"https://api.github.com/repos/google/code-prettify/issues/469/comments"},"review_comments":{"href":"https://api.github.com/repos/google/code-prettify/pulls/469/comments"},"review_comment":{"href":"https://api.github.com/repos/google/code-prettify/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/google/code-prettify/pulls/469/commits"},"statuses":{"href":"https://api.github.com/repos/google/code-prettify/statuses/1d9e1ad2cb168c99e490303bd364b48f78756ac5"}}}}
{"actor":{"display_login":"amroamroamro"}}