{"action":"created","comment":{"url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/pulls/comments/31236040","id":31236040,"diff_hunk":"@@ -92,6 +93,30 @@ module.exports = require('enb/lib/build-flow').create()\n                 }\n             });\n \n+            Object.keys(references).forEach(function (name) {\n+                var item = references[name],\n+                    hasBemjson = item.hasOwnProperty('bemjson'),","path":"lib/techs/references.js","position":25,"original_position":25,"commit_id":"1e12aba770fad22b4c078bde7ee456eb0605025d","original_commit_id":"1e12aba770fad22b4c078bde7ee456eb0605025d","user":{"login":"SevInf","id":603056,"avatar_url":"https://avatars.githubusercontent.com/u/603056?v=3","gravatar_id":"","url":"https://api.github.com/users/SevInf","html_url":"https://github.com/SevInf","followers_url":"https://api.github.com/users/SevInf/followers","following_url":"https://api.github.com/users/SevInf/following{/other_user}","gists_url":"https://api.github.com/users/SevInf/gists{/gist_id}","starred_url":"https://api.github.com/users/SevInf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SevInf/subscriptions","organizations_url":"https://api.github.com/users/SevInf/orgs","repos_url":"https://api.github.com/users/SevInf/repos","events_url":"https://api.github.com/users/SevInf/events{/privacy}","received_events_url":"https://api.github.com/users/SevInf/received_events","type":"User","site_admin":false},"body":"Эти переменные дальше всегда с инверсией используются. ИМХО, чище будет вот так сделать:\r\n\r\n```js\r\nvar noBemjson = !item.hasOwnProperty('bemjson'),\r\n     noHtml = !item.hasOwnProperty('html');\r\n```","created_at":"2015-05-28T14:06:10Z","updated_at":"2015-05-28T14:06:10Z","html_url":"https://github.com/enb-bem/enb-bem-tmpl-specs/pull/86#discussion_r31236040","pull_request_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/pulls/86","_links":{"self":{"href":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/pulls/comments/31236040"},"html":{"href":"https://github.com/enb-bem/enb-bem-tmpl-specs/pull/86#discussion_r31236040"},"pull_request":{"href":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/pulls/86"}}},"pull_request":{"url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/pulls/86","id":36321289,"html_url":"https://github.com/enb-bem/enb-bem-tmpl-specs/pull/86","diff_url":"https://github.com/enb-bem/enb-bem-tmpl-specs/pull/86.diff","patch_url":"https://github.com/enb-bem/enb-bem-tmpl-specs/pull/86.patch","issue_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/issues/86","number":86,"state":"open","locked":false,"title":"Fixed bug with ignore test if empty reference file","user":{"login":"blond","id":2225579,"avatar_url":"https://avatars.githubusercontent.com/u/2225579?v=3","gravatar_id":"","url":"https://api.github.com/users/blond","html_url":"https://github.com/blond","followers_url":"https://api.github.com/users/blond/followers","following_url":"https://api.github.com/users/blond/following{/other_user}","gists_url":"https://api.github.com/users/blond/gists{/gist_id}","starred_url":"https://api.github.com/users/blond/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blond/subscriptions","organizations_url":"https://api.github.com/users/blond/orgs","repos_url":"https://api.github.com/users/blond/repos","events_url":"https://api.github.com/users/blond/events{/privacy}","received_events_url":"https://api.github.com/users/blond/received_events","type":"User","site_admin":false},"body":"Resolved #83 ","created_at":"2015-05-27T16:15:54Z","updated_at":"2015-05-28T14:06:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c6d7cfd59c4518dfce394b970258770f9e179c0f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/pulls/86/commits","review_comments_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/pulls/86/comments","review_comment_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/issues/86/comments","statuses_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/statuses/1e12aba770fad22b4c078bde7ee456eb0605025d","head":{"label":"enb-bem:issue-83","ref":"issue-83","sha":"1e12aba770fad22b4c078bde7ee456eb0605025d","user":{"login":"enb-bem","id":8117111,"avatar_url":"https://avatars.githubusercontent.com/u/8117111?v=3","gravatar_id":"","url":"https://api.github.com/users/enb-bem","html_url":"https://github.com/enb-bem","followers_url":"https://api.github.com/users/enb-bem/followers","following_url":"https://api.github.com/users/enb-bem/following{/other_user}","gists_url":"https://api.github.com/users/enb-bem/gists{/gist_id}","starred_url":"https://api.github.com/users/enb-bem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enb-bem/subscriptions","organizations_url":"https://api.github.com/users/enb-bem/orgs","repos_url":"https://api.github.com/users/enb-bem/repos","events_url":"https://api.github.com/users/enb-bem/events{/privacy}","received_events_url":"https://api.github.com/users/enb-bem/received_events","type":"Organization","site_admin":false},"repo":{"id":22675688,"name":"enb-bem-tmpl-specs","full_name":"enb-bem/enb-bem-tmpl-specs","owner":{"login":"enb-bem","id":8117111,"avatar_url":"https://avatars.githubusercontent.com/u/8117111?v=3","gravatar_id":"","url":"https://api.github.com/users/enb-bem","html_url":"https://github.com/enb-bem","followers_url":"https://api.github.com/users/enb-bem/followers","following_url":"https://api.github.com/users/enb-bem/following{/other_user}","gists_url":"https://api.github.com/users/enb-bem/gists{/gist_id}","starred_url":"https://api.github.com/users/enb-bem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enb-bem/subscriptions","organizations_url":"https://api.github.com/users/enb-bem/orgs","repos_url":"https://api.github.com/users/enb-bem/repos","events_url":"https://api.github.com/users/enb-bem/events{/privacy}","received_events_url":"https://api.github.com/users/enb-bem/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/enb-bem/enb-bem-tmpl-specs","description":"BEM template specs for ENB","fork":false,"url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs","forks_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/forks","keys_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/teams","hooks_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/hooks","issue_events_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/issues/events{/number}","events_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/events","assignees_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/assignees{/user}","branches_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/branches{/branch}","tags_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/tags","blobs_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/git/refs{/sha}","trees_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/statuses/{sha}","languages_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/languages","stargazers_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/stargazers","contributors_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/contributors","subscribers_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/subscribers","subscription_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/subscription","commits_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/commits{/sha}","git_commits_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/git/commits{/sha}","comments_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/comments{/number}","issue_comment_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/issues/comments{/number}","contents_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/contents/{+path}","compare_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/merges","archive_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/downloads","issues_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/issues{/number}","pulls_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/pulls{/number}","milestones_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/milestones{/number}","notifications_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/labels{/name}","releases_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/releases{/id}","created_at":"2014-08-06T08:39:30Z","updated_at":"2015-04-02T21:03:00Z","pushed_at":"2015-05-27T16:15:55Z","git_url":"git://github.com/enb-bem/enb-bem-tmpl-specs.git","ssh_url":"git@github.com:enb-bem/enb-bem-tmpl-specs.git","clone_url":"https://github.com/enb-bem/enb-bem-tmpl-specs.git","svn_url":"https://github.com/enb-bem/enb-bem-tmpl-specs","homepage":"","size":1483,"stargazers_count":8,"watchers_count":8,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":8,"forks":9,"open_issues":8,"watchers":8,"default_branch":"master"}},"base":{"label":"enb-bem:master","ref":"master","sha":"3bfae5d37612038c3477e99000960ff362344f9d","user":{"login":"enb-bem","id":8117111,"avatar_url":"https://avatars.githubusercontent.com/u/8117111?v=3","gravatar_id":"","url":"https://api.github.com/users/enb-bem","html_url":"https://github.com/enb-bem","followers_url":"https://api.github.com/users/enb-bem/followers","following_url":"https://api.github.com/users/enb-bem/following{/other_user}","gists_url":"https://api.github.com/users/enb-bem/gists{/gist_id}","starred_url":"https://api.github.com/users/enb-bem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enb-bem/subscriptions","organizations_url":"https://api.github.com/users/enb-bem/orgs","repos_url":"https://api.github.com/users/enb-bem/repos","events_url":"https://api.github.com/users/enb-bem/events{/privacy}","received_events_url":"https://api.github.com/users/enb-bem/received_events","type":"Organization","site_admin":false},"repo":{"id":22675688,"name":"enb-bem-tmpl-specs","full_name":"enb-bem/enb-bem-tmpl-specs","owner":{"login":"enb-bem","id":8117111,"avatar_url":"https://avatars.githubusercontent.com/u/8117111?v=3","gravatar_id":"","url":"https://api.github.com/users/enb-bem","html_url":"https://github.com/enb-bem","followers_url":"https://api.github.com/users/enb-bem/followers","following_url":"https://api.github.com/users/enb-bem/following{/other_user}","gists_url":"https://api.github.com/users/enb-bem/gists{/gist_id}","starred_url":"https://api.github.com/users/enb-bem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enb-bem/subscriptions","organizations_url":"https://api.github.com/users/enb-bem/orgs","repos_url":"https://api.github.com/users/enb-bem/repos","events_url":"https://api.github.com/users/enb-bem/events{/privacy}","received_events_url":"https://api.github.com/users/enb-bem/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/enb-bem/enb-bem-tmpl-specs","description":"BEM template specs for ENB","fork":false,"url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs","forks_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/forks","keys_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/teams","hooks_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/hooks","issue_events_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/issues/events{/number}","events_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/events","assignees_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/assignees{/user}","branches_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/branches{/branch}","tags_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/tags","blobs_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/git/refs{/sha}","trees_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/statuses/{sha}","languages_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/languages","stargazers_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/stargazers","contributors_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/contributors","subscribers_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/subscribers","subscription_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/subscription","commits_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/commits{/sha}","git_commits_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/git/commits{/sha}","comments_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/comments{/number}","issue_comment_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/issues/comments{/number}","contents_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/contents/{+path}","compare_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/merges","archive_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/downloads","issues_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/issues{/number}","pulls_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/pulls{/number}","milestones_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/milestones{/number}","notifications_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/labels{/name}","releases_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/releases{/id}","created_at":"2014-08-06T08:39:30Z","updated_at":"2015-04-02T21:03:00Z","pushed_at":"2015-05-27T16:15:55Z","git_url":"git://github.com/enb-bem/enb-bem-tmpl-specs.git","ssh_url":"git@github.com:enb-bem/enb-bem-tmpl-specs.git","clone_url":"https://github.com/enb-bem/enb-bem-tmpl-specs.git","svn_url":"https://github.com/enb-bem/enb-bem-tmpl-specs","homepage":"","size":1483,"stargazers_count":8,"watchers_count":8,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":8,"forks":9,"open_issues":8,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/pulls/86"},"html":{"href":"https://github.com/enb-bem/enb-bem-tmpl-specs/pull/86"},"issue":{"href":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/issues/86"},"comments":{"href":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/issues/86/comments"},"review_comments":{"href":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/pulls/86/comments"},"review_comment":{"href":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/pulls/86/commits"},"statuses":{"href":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/statuses/1e12aba770fad22b4c078bde7ee456eb0605025d"}}}}