{"action":"created","comment":{"url":"https://api.github.com/repos/bem-sdk/bem-decl/pulls/comments/96462701","pull_request_review_id":17045121,"id":96462701,"diff_hunk":"@@ -129,19 +134,24 @@ module.exports = function (decl) {\n \n     return res;\n \n-    function add(entity, tech) {\n-        const str = Object.keys(entity).reduce((prev, key) => {\n-            return prev + entity[key];\n-        }, '') + (tech || '');\n+    function add(rawEntity, tech) {\n+        const cell = cellify({ entity: rawEntity, tech });\n+        const id = cell.id;\n \n-        if (!hash[str]) {\n-            res.push({\n-                entity: entity,\n-                tech: tech || null\n-            });\n+        if (hash[id]) {\n+            return;\n         }\n \n-        hash[str] = true;\n+        hash[id] = true;\n+        res.push(cell);\n+    }\n+\n+    function cellify(data) {","path":"lib/normalize/v2.js","position":39,"original_position":39,"commit_id":"def73987c8da53617cd3c4c49f030167459c481b","original_commit_id":"def73987c8da53617cd3c4c49f030167459c481b","user":{"login":"skad0","id":974119,"avatar_url":"https://avatars.githubusercontent.com/u/974119?v=3","gravatar_id":"","url":"https://api.github.com/users/skad0","html_url":"https://github.com/skad0","followers_url":"https://api.github.com/users/skad0/followers","following_url":"https://api.github.com/users/skad0/following{/other_user}","gists_url":"https://api.github.com/users/skad0/gists{/gist_id}","starred_url":"https://api.github.com/users/skad0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skad0/subscriptions","organizations_url":"https://api.github.com/users/skad0/orgs","repos_url":"https://api.github.com/users/skad0/repos","events_url":"https://api.github.com/users/skad0/events{/privacy}","received_events_url":"https://api.github.com/users/skad0/received_events","type":"User","site_admin":false},"body":"аргумента не хватает","created_at":"2017-01-17T17:20:24Z","updated_at":"2017-01-17T17:36:50Z","html_url":"https://github.com/bem-sdk/bem-decl/pull/89#discussion_r96462701","pull_request_url":"https://api.github.com/repos/bem-sdk/bem-decl/pulls/89","_links":{"self":{"href":"https://api.github.com/repos/bem-sdk/bem-decl/pulls/comments/96462701"},"html":{"href":"https://github.com/bem-sdk/bem-decl/pull/89#discussion_r96462701"},"pull_request":{"href":"https://api.github.com/repos/bem-sdk/bem-decl/pulls/89"}}},"pull_request":{"url":"https://api.github.com/repos/bem-sdk/bem-decl/pulls/89","id":97877213,"html_url":"https://github.com/bem-sdk/bem-decl/pull/89","diff_url":"https://github.com/bem-sdk/bem-decl/pull/89.diff","patch_url":"https://github.com/bem-sdk/bem-decl/pull/89.patch","issue_url":"https://api.github.com/repos/bem-sdk/bem-decl/issues/89","number":89,"state":"open","locked":false,"title":"Use bem-cell","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":"Depends on bem-sdk/bem-entity-name#67","created_at":"2016-12-14T02:41:04Z","updated_at":"2017-01-17T17:36:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3146d830d2a57a1e37428a7a3d28bc225d9c8685","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/bem-sdk/bem-decl/pulls/89/commits","review_comments_url":"https://api.github.com/repos/bem-sdk/bem-decl/pulls/89/comments","review_comment_url":"https://api.github.com/repos/bem-sdk/bem-decl/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bem-sdk/bem-decl/issues/89/comments","statuses_url":"https://api.github.com/repos/bem-sdk/bem-decl/statuses/def73987c8da53617cd3c4c49f030167459c481b","head":{"label":"bem-sdk:issue-81","ref":"issue-81","sha":"def73987c8da53617cd3c4c49f030167459c481b","user":{"login":"bem-sdk","id":18242231,"avatar_url":"https://avatars.githubusercontent.com/u/18242231?v=3","gravatar_id":"","url":"https://api.github.com/users/bem-sdk","html_url":"https://github.com/bem-sdk","followers_url":"https://api.github.com/users/bem-sdk/followers","following_url":"https://api.github.com/users/bem-sdk/following{/other_user}","gists_url":"https://api.github.com/users/bem-sdk/gists{/gist_id}","starred_url":"https://api.github.com/users/bem-sdk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bem-sdk/subscriptions","organizations_url":"https://api.github.com/users/bem-sdk/orgs","repos_url":"https://api.github.com/users/bem-sdk/repos","events_url":"https://api.github.com/users/bem-sdk/events{/privacy}","received_events_url":"https://api.github.com/users/bem-sdk/received_events","type":"Organization","site_admin":false},"repo":{"id":26712203,"name":"bem-decl","full_name":"bem-sdk/bem-decl","owner":{"login":"bem-sdk","id":18242231,"avatar_url":"https://avatars.githubusercontent.com/u/18242231?v=3","gravatar_id":"","url":"https://api.github.com/users/bem-sdk","html_url":"https://github.com/bem-sdk","followers_url":"https://api.github.com/users/bem-sdk/followers","following_url":"https://api.github.com/users/bem-sdk/following{/other_user}","gists_url":"https://api.github.com/users/bem-sdk/gists{/gist_id}","starred_url":"https://api.github.com/users/bem-sdk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bem-sdk/subscriptions","organizations_url":"https://api.github.com/users/bem-sdk/orgs","repos_url":"https://api.github.com/users/bem-sdk/repos","events_url":"https://api.github.com/users/bem-sdk/events{/privacy}","received_events_url":"https://api.github.com/users/bem-sdk/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bem-sdk/bem-decl","description":":capital_abcd: Manage declaration of BEM entities","fork":false,"url":"https://api.github.com/repos/bem-sdk/bem-decl","forks_url":"https://api.github.com/repos/bem-sdk/bem-decl/forks","keys_url":"https://api.github.com/repos/bem-sdk/bem-decl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bem-sdk/bem-decl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bem-sdk/bem-decl/teams","hooks_url":"https://api.github.com/repos/bem-sdk/bem-decl/hooks","issue_events_url":"https://api.github.com/repos/bem-sdk/bem-decl/issues/events{/number}","events_url":"https://api.github.com/repos/bem-sdk/bem-decl/events","assignees_url":"https://api.github.com/repos/bem-sdk/bem-decl/assignees{/user}","branches_url":"https://api.github.com/repos/bem-sdk/bem-decl/branches{/branch}","tags_url":"https://api.github.com/repos/bem-sdk/bem-decl/tags","blobs_url":"https://api.github.com/repos/bem-sdk/bem-decl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bem-sdk/bem-decl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bem-sdk/bem-decl/git/refs{/sha}","trees_url":"https://api.github.com/repos/bem-sdk/bem-decl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bem-sdk/bem-decl/statuses/{sha}","languages_url":"https://api.github.com/repos/bem-sdk/bem-decl/languages","stargazers_url":"https://api.github.com/repos/bem-sdk/bem-decl/stargazers","contributors_url":"https://api.github.com/repos/bem-sdk/bem-decl/contributors","subscribers_url":"https://api.github.com/repos/bem-sdk/bem-decl/subscribers","subscription_url":"https://api.github.com/repos/bem-sdk/bem-decl/subscription","commits_url":"https://api.github.com/repos/bem-sdk/bem-decl/commits{/sha}","git_commits_url":"https://api.github.com/repos/bem-sdk/bem-decl/git/commits{/sha}","comments_url":"https://api.github.com/repos/bem-sdk/bem-decl/comments{/number}","issue_comment_url":"https://api.github.com/repos/bem-sdk/bem-decl/issues/comments{/number}","contents_url":"https://api.github.com/repos/bem-sdk/bem-decl/contents/{+path}","compare_url":"https://api.github.com/repos/bem-sdk/bem-decl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bem-sdk/bem-decl/merges","archive_url":"https://api.github.com/repos/bem-sdk/bem-decl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bem-sdk/bem-decl/downloads","issues_url":"https://api.github.com/repos/bem-sdk/bem-decl/issues{/number}","pulls_url":"https://api.github.com/repos/bem-sdk/bem-decl/pulls{/number}","milestones_url":"https://api.github.com/repos/bem-sdk/bem-decl/milestones{/number}","notifications_url":"https://api.github.com/repos/bem-sdk/bem-decl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bem-sdk/bem-decl/labels{/name}","releases_url":"https://api.github.com/repos/bem-sdk/bem-decl/releases{/id}","deployments_url":"https://api.github.com/repos/bem-sdk/bem-decl/deployments","created_at":"2014-11-16T11:34:07Z","updated_at":"2016-11-04T20:21:24Z","pushed_at":"2017-01-17T16:54:13Z","git_url":"git://github.com/bem-sdk/bem-decl.git","ssh_url":"git@github.com:bem-sdk/bem-decl.git","clone_url":"https://github.com/bem-sdk/bem-decl.git","svn_url":"https://github.com/bem-sdk/bem-decl","homepage":"","size":166,"stargazers_count":10,"watchers_count":10,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":23,"forks":3,"open_issues":23,"watchers":10,"default_branch":"master"}},"base":{"label":"bem-sdk:master","ref":"master","sha":"33e0d2e72670a4c10f3428158ecc424b16a86717","user":{"login":"bem-sdk","id":18242231,"avatar_url":"https://avatars.githubusercontent.com/u/18242231?v=3","gravatar_id":"","url":"https://api.github.com/users/bem-sdk","html_url":"https://github.com/bem-sdk","followers_url":"https://api.github.com/users/bem-sdk/followers","following_url":"https://api.github.com/users/bem-sdk/following{/other_user}","gists_url":"https://api.github.com/users/bem-sdk/gists{/gist_id}","starred_url":"https://api.github.com/users/bem-sdk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bem-sdk/subscriptions","organizations_url":"https://api.github.com/users/bem-sdk/orgs","repos_url":"https://api.github.com/users/bem-sdk/repos","events_url":"https://api.github.com/users/bem-sdk/events{/privacy}","received_events_url":"https://api.github.com/users/bem-sdk/received_events","type":"Organization","site_admin":false},"repo":{"id":26712203,"name":"bem-decl","full_name":"bem-sdk/bem-decl","owner":{"login":"bem-sdk","id":18242231,"avatar_url":"https://avatars.githubusercontent.com/u/18242231?v=3","gravatar_id":"","url":"https://api.github.com/users/bem-sdk","html_url":"https://github.com/bem-sdk","followers_url":"https://api.github.com/users/bem-sdk/followers","following_url":"https://api.github.com/users/bem-sdk/following{/other_user}","gists_url":"https://api.github.com/users/bem-sdk/gists{/gist_id}","starred_url":"https://api.github.com/users/bem-sdk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bem-sdk/subscriptions","organizations_url":"https://api.github.com/users/bem-sdk/orgs","repos_url":"https://api.github.com/users/bem-sdk/repos","events_url":"https://api.github.com/users/bem-sdk/events{/privacy}","received_events_url":"https://api.github.com/users/bem-sdk/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bem-sdk/bem-decl","description":":capital_abcd: Manage declaration of BEM entities","fork":false,"url":"https://api.github.com/repos/bem-sdk/bem-decl","forks_url":"https://api.github.com/repos/bem-sdk/bem-decl/forks","keys_url":"https://api.github.com/repos/bem-sdk/bem-decl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bem-sdk/bem-decl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bem-sdk/bem-decl/teams","hooks_url":"https://api.github.com/repos/bem-sdk/bem-decl/hooks","issue_events_url":"https://api.github.com/repos/bem-sdk/bem-decl/issues/events{/number}","events_url":"https://api.github.com/repos/bem-sdk/bem-decl/events","assignees_url":"https://api.github.com/repos/bem-sdk/bem-decl/assignees{/user}","branches_url":"https://api.github.com/repos/bem-sdk/bem-decl/branches{/branch}","tags_url":"https://api.github.com/repos/bem-sdk/bem-decl/tags","blobs_url":"https://api.github.com/repos/bem-sdk/bem-decl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bem-sdk/bem-decl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bem-sdk/bem-decl/git/refs{/sha}","trees_url":"https://api.github.com/repos/bem-sdk/bem-decl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bem-sdk/bem-decl/statuses/{sha}","languages_url":"https://api.github.com/repos/bem-sdk/bem-decl/languages","stargazers_url":"https://api.github.com/repos/bem-sdk/bem-decl/stargazers","contributors_url":"https://api.github.com/repos/bem-sdk/bem-decl/contributors","subscribers_url":"https://api.github.com/repos/bem-sdk/bem-decl/subscribers","subscription_url":"https://api.github.com/repos/bem-sdk/bem-decl/subscription","commits_url":"https://api.github.com/repos/bem-sdk/bem-decl/commits{/sha}","git_commits_url":"https://api.github.com/repos/bem-sdk/bem-decl/git/commits{/sha}","comments_url":"https://api.github.com/repos/bem-sdk/bem-decl/comments{/number}","issue_comment_url":"https://api.github.com/repos/bem-sdk/bem-decl/issues/comments{/number}","contents_url":"https://api.github.com/repos/bem-sdk/bem-decl/contents/{+path}","compare_url":"https://api.github.com/repos/bem-sdk/bem-decl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bem-sdk/bem-decl/merges","archive_url":"https://api.github.com/repos/bem-sdk/bem-decl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bem-sdk/bem-decl/downloads","issues_url":"https://api.github.com/repos/bem-sdk/bem-decl/issues{/number}","pulls_url":"https://api.github.com/repos/bem-sdk/bem-decl/pulls{/number}","milestones_url":"https://api.github.com/repos/bem-sdk/bem-decl/milestones{/number}","notifications_url":"https://api.github.com/repos/bem-sdk/bem-decl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bem-sdk/bem-decl/labels{/name}","releases_url":"https://api.github.com/repos/bem-sdk/bem-decl/releases{/id}","deployments_url":"https://api.github.com/repos/bem-sdk/bem-decl/deployments","created_at":"2014-11-16T11:34:07Z","updated_at":"2016-11-04T20:21:24Z","pushed_at":"2017-01-17T16:54:13Z","git_url":"git://github.com/bem-sdk/bem-decl.git","ssh_url":"git@github.com:bem-sdk/bem-decl.git","clone_url":"https://github.com/bem-sdk/bem-decl.git","svn_url":"https://github.com/bem-sdk/bem-decl","homepage":"","size":166,"stargazers_count":10,"watchers_count":10,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":23,"forks":3,"open_issues":23,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bem-sdk/bem-decl/pulls/89"},"html":{"href":"https://github.com/bem-sdk/bem-decl/pull/89"},"issue":{"href":"https://api.github.com/repos/bem-sdk/bem-decl/issues/89"},"comments":{"href":"https://api.github.com/repos/bem-sdk/bem-decl/issues/89/comments"},"review_comments":{"href":"https://api.github.com/repos/bem-sdk/bem-decl/pulls/89/comments"},"review_comment":{"href":"https://api.github.com/repos/bem-sdk/bem-decl/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bem-sdk/bem-decl/pulls/89/commits"},"statuses":{"href":"https://api.github.com/repos/bem-sdk/bem-decl/statuses/def73987c8da53617cd3c4c49f030167459c481b"}}}}
{"actor":{"display_login":"skad0"}}