GitHub PullRequestReviewCommentEvent at 2014-12-05 07:31:28
Repository: bem-components
Actor: Nikulinnn
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/bem/bem-components/pulls/comments/21358671","id":21358671,"diff_hunk":"@@ -1,56 +1,72 @@\n # image\n \n-Блок `image` используется для вставки картинок.\n+Используется для вставки картинок.\n \n-В HTML представлен тегом `<img>`.\n+## Краткая информация\n \n-```bemjson\n+### Специализированные поля блока\n+\n+| Поле | Тип | Описание |\n+| ---- | --- | -------- |\n+| <a href=#title>title</a> | <code>String</code> | Всплывающая подсказка. |\n+| <a href=#alt>alt</a> | <code>String</code> | Альтернативный текст для изображений. |\n+| <a href=#url>url</a> | <code>String</code> | Адрес, по которому подгружается картинка. |\n+| <a href=#width>width</a> | <code>Number</code> | Ширина картинки. |\n+| <a href=#height>height</a> | <code>Number</code> | Высота картинки. |\n+| <a href=#content>content</a> | <code>String</code> | Инлайновая картинка. |\n+\n+## Обзор блока\n+\n+Блок `image` в HTML представлен тегом `<img>`.\n+\n+### Специализированные поля блока\n+\n+<a name=\"title\"></a>\n+#### `title`\n+\n+Определяет текст всплывающей подсказки.\n+\n+<a name=\"alt\"></a>\n+#### `alt`\n+\n+Обязательное поле.\n+\n+Определяет альтернативный текст для изображений. Такой текст позволяет получить текстовую информацию о картинке, если в браузере отключена загрузка изображений. Блок распознается программами чтения с экрана.\n+\n+<a name=\"url\"></a>\n+#### Поле `url`\n+\n+Определяет адрес ссылки, по которой подгружается картинка.\n+\n+```js\n {\n     block : 'image',\n-    url : 'http://bem.info/m/_/IvuRSFeBStMXdBhBrBvKagSd5sE.svg',\n+    url : 'http://bem.info/m/_/UDW_1du_HiznlY0CUbPFjWQH3iY.svg',\n     width : 100,\n     height : 100,\n     alt : 'BEM',\n-    title : 'Find us on bem.info'\n+    title : 'Все подробности на bem.info'\n }\n ```\n \n-## Специализированные поля блока\n-\n-Список зарезервированных полей входного BEMJSON:\n-\n-<table>\n-    <tr>\n-        <th>Поле</th>\n-        <th>Тип</th>\n-        <th>Описание</th>\n-    </tr>\n-    <tr>\n-        <td>title</td>\n-        <td>\n-            <code>String</code>\n-        </td>\n-        <td>Задает имя картинки.</td>\n-    </tr>\n-    <tr>\n-        <td>alt</td>\n-        <td>\n-            <code>String</code></td>\n-        <td>Обязательное поле. Устанавливает альтернативный текст для изображений. Такой текст позволяет получить текстовую информацию о картинке при отключенной загрузке изображений в браузере.\n-            <br>Блок распознается программами чтения с экрана.</td>\n-    </tr>\n-    <tr>\n-        <td>url</td>\n-        <td>\n-            <code>String</code>\n-        </td>\n-        <td>Адрес ссылки, по которой подгружается картинка.</td>\n-    </tr>\n-    <tr>\n-        <td>width, height</td>\n-        <td>\n-            <code>Number</code>\n-        </td>\n-        <td>Значения, которые будут переданы в одноименные атрибуты картинки.</td>\n-    </tr>\n-</table>\n+<a name=\"width\"></a>\n+#### Поле `width`\n+\n+Определяет ширину картинки.\n+\n+<a name=\"height\"></a>\n+#### Поле `height`\n+\n+Определяет высоту картинки.","path":"common.blocks/image/image.ru.md","position":104,"original_position":104,"commit_id":"98cd9bdcc5d4567d72a6b862899776e8eccd7d93","original_commit_id":"98cd9bdcc5d4567d72a6b862899776e8eccd7d93","user":{"login":"Nikulinnn","id":6550707,"avatar_url":"https://avatars.githubusercontent.com/u/6550707?v=3","gravatar_id":"","url":"https://api.github.com/users/Nikulinnn","html_url":"https://github.com/Nikulinnn","followers_url":"https://api.github.com/users/Nikulinnn/followers","following_url":"https://api.github.com/users/Nikulinnn/following{/other_user}","gists_url":"https://api.github.com/users/Nikulinnn/gists{/gist_id}","starred_url":"https://api.github.com/users/Nikulinnn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nikulinnn/subscriptions","organizations_url":"https://api.github.com/users/Nikulinnn/orgs","repos_url":"https://api.github.com/users/Nikulinnn/repos","events_url":"https://api.github.com/users/Nikulinnn/events{/privacy}","received_events_url":"https://api.github.com/users/Nikulinnn/received_events","type":"User","site_admin":false},"body":"можно не указывать? если да, то какая высота будет использоваться? как у картинки?","created_at":"2014-12-05T07:31:28Z","updated_at":"2014-12-05T07:31:28Z","html_url":"https://github.com/bem/bem-components/pull/1130#discussion_r21358671","pull_request_url":"https://api.github.com/repos/bem/bem-components/pulls/1130","_links":{"self":{"href":"https://api.github.com/repos/bem/bem-components/pulls/comments/21358671"},"html":{"href":"https://github.com/bem/bem-components/pull/1130#discussion_r21358671"},"pull_request":{"href":"https://api.github.com/repos/bem/bem-components/pulls/1130"}}},"pull_request":{"url":"https://api.github.com/repos/bem/bem-components/pulls/1130","id":25076877,"html_url":"https://github.com/bem/bem-components/pull/1130","diff_url":"https://github.com/bem/bem-components/pull/1130.diff","patch_url":"https://github.com/bem/bem-components/pull/1130.patch","issue_url":"https://api.github.com/repos/bem/bem-components/issues/1130","number":1130,"state":"open","locked":false,"title":"image description fixed","user":{"login":"innabelaya","id":6286656,"avatar_url":"https://avatars.githubusercontent.com/u/6286656?v=3","gravatar_id":"","url":"https://api.github.com/users/innabelaya","html_url":"https://github.com/innabelaya","followers_url":"https://api.github.com/users/innabelaya/followers","following_url":"https://api.github.com/users/innabelaya/following{/other_user}","gists_url":"https://api.github.com/users/innabelaya/gists{/gist_id}","starred_url":"https://api.github.com/users/innabelaya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/innabelaya/subscriptions","organizations_url":"https://api.github.com/users/innabelaya/orgs","repos_url":"https://api.github.com/users/innabelaya/repos","events_url":"https://api.github.com/users/innabelaya/events{/privacy}","received_events_url":"https://api.github.com/users/innabelaya/received_events","type":"User","site_admin":false},"body":"","created_at":"2014-11-26T11:22:53Z","updated_at":"2014-12-05T07:31:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3e55ada6758c9cb596a3571f5ad4dfdf0b68b03d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bem/bem-components/pulls/1130/commits","review_comments_url":"https://api.github.com/repos/bem/bem-components/pulls/1130/comments","review_comment_url":"https://api.github.com/repos/bem/bem-components/pulls/comments/{number}","comments_url":"https://api.github.com/repos/bem/bem-components/issues/1130/comments","statuses_url":"https://api.github.com/repos/bem/bem-components/statuses/98cd9bdcc5d4567d72a6b862899776e8eccd7d93","head":{"label":"bem:image-doc-ru","ref":"image-doc-ru","sha":"98cd9bdcc5d4567d72a6b862899776e8eccd7d93","user":{"login":"bem","id":223412,"avatar_url":"https://avatars.githubusercontent.com/u/223412?v=3","gravatar_id":"","url":"https://api.github.com/users/bem","html_url":"https://github.com/bem","followers_url":"https://api.github.com/users/bem/followers","following_url":"https://api.github.com/users/bem/following{/other_user}","gists_url":"https://api.github.com/users/bem/gists{/gist_id}","starred_url":"https://api.github.com/users/bem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bem/subscriptions","organizations_url":"https://api.github.com/users/bem/orgs","repos_url":"https://api.github.com/users/bem/repos","events_url":"https://api.github.com/users/bem/events{/privacy}","received_events_url":"https://api.github.com/users/bem/received_events","type":"Organization","site_admin":false},"repo":{"id":6578551,"name":"bem-components","full_name":"bem/bem-components","owner":{"login":"bem","id":223412,"avatar_url":"https://avatars.githubusercontent.com/u/223412?v=3","gravatar_id":"","url":"https://api.github.com/users/bem","html_url":"https://github.com/bem","followers_url":"https://api.github.com/users/bem/followers","following_url":"https://api.github.com/users/bem/following{/other_user}","gists_url":"https://api.github.com/users/bem/gists{/gist_id}","starred_url":"https://api.github.com/users/bem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bem/subscriptions","organizations_url":"https://api.github.com/users/bem/orgs","repos_url":"https://api.github.com/users/bem/repos","events_url":"https://api.github.com/users/bem/events{/privacy}","received_events_url":"https://api.github.com/users/bem/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bem/bem-components","description":"Set of components for sites development","fork":false,"url":"https://api.github.com/repos/bem/bem-components","forks_url":"https://api.github.com/repos/bem/bem-components/forks","keys_url":"https://api.github.com/repos/bem/bem-components/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bem/bem-components/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bem/bem-components/teams","hooks_url":"https://api.github.com/repos/bem/bem-components/hooks","issue_events_url":"https://api.github.com/repos/bem/bem-components/issues/events{/number}","events_url":"https://api.github.com/repos/bem/bem-components/events","assignees_url":"https://api.github.com/repos/bem/bem-components/assignees{/user}","branches_url":"https://api.github.com/repos/bem/bem-components/branches{/branch}","tags_url":"https://api.github.com/repos/bem/bem-components/tags","blobs_url":"https://api.github.com/repos/bem/bem-components/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bem/bem-components/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bem/bem-components/git/refs{/sha}","trees_url":"https://api.github.com/repos/bem/bem-components/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bem/bem-components/statuses/{sha}","languages_url":"https://api.github.com/repos/bem/bem-components/languages","stargazers_url":"https://api.github.com/repos/bem/bem-components/stargazers","contributors_url":"https://api.github.com/repos/bem/bem-components/contributors","subscribers_url":"https://api.github.com/repos/bem/bem-components/subscribers","subscription_url":"https://api.github.com/repos/bem/bem-components/subscription","commits_url":"https://api.github.com/repos/bem/bem-components/commits{/sha}","git_commits_url":"https://api.github.com/repos/bem/bem-components/git/commits{/sha}","comments_url":"https://api.github.com/repos/bem/bem-components/comments{/number}","issue_comment_url":"https://api.github.com/repos/bem/bem-components/issues/comments/{number}","contents_url":"https://api.github.com/repos/bem/bem-components/contents/{+path}","compare_url":"https://api.github.com/repos/bem/bem-components/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bem/bem-components/merges","archive_url":"https://api.github.com/repos/bem/bem-components/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bem/bem-components/downloads","issues_url":"https://api.github.com/repos/bem/bem-components/issues{/number}","pulls_url":"https://api.github.com/repos/bem/bem-components/pulls{/number}","milestones_url":"https://api.github.com/repos/bem/bem-components/milestones{/number}","notifications_url":"https://api.github.com/repos/bem/bem-components/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bem/bem-components/labels{/name}","releases_url":"https://api.github.com/repos/bem/bem-components/releases{/id}","created_at":"2012-11-07T11:54:35Z","updated_at":"2014-12-05T06:03:35Z","pushed_at":"2014-12-04T16:26:05Z","git_url":"git://github.com/bem/bem-components.git","ssh_url":"git@github.com:bem/bem-components.git","clone_url":"https://github.com/bem/bem-components.git","svn_url":"https://github.com/bem/bem-components","homepage":"http://bem.info/libs/bem-components/","size":15696,"stargazers_count":53,"watchers_count":53,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":39,"mirror_url":null,"open_issues_count":86,"forks":39,"open_issues":86,"watchers":53,"default_branch":"v2"}},"base":{"label":"bem:v2","ref":"v2","sha":"f3c09a7c573efbe36d4981941c1d22f84b9ed07b","user":{"login":"bem","id":223412,"avatar_url":"https://avatars.githubusercontent.com/u/223412?v=3","gravatar_id":"","url":"https://api.github.com/users/bem","html_url":"https://github.com/bem","followers_url":"https://api.github.com/users/bem/followers","following_url":"https://api.github.com/users/bem/following{/other_user}","gists_url":"https://api.github.com/users/bem/gists{/gist_id}","starred_url":"https://api.github.com/users/bem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bem/subscriptions","organizations_url":"https://api.github.com/users/bem/orgs","repos_url":"https://api.github.com/users/bem/repos","events_url":"https://api.github.com/users/bem/events{/privacy}","received_events_url":"https://api.github.com/users/bem/received_events","type":"Organization","site_admin":false},"repo":{"id":6578551,"name":"bem-components","full_name":"bem/bem-components","owner":{"login":"bem","id":223412,"avatar_url":"https://avatars.githubusercontent.com/u/223412?v=3","gravatar_id":"","url":"https://api.github.com/users/bem","html_url":"https://github.com/bem","followers_url":"https://api.github.com/users/bem/followers","following_url":"https://api.github.com/users/bem/following{/other_user}","gists_url":"https://api.github.com/users/bem/gists{/gist_id}","starred_url":"https://api.github.com/users/bem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bem/subscriptions","organizations_url":"https://api.github.com/users/bem/orgs","repos_url":"https://api.github.com/users/bem/repos","events_url":"https://api.github.com/users/bem/events{/privacy}","received_events_url":"https://api.github.com/users/bem/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bem/bem-components","description":"Set of components for sites development","fork":false,"url":"https://api.github.com/repos/bem/bem-components","forks_url":"https://api.github.com/repos/bem/bem-components/forks","keys_url":"https://api.github.com/repos/bem/bem-components/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bem/bem-components/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bem/bem-components/teams","hooks_url":"https://api.github.com/repos/bem/bem-components/hooks","issue_events_url":"https://api.github.com/repos/bem/bem-components/issues/events{/number}","events_url":"https://api.github.com/repos/bem/bem-components/events","assignees_url":"https://api.github.com/repos/bem/bem-components/assignees{/user}","branches_url":"https://api.github.com/repos/bem/bem-components/branches{/branch}","tags_url":"https://api.github.com/repos/bem/bem-components/tags","blobs_url":"https://api.github.com/repos/bem/bem-components/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bem/bem-components/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bem/bem-components/git/refs{/sha}","trees_url":"https://api.github.com/repos/bem/bem-components/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bem/bem-components/statuses/{sha}","languages_url":"https://api.github.com/repos/bem/bem-components/languages","stargazers_url":"https://api.github.com/repos/bem/bem-components/stargazers","contributors_url":"https://api.github.com/repos/bem/bem-components/contributors","subscribers_url":"https://api.github.com/repos/bem/bem-components/subscribers","subscription_url":"https://api.github.com/repos/bem/bem-components/subscription","commits_url":"https://api.github.com/repos/bem/bem-components/commits{/sha}","git_commits_url":"https://api.github.com/repos/bem/bem-components/git/commits{/sha}","comments_url":"https://api.github.com/repos/bem/bem-components/comments{/number}","issue_comment_url":"https://api.github.com/repos/bem/bem-components/issues/comments/{number}","contents_url":"https://api.github.com/repos/bem/bem-components/contents/{+path}","compare_url":"https://api.github.com/repos/bem/bem-components/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bem/bem-components/merges","archive_url":"https://api.github.com/repos/bem/bem-components/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bem/bem-components/downloads","issues_url":"https://api.github.com/repos/bem/bem-components/issues{/number}","pulls_url":"https://api.github.com/repos/bem/bem-components/pulls{/number}","milestones_url":"https://api.github.com/repos/bem/bem-components/milestones{/number}","notifications_url":"https://api.github.com/repos/bem/bem-components/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bem/bem-components/labels{/name}","releases_url":"https://api.github.com/repos/bem/bem-components/releases{/id}","created_at":"2012-11-07T11:54:35Z","updated_at":"2014-12-05T06:03:35Z","pushed_at":"2014-12-04T16:26:05Z","git_url":"git://github.com/bem/bem-components.git","ssh_url":"git@github.com:bem/bem-components.git","clone_url":"https://github.com/bem/bem-components.git","svn_url":"https://github.com/bem/bem-components","homepage":"http://bem.info/libs/bem-components/","size":15696,"stargazers_count":53,"watchers_count":53,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":39,"mirror_url":null,"open_issues_count":86,"forks":39,"open_issues":86,"watchers":53,"default_branch":"v2"}},"_links":{"self":{"href":"https://api.github.com/repos/bem/bem-components/pulls/1130"},"html":{"href":"https://github.com/bem/bem-components/pull/1130"},"issue":{"href":"https://api.github.com/repos/bem/bem-components/issues/1130"},"comments":{"href":"https://api.github.com/repos/bem/bem-components/issues/1130/comments"},"review_comments":{"href":"https://api.github.com/repos/bem/bem-components/pulls/1130/comments"},"review_comment":{"href":"https://api.github.com/repos/bem/bem-components/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/bem/bem-components/pulls/1130/commits"},"statuses":{"href":"https://api.github.com/repos/bem/bem-components/statuses/98cd9bdcc5d4567d72a6b862899776e8eccd7d93"}}}}