{"action":"created","comment":{"url":"https://api.github.com/repos/awinogradov/bem-xjst/pulls/comments/52802207","id":52802207,"diff_hunk":"@@ -0,0 +1,297 @@\n+var inherits = require('inherits');\n+var utils = require('../bemxjst/utils');\n+var Entity = require('../bemhtml/entity').Entity;\n+var BEMXJST = require('../bemxjst');\n+var naming = require('bem-naming');\n+\n+function VIDOM() {\n+  BEMXJST.apply(this, arguments);\n+}\n+\n+inherits(VIDOM, BEMXJST);\n+module.exports = VIDOM;\n+\n+VIDOM.prototype.Entity = Entity;\n+\n+BEMXJST.prototype._run = function _run(context) {\n+  var res;\n+  if (context === undefined || context === '' || context === null)\n+    res = this.runEmpty();\n+  else if (typeof context === 'function')","path":"lib/vidom/index.js","position":20,"original_position":20,"commit_id":"434e655252bd74e6930adfddcd9934317852eef0","original_commit_id":"434e655252bd74e6930adfddcd9934317852eef0","user":{"login":"zxqfox","id":677518,"avatar_url":"https://avatars.githubusercontent.com/u/677518?v=3","gravatar_id":"","url":"https://api.github.com/users/zxqfox","html_url":"https://github.com/zxqfox","followers_url":"https://api.github.com/users/zxqfox/followers","following_url":"https://api.github.com/users/zxqfox/following{/other_user}","gists_url":"https://api.github.com/users/zxqfox/gists{/gist_id}","starred_url":"https://api.github.com/users/zxqfox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zxqfox/subscriptions","organizations_url":"https://api.github.com/users/zxqfox/orgs","repos_url":"https://api.github.com/users/zxqfox/repos","events_url":"https://api.github.com/users/zxqfox/events{/privacy}","received_events_url":"https://api.github.com/users/zxqfox/received_events","type":"User","site_admin":false},"body":"agree ;-)","created_at":"2016-02-12T21:42:37Z","updated_at":"2016-02-12T21:42:37Z","html_url":"https://github.com/awinogradov/bem-xjst/pull/1#discussion_r52802207","pull_request_url":"https://api.github.com/repos/awinogradov/bem-xjst/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/awinogradov/bem-xjst/pulls/comments/52802207"},"html":{"href":"https://github.com/awinogradov/bem-xjst/pull/1#discussion_r52802207"},"pull_request":{"href":"https://api.github.com/repos/awinogradov/bem-xjst/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/awinogradov/bem-xjst/pulls/1","id":58478147,"html_url":"https://github.com/awinogradov/bem-xjst/pull/1","diff_url":"https://github.com/awinogradov/bem-xjst/pull/1.diff","patch_url":"https://github.com/awinogradov/bem-xjst/pull/1.patch","issue_url":"https://api.github.com/repos/awinogradov/bem-xjst/issues/1","number":1,"state":"open","locked":false,"title":"[WIP]: bemreact engine","user":{"login":"awinogradov","id":982072,"avatar_url":"https://avatars.githubusercontent.com/u/982072?v=3","gravatar_id":"","url":"https://api.github.com/users/awinogradov","html_url":"https://github.com/awinogradov","followers_url":"https://api.github.com/users/awinogradov/followers","following_url":"https://api.github.com/users/awinogradov/following{/other_user}","gists_url":"https://api.github.com/users/awinogradov/gists{/gist_id}","starred_url":"https://api.github.com/users/awinogradov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awinogradov/subscriptions","organizations_url":"https://api.github.com/users/awinogradov/orgs","repos_url":"https://api.github.com/users/awinogradov/repos","events_url":"https://api.github.com/users/awinogradov/events{/privacy}","received_events_url":"https://api.github.com/users/awinogradov/received_events","type":"User","site_admin":false},"body":"Example https://gist.github.com/awinogradov/9fee1e8e8a4edfbf2748\r\n\r\n__UPD:__ Рабочий прототип https://github.com/alfa-bank-dev/bemhtml-react-example","created_at":"2016-02-05T20:11:11Z","updated_at":"2016-02-12T21:42:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2f152ed3b8309c96589c69a6a0769ecc8ec9bb7e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/awinogradov/bem-xjst/pulls/1/commits","review_comments_url":"https://api.github.com/repos/awinogradov/bem-xjst/pulls/1/comments","review_comment_url":"https://api.github.com/repos/awinogradov/bem-xjst/pulls/comments{/number}","comments_url":"https://api.github.com/repos/awinogradov/bem-xjst/issues/1/comments","statuses_url":"https://api.github.com/repos/awinogradov/bem-xjst/statuses/434e655252bd74e6930adfddcd9934317852eef0","head":{"label":"awinogradov:feature/bemreact","ref":"feature/bemreact","sha":"434e655252bd74e6930adfddcd9934317852eef0","user":{"login":"awinogradov","id":982072,"avatar_url":"https://avatars.githubusercontent.com/u/982072?v=3","gravatar_id":"","url":"https://api.github.com/users/awinogradov","html_url":"https://github.com/awinogradov","followers_url":"https://api.github.com/users/awinogradov/followers","following_url":"https://api.github.com/users/awinogradov/following{/other_user}","gists_url":"https://api.github.com/users/awinogradov/gists{/gist_id}","starred_url":"https://api.github.com/users/awinogradov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awinogradov/subscriptions","organizations_url":"https://api.github.com/users/awinogradov/orgs","repos_url":"https://api.github.com/users/awinogradov/repos","events_url":"https://api.github.com/users/awinogradov/events{/privacy}","received_events_url":"https://api.github.com/users/awinogradov/received_events","type":"User","site_admin":false},"repo":{"id":51135551,"name":"bem-xjst","full_name":"awinogradov/bem-xjst","owner":{"login":"awinogradov","id":982072,"avatar_url":"https://avatars.githubusercontent.com/u/982072?v=3","gravatar_id":"","url":"https://api.github.com/users/awinogradov","html_url":"https://github.com/awinogradov","followers_url":"https://api.github.com/users/awinogradov/followers","following_url":"https://api.github.com/users/awinogradov/following{/other_user}","gists_url":"https://api.github.com/users/awinogradov/gists{/gist_id}","starred_url":"https://api.github.com/users/awinogradov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awinogradov/subscriptions","organizations_url":"https://api.github.com/users/awinogradov/orgs","repos_url":"https://api.github.com/users/awinogradov/repos","events_url":"https://api.github.com/users/awinogradov/events{/privacy}","received_events_url":"https://api.github.com/users/awinogradov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/awinogradov/bem-xjst","description":"XJST Compiler extensions for BEM","fork":true,"url":"https://api.github.com/repos/awinogradov/bem-xjst","forks_url":"https://api.github.com/repos/awinogradov/bem-xjst/forks","keys_url":"https://api.github.com/repos/awinogradov/bem-xjst/keys{/key_id}","collaborators_url":"https://api.github.com/repos/awinogradov/bem-xjst/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/awinogradov/bem-xjst/teams","hooks_url":"https://api.github.com/repos/awinogradov/bem-xjst/hooks","issue_events_url":"https://api.github.com/repos/awinogradov/bem-xjst/issues/events{/number}","events_url":"https://api.github.com/repos/awinogradov/bem-xjst/events","assignees_url":"https://api.github.com/repos/awinogradov/bem-xjst/assignees{/user}","branches_url":"https://api.github.com/repos/awinogradov/bem-xjst/branches{/branch}","tags_url":"https://api.github.com/repos/awinogradov/bem-xjst/tags","blobs_url":"https://api.github.com/repos/awinogradov/bem-xjst/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/awinogradov/bem-xjst/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/awinogradov/bem-xjst/git/refs{/sha}","trees_url":"https://api.github.com/repos/awinogradov/bem-xjst/git/trees{/sha}","statuses_url":"https://api.github.com/repos/awinogradov/bem-xjst/statuses/{sha}","languages_url":"https://api.github.com/repos/awinogradov/bem-xjst/languages","stargazers_url":"https://api.github.com/repos/awinogradov/bem-xjst/stargazers","contributors_url":"https://api.github.com/repos/awinogradov/bem-xjst/contributors","subscribers_url":"https://api.github.com/repos/awinogradov/bem-xjst/subscribers","subscription_url":"https://api.github.com/repos/awinogradov/bem-xjst/subscription","commits_url":"https://api.github.com/repos/awinogradov/bem-xjst/commits{/sha}","git_commits_url":"https://api.github.com/repos/awinogradov/bem-xjst/git/commits{/sha}","comments_url":"https://api.github.com/repos/awinogradov/bem-xjst/comments{/number}","issue_comment_url":"https://api.github.com/repos/awinogradov/bem-xjst/issues/comments{/number}","contents_url":"https://api.github.com/repos/awinogradov/bem-xjst/contents/{+path}","compare_url":"https://api.github.com/repos/awinogradov/bem-xjst/compare/{base}...{head}","merges_url":"https://api.github.com/repos/awinogradov/bem-xjst/merges","archive_url":"https://api.github.com/repos/awinogradov/bem-xjst/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/awinogradov/bem-xjst/downloads","issues_url":"https://api.github.com/repos/awinogradov/bem-xjst/issues{/number}","pulls_url":"https://api.github.com/repos/awinogradov/bem-xjst/pulls{/number}","milestones_url":"https://api.github.com/repos/awinogradov/bem-xjst/milestones{/number}","notifications_url":"https://api.github.com/repos/awinogradov/bem-xjst/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/awinogradov/bem-xjst/labels{/name}","releases_url":"https://api.github.com/repos/awinogradov/bem-xjst/releases{/id}","deployments_url":"https://api.github.com/repos/awinogradov/bem-xjst/deployments","created_at":"2016-02-05T08:41:52Z","updated_at":"2016-02-12T17:44:58Z","pushed_at":"2016-02-12T17:41:42Z","git_url":"git://github.com/awinogradov/bem-xjst.git","ssh_url":"git@github.com:awinogradov/bem-xjst.git","clone_url":"https://github.com/awinogradov/bem-xjst.git","svn_url":"https://github.com/awinogradov/bem-xjst","homepage":"https://bem.github.io/bem-xjst","size":802,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"feature/bemreact"}},"base":{"label":"awinogradov:master","ref":"master","sha":"5f2b9dbe4f15dae3edd9d81005fb299965de15d6","user":{"login":"awinogradov","id":982072,"avatar_url":"https://avatars.githubusercontent.com/u/982072?v=3","gravatar_id":"","url":"https://api.github.com/users/awinogradov","html_url":"https://github.com/awinogradov","followers_url":"https://api.github.com/users/awinogradov/followers","following_url":"https://api.github.com/users/awinogradov/following{/other_user}","gists_url":"https://api.github.com/users/awinogradov/gists{/gist_id}","starred_url":"https://api.github.com/users/awinogradov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awinogradov/subscriptions","organizations_url":"https://api.github.com/users/awinogradov/orgs","repos_url":"https://api.github.com/users/awinogradov/repos","events_url":"https://api.github.com/users/awinogradov/events{/privacy}","received_events_url":"https://api.github.com/users/awinogradov/received_events","type":"User","site_admin":false},"repo":{"id":51135551,"name":"bem-xjst","full_name":"awinogradov/bem-xjst","owner":{"login":"awinogradov","id":982072,"avatar_url":"https://avatars.githubusercontent.com/u/982072?v=3","gravatar_id":"","url":"https://api.github.com/users/awinogradov","html_url":"https://github.com/awinogradov","followers_url":"https://api.github.com/users/awinogradov/followers","following_url":"https://api.github.com/users/awinogradov/following{/other_user}","gists_url":"https://api.github.com/users/awinogradov/gists{/gist_id}","starred_url":"https://api.github.com/users/awinogradov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awinogradov/subscriptions","organizations_url":"https://api.github.com/users/awinogradov/orgs","repos_url":"https://api.github.com/users/awinogradov/repos","events_url":"https://api.github.com/users/awinogradov/events{/privacy}","received_events_url":"https://api.github.com/users/awinogradov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/awinogradov/bem-xjst","description":"XJST Compiler extensions for BEM","fork":true,"url":"https://api.github.com/repos/awinogradov/bem-xjst","forks_url":"https://api.github.com/repos/awinogradov/bem-xjst/forks","keys_url":"https://api.github.com/repos/awinogradov/bem-xjst/keys{/key_id}","collaborators_url":"https://api.github.com/repos/awinogradov/bem-xjst/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/awinogradov/bem-xjst/teams","hooks_url":"https://api.github.com/repos/awinogradov/bem-xjst/hooks","issue_events_url":"https://api.github.com/repos/awinogradov/bem-xjst/issues/events{/number}","events_url":"https://api.github.com/repos/awinogradov/bem-xjst/events","assignees_url":"https://api.github.com/repos/awinogradov/bem-xjst/assignees{/user}","branches_url":"https://api.github.com/repos/awinogradov/bem-xjst/branches{/branch}","tags_url":"https://api.github.com/repos/awinogradov/bem-xjst/tags","blobs_url":"https://api.github.com/repos/awinogradov/bem-xjst/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/awinogradov/bem-xjst/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/awinogradov/bem-xjst/git/refs{/sha}","trees_url":"https://api.github.com/repos/awinogradov/bem-xjst/git/trees{/sha}","statuses_url":"https://api.github.com/repos/awinogradov/bem-xjst/statuses/{sha}","languages_url":"https://api.github.com/repos/awinogradov/bem-xjst/languages","stargazers_url":"https://api.github.com/repos/awinogradov/bem-xjst/stargazers","contributors_url":"https://api.github.com/repos/awinogradov/bem-xjst/contributors","subscribers_url":"https://api.github.com/repos/awinogradov/bem-xjst/subscribers","subscription_url":"https://api.github.com/repos/awinogradov/bem-xjst/subscription","commits_url":"https://api.github.com/repos/awinogradov/bem-xjst/commits{/sha}","git_commits_url":"https://api.github.com/repos/awinogradov/bem-xjst/git/commits{/sha}","comments_url":"https://api.github.com/repos/awinogradov/bem-xjst/comments{/number}","issue_comment_url":"https://api.github.com/repos/awinogradov/bem-xjst/issues/comments{/number}","contents_url":"https://api.github.com/repos/awinogradov/bem-xjst/contents/{+path}","compare_url":"https://api.github.com/repos/awinogradov/bem-xjst/compare/{base}...{head}","merges_url":"https://api.github.com/repos/awinogradov/bem-xjst/merges","archive_url":"https://api.github.com/repos/awinogradov/bem-xjst/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/awinogradov/bem-xjst/downloads","issues_url":"https://api.github.com/repos/awinogradov/bem-xjst/issues{/number}","pulls_url":"https://api.github.com/repos/awinogradov/bem-xjst/pulls{/number}","milestones_url":"https://api.github.com/repos/awinogradov/bem-xjst/milestones{/number}","notifications_url":"https://api.github.com/repos/awinogradov/bem-xjst/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/awinogradov/bem-xjst/labels{/name}","releases_url":"https://api.github.com/repos/awinogradov/bem-xjst/releases{/id}","deployments_url":"https://api.github.com/repos/awinogradov/bem-xjst/deployments","created_at":"2016-02-05T08:41:52Z","updated_at":"2016-02-12T17:44:58Z","pushed_at":"2016-02-12T17:41:42Z","git_url":"git://github.com/awinogradov/bem-xjst.git","ssh_url":"git@github.com:awinogradov/bem-xjst.git","clone_url":"https://github.com/awinogradov/bem-xjst.git","svn_url":"https://github.com/awinogradov/bem-xjst","homepage":"https://bem.github.io/bem-xjst","size":802,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"feature/bemreact"}},"_links":{"self":{"href":"https://api.github.com/repos/awinogradov/bem-xjst/pulls/1"},"html":{"href":"https://github.com/awinogradov/bem-xjst/pull/1"},"issue":{"href":"https://api.github.com/repos/awinogradov/bem-xjst/issues/1"},"comments":{"href":"https://api.github.com/repos/awinogradov/bem-xjst/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/awinogradov/bem-xjst/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/awinogradov/bem-xjst/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/awinogradov/bem-xjst/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/awinogradov/bem-xjst/statuses/434e655252bd74e6930adfddcd9934317852eef0"}}}}