{"action":"created","comment":{"url":"https://api.github.com/repos/posthtml/posthtml/pulls/comments/35124900","id":35124900,"diff_hunk":"@@ -5,65 +5,53 @@ var tmpl = new (require('bh').BH);\n class Posthtml {\n \n     constructor(plugins) {\n+        this.plugins = plugins || [];\n+    }","path":"lib/posthtml.js","position":5,"original_position":5,"commit_id":"5a507bca5c2a2cd4d7520a62e9db4fb65245eaf9","original_commit_id":"5a507bca5c2a2cd4d7520a62e9db4fb65245eaf9","user":{"login":"iamstarkov","id":559321,"avatar_url":"https://avatars.githubusercontent.com/u/559321?v=3","gravatar_id":"","url":"https://api.github.com/users/iamstarkov","html_url":"https://github.com/iamstarkov","followers_url":"https://api.github.com/users/iamstarkov/followers","following_url":"https://api.github.com/users/iamstarkov/following{/other_user}","gists_url":"https://api.github.com/users/iamstarkov/gists{/gist_id}","starred_url":"https://api.github.com/users/iamstarkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iamstarkov/subscriptions","organizations_url":"https://api.github.com/users/iamstarkov/orgs","repos_url":"https://api.github.com/users/iamstarkov/repos","events_url":"https://api.github.com/users/iamstarkov/events{/privacy}","received_events_url":"https://api.github.com/users/iamstarkov/received_events","type":"User","site_admin":false},"body":"why not?\r\n```js\r\nconstructor(plugins=[]) {\r\n  this.plugins = plugins;\r\n}\r\n``","created_at":"2015-07-21T16:45:52Z","updated_at":"2015-07-21T16:45:52Z","html_url":"https://github.com/posthtml/posthtml/pull/18#discussion_r35124900","pull_request_url":"https://api.github.com/repos/posthtml/posthtml/pulls/18","_links":{"self":{"href":"https://api.github.com/repos/posthtml/posthtml/pulls/comments/35124900"},"html":{"href":"https://github.com/posthtml/posthtml/pull/18#discussion_r35124900"},"pull_request":{"href":"https://api.github.com/repos/posthtml/posthtml/pulls/18"}}},"pull_request":{"url":"https://api.github.com/repos/posthtml/posthtml/pulls/18","id":40478315,"html_url":"https://github.com/posthtml/posthtml/pull/18","diff_url":"https://github.com/posthtml/posthtml/pull/18.diff","patch_url":"https://github.com/posthtml/posthtml/pull/18.patch","issue_url":"https://api.github.com/repos/posthtml/posthtml/issues/18","number":18,"state":"open","locked":false,"title":"add moar es6 things","user":{"login":"shuvalov-anton","id":1410106,"avatar_url":"https://avatars.githubusercontent.com/u/1410106?v=3","gravatar_id":"","url":"https://api.github.com/users/shuvalov-anton","html_url":"https://github.com/shuvalov-anton","followers_url":"https://api.github.com/users/shuvalov-anton/followers","following_url":"https://api.github.com/users/shuvalov-anton/following{/other_user}","gists_url":"https://api.github.com/users/shuvalov-anton/gists{/gist_id}","starred_url":"https://api.github.com/users/shuvalov-anton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shuvalov-anton/subscriptions","organizations_url":"https://api.github.com/users/shuvalov-anton/orgs","repos_url":"https://api.github.com/users/shuvalov-anton/repos","events_url":"https://api.github.com/users/shuvalov-anton/events{/privacy}","received_events_url":"https://api.github.com/users/shuvalov-anton/received_events","type":"User","site_admin":false},"body":"Hey guys! Sorry if I'm annoying, but I'd added some es6 goodies to your awesome code :D","created_at":"2015-07-21T16:41:54Z","updated_at":"2015-07-21T16:45:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"27768cfb0002af241bf088af65b74eadcbed9052","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/posthtml/posthtml/pulls/18/commits","review_comments_url":"https://api.github.com/repos/posthtml/posthtml/pulls/18/comments","review_comment_url":"https://api.github.com/repos/posthtml/posthtml/pulls/comments{/number}","comments_url":"https://api.github.com/repos/posthtml/posthtml/issues/18/comments","statuses_url":"https://api.github.com/repos/posthtml/posthtml/statuses/5a507bca5c2a2cd4d7520a62e9db4fb65245eaf9","head":{"label":"shuvalov-anton:moar-es6-things","ref":"moar-es6-things","sha":"5a507bca5c2a2cd4d7520a62e9db4fb65245eaf9","user":{"login":"shuvalov-anton","id":1410106,"avatar_url":"https://avatars.githubusercontent.com/u/1410106?v=3","gravatar_id":"","url":"https://api.github.com/users/shuvalov-anton","html_url":"https://github.com/shuvalov-anton","followers_url":"https://api.github.com/users/shuvalov-anton/followers","following_url":"https://api.github.com/users/shuvalov-anton/following{/other_user}","gists_url":"https://api.github.com/users/shuvalov-anton/gists{/gist_id}","starred_url":"https://api.github.com/users/shuvalov-anton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shuvalov-anton/subscriptions","organizations_url":"https://api.github.com/users/shuvalov-anton/orgs","repos_url":"https://api.github.com/users/shuvalov-anton/repos","events_url":"https://api.github.com/users/shuvalov-anton/events{/privacy}","received_events_url":"https://api.github.com/users/shuvalov-anton/received_events","type":"User","site_admin":false},"repo":{"id":39457480,"name":"posthtml","full_name":"shuvalov-anton/posthtml","owner":{"login":"shuvalov-anton","id":1410106,"avatar_url":"https://avatars.githubusercontent.com/u/1410106?v=3","gravatar_id":"","url":"https://api.github.com/users/shuvalov-anton","html_url":"https://github.com/shuvalov-anton","followers_url":"https://api.github.com/users/shuvalov-anton/followers","following_url":"https://api.github.com/users/shuvalov-anton/following{/other_user}","gists_url":"https://api.github.com/users/shuvalov-anton/gists{/gist_id}","starred_url":"https://api.github.com/users/shuvalov-anton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shuvalov-anton/subscriptions","organizations_url":"https://api.github.com/users/shuvalov-anton/orgs","repos_url":"https://api.github.com/users/shuvalov-anton/repos","events_url":"https://api.github.com/users/shuvalov-anton/events{/privacy}","received_events_url":"https://api.github.com/users/shuvalov-anton/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/shuvalov-anton/posthtml","description":"HTML post processor","fork":true,"url":"https://api.github.com/repos/shuvalov-anton/posthtml","forks_url":"https://api.github.com/repos/shuvalov-anton/posthtml/forks","keys_url":"https://api.github.com/repos/shuvalov-anton/posthtml/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shuvalov-anton/posthtml/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shuvalov-anton/posthtml/teams","hooks_url":"https://api.github.com/repos/shuvalov-anton/posthtml/hooks","issue_events_url":"https://api.github.com/repos/shuvalov-anton/posthtml/issues/events{/number}","events_url":"https://api.github.com/repos/shuvalov-anton/posthtml/events","assignees_url":"https://api.github.com/repos/shuvalov-anton/posthtml/assignees{/user}","branches_url":"https://api.github.com/repos/shuvalov-anton/posthtml/branches{/branch}","tags_url":"https://api.github.com/repos/shuvalov-anton/posthtml/tags","blobs_url":"https://api.github.com/repos/shuvalov-anton/posthtml/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shuvalov-anton/posthtml/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shuvalov-anton/posthtml/git/refs{/sha}","trees_url":"https://api.github.com/repos/shuvalov-anton/posthtml/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shuvalov-anton/posthtml/statuses/{sha}","languages_url":"https://api.github.com/repos/shuvalov-anton/posthtml/languages","stargazers_url":"https://api.github.com/repos/shuvalov-anton/posthtml/stargazers","contributors_url":"https://api.github.com/repos/shuvalov-anton/posthtml/contributors","subscribers_url":"https://api.github.com/repos/shuvalov-anton/posthtml/subscribers","subscription_url":"https://api.github.com/repos/shuvalov-anton/posthtml/subscription","commits_url":"https://api.github.com/repos/shuvalov-anton/posthtml/commits{/sha}","git_commits_url":"https://api.github.com/repos/shuvalov-anton/posthtml/git/commits{/sha}","comments_url":"https://api.github.com/repos/shuvalov-anton/posthtml/comments{/number}","issue_comment_url":"https://api.github.com/repos/shuvalov-anton/posthtml/issues/comments{/number}","contents_url":"https://api.github.com/repos/shuvalov-anton/posthtml/contents/{+path}","compare_url":"https://api.github.com/repos/shuvalov-anton/posthtml/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shuvalov-anton/posthtml/merges","archive_url":"https://api.github.com/repos/shuvalov-anton/posthtml/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shuvalov-anton/posthtml/downloads","issues_url":"https://api.github.com/repos/shuvalov-anton/posthtml/issues{/number}","pulls_url":"https://api.github.com/repos/shuvalov-anton/posthtml/pulls{/number}","milestones_url":"https://api.github.com/repos/shuvalov-anton/posthtml/milestones{/number}","notifications_url":"https://api.github.com/repos/shuvalov-anton/posthtml/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shuvalov-anton/posthtml/labels{/name}","releases_url":"https://api.github.com/repos/shuvalov-anton/posthtml/releases{/id}","created_at":"2015-07-21T16:40:08Z","updated_at":"2015-07-21T16:40:08Z","pushed_at":"2015-07-21T16:41:17Z","git_url":"git://github.com/shuvalov-anton/posthtml.git","ssh_url":"git@github.com:shuvalov-anton/posthtml.git","clone_url":"https://github.com/shuvalov-anton/posthtml.git","svn_url":"https://github.com/shuvalov-anton/posthtml","homepage":null,"size":94,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"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":"posthtml:master","ref":"master","sha":"b65ac9dca0925e74eed31ee559da429afe385012","user":{"login":"posthtml","id":13065692,"avatar_url":"https://avatars.githubusercontent.com/u/13065692?v=3","gravatar_id":"","url":"https://api.github.com/users/posthtml","html_url":"https://github.com/posthtml","followers_url":"https://api.github.com/users/posthtml/followers","following_url":"https://api.github.com/users/posthtml/following{/other_user}","gists_url":"https://api.github.com/users/posthtml/gists{/gist_id}","starred_url":"https://api.github.com/users/posthtml/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/posthtml/subscriptions","organizations_url":"https://api.github.com/users/posthtml/orgs","repos_url":"https://api.github.com/users/posthtml/repos","events_url":"https://api.github.com/users/posthtml/events{/privacy}","received_events_url":"https://api.github.com/users/posthtml/received_events","type":"Organization","site_admin":false},"repo":{"id":37989511,"name":"posthtml","full_name":"posthtml/posthtml","owner":{"login":"posthtml","id":13065692,"avatar_url":"https://avatars.githubusercontent.com/u/13065692?v=3","gravatar_id":"","url":"https://api.github.com/users/posthtml","html_url":"https://github.com/posthtml","followers_url":"https://api.github.com/users/posthtml/followers","following_url":"https://api.github.com/users/posthtml/following{/other_user}","gists_url":"https://api.github.com/users/posthtml/gists{/gist_id}","starred_url":"https://api.github.com/users/posthtml/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/posthtml/subscriptions","organizations_url":"https://api.github.com/users/posthtml/orgs","repos_url":"https://api.github.com/users/posthtml/repos","events_url":"https://api.github.com/users/posthtml/events{/privacy}","received_events_url":"https://api.github.com/users/posthtml/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/posthtml/posthtml","description":"HTML post processor","fork":false,"url":"https://api.github.com/repos/posthtml/posthtml","forks_url":"https://api.github.com/repos/posthtml/posthtml/forks","keys_url":"https://api.github.com/repos/posthtml/posthtml/keys{/key_id}","collaborators_url":"https://api.github.com/repos/posthtml/posthtml/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/posthtml/posthtml/teams","hooks_url":"https://api.github.com/repos/posthtml/posthtml/hooks","issue_events_url":"https://api.github.com/repos/posthtml/posthtml/issues/events{/number}","events_url":"https://api.github.com/repos/posthtml/posthtml/events","assignees_url":"https://api.github.com/repos/posthtml/posthtml/assignees{/user}","branches_url":"https://api.github.com/repos/posthtml/posthtml/branches{/branch}","tags_url":"https://api.github.com/repos/posthtml/posthtml/tags","blobs_url":"https://api.github.com/repos/posthtml/posthtml/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/posthtml/posthtml/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/posthtml/posthtml/git/refs{/sha}","trees_url":"https://api.github.com/repos/posthtml/posthtml/git/trees{/sha}","statuses_url":"https://api.github.com/repos/posthtml/posthtml/statuses/{sha}","languages_url":"https://api.github.com/repos/posthtml/posthtml/languages","stargazers_url":"https://api.github.com/repos/posthtml/posthtml/stargazers","contributors_url":"https://api.github.com/repos/posthtml/posthtml/contributors","subscribers_url":"https://api.github.com/repos/posthtml/posthtml/subscribers","subscription_url":"https://api.github.com/repos/posthtml/posthtml/subscription","commits_url":"https://api.github.com/repos/posthtml/posthtml/commits{/sha}","git_commits_url":"https://api.github.com/repos/posthtml/posthtml/git/commits{/sha}","comments_url":"https://api.github.com/repos/posthtml/posthtml/comments{/number}","issue_comment_url":"https://api.github.com/repos/posthtml/posthtml/issues/comments{/number}","contents_url":"https://api.github.com/repos/posthtml/posthtml/contents/{+path}","compare_url":"https://api.github.com/repos/posthtml/posthtml/compare/{base}...{head}","merges_url":"https://api.github.com/repos/posthtml/posthtml/merges","archive_url":"https://api.github.com/repos/posthtml/posthtml/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/posthtml/posthtml/downloads","issues_url":"https://api.github.com/repos/posthtml/posthtml/issues{/number}","pulls_url":"https://api.github.com/repos/posthtml/posthtml/pulls{/number}","milestones_url":"https://api.github.com/repos/posthtml/posthtml/milestones{/number}","notifications_url":"https://api.github.com/repos/posthtml/posthtml/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/posthtml/posthtml/labels{/name}","releases_url":"https://api.github.com/repos/posthtml/posthtml/releases{/id}","created_at":"2015-06-24T14:28:28Z","updated_at":"2015-07-14T16:02:53Z","pushed_at":"2015-07-21T16:41:54Z","git_url":"git://github.com/posthtml/posthtml.git","ssh_url":"git@github.com:posthtml/posthtml.git","clone_url":"https://github.com/posthtml/posthtml.git","svn_url":"https://github.com/posthtml/posthtml","homepage":null,"size":298,"stargazers_count":3,"watchers_count":3,"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":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/posthtml/posthtml/pulls/18"},"html":{"href":"https://github.com/posthtml/posthtml/pull/18"},"issue":{"href":"https://api.github.com/repos/posthtml/posthtml/issues/18"},"comments":{"href":"https://api.github.com/repos/posthtml/posthtml/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/posthtml/posthtml/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/posthtml/posthtml/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/posthtml/posthtml/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/posthtml/posthtml/statuses/5a507bca5c2a2cd4d7520a62e9db4fb65245eaf9"}}}}