{"action":"created","comment":{"url":"https://api.github.com/repos/enb/enb-bem-tmpl-specs/pulls/comments/71302977","id":71302977,"diff_hunk":"@@ -26,12 +34,31 @@ var assert = require('assert'),\n         return JSON.parse(referencesJSON);\n     };\n \n+<%\n+var prettifyEngineName = function(ngn) {\n+    return String(ngn).toLowerCase().replace(' ', '-');\n+}\n+%>\n+\n describe('${ describe }', function() {\n     <% _.forEach(its, function(it) { %>\n     describe('${ it }', function() {\n \n         <% _.forEach(engines, function(engine) {\n-            var lang = engine.lang;\n+            var lang = engine.lang,\n+                htmlPostfix = '';\n+\n+            lang = lang.isReal ? lang.name : null;\n+\n+            if (engines.length > 1) {\n+                htmlPostfix += '.' + prettifyEngineName(engine.name);","path":"lib/assets/tmpl-spec.jst","position":51,"original_position":51,"commit_id":"513be2ad36d1fccfc9aa5eb26b09f5f37e02df8b","original_commit_id":"2e85660b82890b835aa0a26ce7fb818e99f8787c","user":{"login":"sbmaxx","id":381830,"avatar_url":"https://avatars.githubusercontent.com/u/381830?v=3","gravatar_id":"","url":"https://api.github.com/users/sbmaxx","html_url":"https://github.com/sbmaxx","followers_url":"https://api.github.com/users/sbmaxx/followers","following_url":"https://api.github.com/users/sbmaxx/following{/other_user}","gists_url":"https://api.github.com/users/sbmaxx/gists{/gist_id}","starred_url":"https://api.github.com/users/sbmaxx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbmaxx/subscriptions","organizations_url":"https://api.github.com/users/sbmaxx/orgs","repos_url":"https://api.github.com/users/sbmaxx/repos","events_url":"https://api.github.com/users/sbmaxx/events{/privacy}","received_events_url":"https://api.github.com/users/sbmaxx/received_events","type":"User","site_admin":false},"body":"а, ок. сейчас починю","created_at":"2016-07-19T09:36:31Z","updated_at":"2016-07-19T09:36:31Z","html_url":"https://github.com/enb/enb-bem-tmpl-specs/pull/128#discussion_r71302977","pull_request_url":"https://api.github.com/repos/enb/enb-bem-tmpl-specs/pulls/128","_links":{"self":{"href":"https://api.github.com/repos/enb/enb-bem-tmpl-specs/pulls/comments/71302977"},"html":{"href":"https://github.com/enb/enb-bem-tmpl-specs/pull/128#discussion_r71302977"},"pull_request":{"href":"https://api.github.com/repos/enb/enb-bem-tmpl-specs/pulls/128"}}},"pull_request":{"url":"https://api.github.com/repos/enb/enb-bem-tmpl-specs/pulls/128","id":75678877,"html_url":"https://github.com/enb/enb-bem-tmpl-specs/pull/128","diff_url":"https://github.com/enb/enb-bem-tmpl-specs/pull/128.diff","patch_url":"https://github.com/enb/enb-bem-tmpl-specs/pull/128.patch","issue_url":"https://api.github.com/repos/enb/enb-bem-tmpl-specs/issues/128","number":128,"state":"open","locked":false,"title":"Save html reference near bemjson","user":{"login":"sbmaxx","id":381830,"avatar_url":"https://avatars.githubusercontent.com/u/381830?v=3","gravatar_id":"","url":"https://api.github.com/users/sbmaxx","html_url":"https://github.com/sbmaxx","followers_url":"https://api.github.com/users/sbmaxx/followers","following_url":"https://api.github.com/users/sbmaxx/following{/other_user}","gists_url":"https://api.github.com/users/sbmaxx/gists{/gist_id}","starred_url":"https://api.github.com/users/sbmaxx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbmaxx/subscriptions","organizations_url":"https://api.github.com/users/sbmaxx/orgs","repos_url":"https://api.github.com/users/sbmaxx/repos","events_url":"https://api.github.com/users/sbmaxx/events{/privacy}","received_events_url":"https://api.github.com/users/sbmaxx/received_events","type":"User","site_admin":false},"body":"С опцией `saveHtml` рядом с исходным `10-suite.bemjson.js` будет появляться эталон `10-suite.html`.\r\n\r\nТекущая реализация перезапишет эталон, если он существует.  С точки зрения git изменений не будет. Если делать только добавление эталонов (без перезаписи), то для обновления эталона, нужно будет удалять старый файл. Но можно и откатить перезапись.","created_at":"2016-06-29T16:22:52Z","updated_at":"2016-07-19T09:36:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"01b7e70cceeba0a371198364b693041feccceb8f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/enb/enb-bem-tmpl-specs/pulls/128/commits","review_comments_url":"https://api.github.com/repos/enb/enb-bem-tmpl-specs/pulls/128/comments","review_comment_url":"https://api.github.com/repos/enb/enb-bem-tmpl-specs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/enb/enb-bem-tmpl-specs/issues/128/comments","statuses_url":"https://api.github.com/repos/enb/enb-bem-tmpl-specs/statuses/513be2ad36d1fccfc9aa5eb26b09f5f37e02df8b","head":{"label":"sbmaxx:saveHTML","ref":"saveHTML","sha":"513be2ad36d1fccfc9aa5eb26b09f5f37e02df8b","user":{"login":"sbmaxx","id":381830,"avatar_url":"https://avatars.githubusercontent.com/u/381830?v=3","gravatar_id":"","url":"https://api.github.com/users/sbmaxx","html_url":"https://github.com/sbmaxx","followers_url":"https://api.github.com/users/sbmaxx/followers","following_url":"https://api.github.com/users/sbmaxx/following{/other_user}","gists_url":"https://api.github.com/users/sbmaxx/gists{/gist_id}","starred_url":"https://api.github.com/users/sbmaxx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbmaxx/subscriptions","organizations_url":"https://api.github.com/users/sbmaxx/orgs","repos_url":"https://api.github.com/users/sbmaxx/repos","events_url":"https://api.github.com/users/sbmaxx/events{/privacy}","received_events_url":"https://api.github.com/users/sbmaxx/received_events","type":"User","site_admin":false},"repo":{"id":62122588,"name":"enb-bem-tmpl-specs","full_name":"sbmaxx/enb-bem-tmpl-specs","owner":{"login":"sbmaxx","id":381830,"avatar_url":"https://avatars.githubusercontent.com/u/381830?v=3","gravatar_id":"","url":"https://api.github.com/users/sbmaxx","html_url":"https://github.com/sbmaxx","followers_url":"https://api.github.com/users/sbmaxx/followers","following_url":"https://api.github.com/users/sbmaxx/following{/other_user}","gists_url":"https://api.github.com/users/sbmaxx/gists{/gist_id}","starred_url":"https://api.github.com/users/sbmaxx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbmaxx/subscriptions","organizations_url":"https://api.github.com/users/sbmaxx/orgs","repos_url":"https://api.github.com/users/sbmaxx/repos","events_url":"https://api.github.com/users/sbmaxx/events{/privacy}","received_events_url":"https://api.github.com/users/sbmaxx/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sbmaxx/enb-bem-tmpl-specs","description":"BEM template specs for ENB","fork":true,"url":"https://api.github.com/repos/sbmaxx/enb-bem-tmpl-specs","forks_url":"https://api.github.com/repos/sbmaxx/enb-bem-tmpl-specs/forks","keys_url":"https://api.github.com/repos/sbmaxx/enb-bem-tmpl-specs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sbmaxx/enb-bem-tmpl-specs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sbmaxx/enb-bem-tmpl-specs/teams","hooks_url":"https://api.github.com/repos/sbmaxx/enb-bem-tmpl-specs/hooks","issue_events_url":"https://api.github.com/repos/sbmaxx/enb-bem-tmpl-specs/issues/events{/number}","events_url":"https://api.github.com/repos/sbmaxx/enb-bem-tmpl-specs/events","assignees_url":"https://api.github.com/repos/sbmaxx/enb-bem-tmpl-specs/assignees{/user}","branches_url":"https://api.github.com/repos/sbmaxx/enb-bem-tmpl-specs/branches{/branch}","tags_url":"https://api.github.com/repos/sbmaxx/enb-bem-tmpl-specs/tags","blobs_url":"https://api.github.com/repos/sbmaxx/enb-bem-tmpl-specs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sbmaxx/enb-bem-tmpl-specs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sbmaxx/enb-bem-tmpl-specs/git/refs{/sha}","trees_url":"https://api.github.com/repos/sbmaxx/enb-bem-tmpl-specs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sbmaxx/enb-bem-tmpl-specs/statuses/{sha}","languages_url":"https://api.github.com/repos/sbmaxx/enb-bem-tmpl-specs/languages","stargazers_url":"https://api.github.com/repos/sbmaxx/enb-bem-tmpl-specs/stargazers","contributors_url":"https://api.github.com/repos/sbmaxx/enb-bem-tmpl-specs/contributors","subscribers_url":"https://api.github.com/repos/sbmaxx/enb-bem-tmpl-specs/subscribers","subscription_url":"https://api.github.com/repos/sbmaxx/enb-bem-tmpl-specs/subscription","commits_url":"https://api.github.com/repos/sbmaxx/enb-bem-tmpl-specs/commits{/sha}","git_commits_url":"https://api.github.com/repos/sbmaxx/enb-bem-tmpl-specs/git/commits{/sha}","comments_url":"https://api.github.com/repos/sbmaxx/enb-bem-tmpl-specs/comments{/number}","issue_comment_url":"https://api.github.com/repos/sbmaxx/enb-bem-tmpl-specs/issues/comments{/number}","contents_url":"https://api.github.com/repos/sbmaxx/enb-bem-tmpl-specs/contents/{+path}","compare_url":"https://api.github.com/repos/sbmaxx/enb-bem-tmpl-specs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sbmaxx/enb-bem-tmpl-specs/merges","archive_url":"https://api.github.com/repos/sbmaxx/enb-bem-tmpl-specs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sbmaxx/enb-bem-tmpl-specs/downloads","issues_url":"https://api.github.com/repos/sbmaxx/enb-bem-tmpl-specs/issues{/number}","pulls_url":"https://api.github.com/repos/sbmaxx/enb-bem-tmpl-specs/pulls{/number}","milestones_url":"https://api.github.com/repos/sbmaxx/enb-bem-tmpl-specs/milestones{/number}","notifications_url":"https://api.github.com/repos/sbmaxx/enb-bem-tmpl-specs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sbmaxx/enb-bem-tmpl-specs/labels{/name}","releases_url":"https://api.github.com/repos/sbmaxx/enb-bem-tmpl-specs/releases{/id}","deployments_url":"https://api.github.com/repos/sbmaxx/enb-bem-tmpl-specs/deployments","created_at":"2016-06-28T08:11:32Z","updated_at":"2016-06-28T08:11:33Z","pushed_at":"2016-07-14T07:39:27Z","git_url":"git://github.com/sbmaxx/enb-bem-tmpl-specs.git","ssh_url":"git@github.com:sbmaxx/enb-bem-tmpl-specs.git","clone_url":"https://github.com/sbmaxx/enb-bem-tmpl-specs.git","svn_url":"https://github.com/sbmaxx/enb-bem-tmpl-specs","homepage":"","size":311,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"enb:master","ref":"master","sha":"23dd6bb54cb5ec83ce72288c7af900161c9bb826","user":{"login":"enb","id":14005055,"avatar_url":"https://avatars.githubusercontent.com/u/14005055?v=3","gravatar_id":"","url":"https://api.github.com/users/enb","html_url":"https://github.com/enb","followers_url":"https://api.github.com/users/enb/followers","following_url":"https://api.github.com/users/enb/following{/other_user}","gists_url":"https://api.github.com/users/enb/gists{/gist_id}","starred_url":"https://api.github.com/users/enb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enb/subscriptions","organizations_url":"https://api.github.com/users/enb/orgs","repos_url":"https://api.github.com/users/enb/repos","events_url":"https://api.github.com/users/enb/events{/privacy}","received_events_url":"https://api.github.com/users/enb/received_events","type":"Organization","site_admin":false},"repo":{"id":22675688,"name":"enb-bem-tmpl-specs","full_name":"enb/enb-bem-tmpl-specs","owner":{"login":"enb","id":14005055,"avatar_url":"https://avatars.githubusercontent.com/u/14005055?v=3","gravatar_id":"","url":"https://api.github.com/users/enb","html_url":"https://github.com/enb","followers_url":"https://api.github.com/users/enb/followers","following_url":"https://api.github.com/users/enb/following{/other_user}","gists_url":"https://api.github.com/users/enb/gists{/gist_id}","starred_url":"https://api.github.com/users/enb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enb/subscriptions","organizations_url":"https://api.github.com/users/enb/orgs","repos_url":"https://api.github.com/users/enb/repos","events_url":"https://api.github.com/users/enb/events{/privacy}","received_events_url":"https://api.github.com/users/enb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/enb/enb-bem-tmpl-specs","description":"BEM template specs for ENB","fork":false,"url":"https://api.github.com/repos/enb/enb-bem-tmpl-specs","forks_url":"https://api.github.com/repos/enb/enb-bem-tmpl-specs/forks","keys_url":"https://api.github.com/repos/enb/enb-bem-tmpl-specs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/enb/enb-bem-tmpl-specs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/enb/enb-bem-tmpl-specs/teams","hooks_url":"https://api.github.com/repos/enb/enb-bem-tmpl-specs/hooks","issue_events_url":"https://api.github.com/repos/enb/enb-bem-tmpl-specs/issues/events{/number}","events_url":"https://api.github.com/repos/enb/enb-bem-tmpl-specs/events","assignees_url":"https://api.github.com/repos/enb/enb-bem-tmpl-specs/assignees{/user}","branches_url":"https://api.github.com/repos/enb/enb-bem-tmpl-specs/branches{/branch}","tags_url":"https://api.github.com/repos/enb/enb-bem-tmpl-specs/tags","blobs_url":"https://api.github.com/repos/enb/enb-bem-tmpl-specs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/enb/enb-bem-tmpl-specs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/enb/enb-bem-tmpl-specs/git/refs{/sha}","trees_url":"https://api.github.com/repos/enb/enb-bem-tmpl-specs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/enb/enb-bem-tmpl-specs/statuses/{sha}","languages_url":"https://api.github.com/repos/enb/enb-bem-tmpl-specs/languages","stargazers_url":"https://api.github.com/repos/enb/enb-bem-tmpl-specs/stargazers","contributors_url":"https://api.github.com/repos/enb/enb-bem-tmpl-specs/contributors","subscribers_url":"https://api.github.com/repos/enb/enb-bem-tmpl-specs/subscribers","subscription_url":"https://api.github.com/repos/enb/enb-bem-tmpl-specs/subscription","commits_url":"https://api.github.com/repos/enb/enb-bem-tmpl-specs/commits{/sha}","git_commits_url":"https://api.github.com/repos/enb/enb-bem-tmpl-specs/git/commits{/sha}","comments_url":"https://api.github.com/repos/enb/enb-bem-tmpl-specs/comments{/number}","issue_comment_url":"https://api.github.com/repos/enb/enb-bem-tmpl-specs/issues/comments{/number}","contents_url":"https://api.github.com/repos/enb/enb-bem-tmpl-specs/contents/{+path}","compare_url":"https://api.github.com/repos/enb/enb-bem-tmpl-specs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/enb/enb-bem-tmpl-specs/merges","archive_url":"https://api.github.com/repos/enb/enb-bem-tmpl-specs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/enb/enb-bem-tmpl-specs/downloads","issues_url":"https://api.github.com/repos/enb/enb-bem-tmpl-specs/issues{/number}","pulls_url":"https://api.github.com/repos/enb/enb-bem-tmpl-specs/pulls{/number}","milestones_url":"https://api.github.com/repos/enb/enb-bem-tmpl-specs/milestones{/number}","notifications_url":"https://api.github.com/repos/enb/enb-bem-tmpl-specs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/enb/enb-bem-tmpl-specs/labels{/name}","releases_url":"https://api.github.com/repos/enb/enb-bem-tmpl-specs/releases{/id}","deployments_url":"https://api.github.com/repos/enb/enb-bem-tmpl-specs/deployments","created_at":"2014-08-06T08:39:30Z","updated_at":"2016-07-14T12:53:04Z","pushed_at":"2016-07-18T09:19:00Z","git_url":"git://github.com/enb/enb-bem-tmpl-specs.git","ssh_url":"git@github.com:enb/enb-bem-tmpl-specs.git","clone_url":"https://github.com/enb/enb-bem-tmpl-specs.git","svn_url":"https://github.com/enb/enb-bem-tmpl-specs","homepage":"","size":333,"stargazers_count":16,"watchers_count":16,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":8,"forks":13,"open_issues":8,"watchers":16,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/enb/enb-bem-tmpl-specs/pulls/128"},"html":{"href":"https://github.com/enb/enb-bem-tmpl-specs/pull/128"},"issue":{"href":"https://api.github.com/repos/enb/enb-bem-tmpl-specs/issues/128"},"comments":{"href":"https://api.github.com/repos/enb/enb-bem-tmpl-specs/issues/128/comments"},"review_comments":{"href":"https://api.github.com/repos/enb/enb-bem-tmpl-specs/pulls/128/comments"},"review_comment":{"href":"https://api.github.com/repos/enb/enb-bem-tmpl-specs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/enb/enb-bem-tmpl-specs/pulls/128/commits"},"statuses":{"href":"https://api.github.com/repos/enb/enb-bem-tmpl-specs/statuses/513be2ad36d1fccfc9aa5eb26b09f5f37e02df8b"}}}}
{"actor":{"display_login":"sbmaxx"}}