{"action":"created","issue":{"url":"https://api.github.com/repos/bem-site/bem-forum-content-ru/issues/1183","repository_url":"https://api.github.com/repos/bem-site/bem-forum-content-ru","labels_url":"https://api.github.com/repos/bem-site/bem-forum-content-ru/issues/1183/labels{/name}","comments_url":"https://api.github.com/repos/bem-site/bem-forum-content-ru/issues/1183/comments","events_url":"https://api.github.com/repos/bem-site/bem-forum-content-ru/issues/1183/events","html_url":"https://github.com/bem-site/bem-forum-content-ru/issues/1183","id":190556774,"number":1183,"title":"Расположение BEM модуля в разметке HTML","user":{"login":"CROSP","id":5072318,"avatar_url":"https://avatars.githubusercontent.com/u/5072318?v=3","gravatar_id":"","url":"https://api.github.com/users/CROSP","html_url":"https://github.com/CROSP","followers_url":"https://api.github.com/users/CROSP/followers","following_url":"https://api.github.com/users/CROSP/following{/other_user}","gists_url":"https://api.github.com/users/CROSP/gists{/gist_id}","starred_url":"https://api.github.com/users/CROSP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CROSP/subscriptions","organizations_url":"https://api.github.com/users/CROSP/orgs","repos_url":"https://api.github.com/users/CROSP/repos","events_url":"https://api.github.com/users/CROSP/events{/privacy}","received_events_url":"https://api.github.com/users/CROSP/received_events","type":"User","site_admin":false},"labels":[{"id":117811283,"url":"https://api.github.com/repos/bem-site/bem-forum-content-ru/labels/bem-core","name":"bem-core","color":"bfe5bf","default":false},{"id":117811822,"url":"https://api.github.com/repos/bem-site/bem-forum-content-ru/labels/bem-forum","name":"bem-forum","color":"bfe5bf","default":false},{"id":117811670,"url":"https://api.github.com/repos/bem-site/bem-forum-content-ru/labels/bemhtml","name":"bemhtml","color":"bfe5bf","default":false},{"id":117811694,"url":"https://api.github.com/repos/bem-site/bem-forum-content-ru/labels/bemtree","name":"bemtree","color":"bfe5bf","default":false},{"id":117809964,"url":"https://api.github.com/repos/bem-site/bem-forum-content-ru/labels/css","name":"css","color":"c7def8","default":false},{"id":117809942,"url":"https://api.github.com/repos/bem-site/bem-forum-content-ru/labels/html","name":"html","color":"c7def8","default":false},{"id":117809979,"url":"https://api.github.com/repos/bem-site/bem-forum-content-ru/labels/js","name":"js","color":"c7def8","default":false},{"id":117809741,"url":"https://api.github.com/repos/bem-site/bem-forum-content-ru/labels/methodology","name":"methodology","color":"c7def8","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-11-20T12:56:32Z","updated_at":"2016-11-21T11:24:05Z","closed_at":null,"body":"Здравствуйте,\r\n\r\nСпасибо, использую в проектах БЭМ. Использую не весь стек, а именования. \r\n\r\nВозник вопрос про расположение именно в дереве.\r\n\r\nВот код \r\n\r\n    <div class=\"burger-menu__container\">\r\n                <div class=\"burger-menu\" id=\"burger-toggle\">\r\n                    <div class=\"burger-menu__bar burger-menu__bar--top\"></div>\r\n                    <div class=\"burger-menu__bar burger-menu__bar--bottom\"></div>\r\n                </div>\r\n      </div>\r\n\r\nВопрос, может ли самый главный блок модуля (burger-menu) находится по иерархии внутри своего элемента ? Мне это не очень нравится. \r\nПо семантике и по виду в общем. \r\n\r\nКонтейнер, тоже вроде это элемент модуля, но по иерархии находится выше. \r\n\r\nКак правильно поступить в этом случае ? \r\n\r\n     <div class=\"burger-menu-container\">\r\n                <div class=\"burger-menu\" id=\"burger-toggle\">\r\n                    <div class=\"burger-menu__bar burger-menu__bar--top\"></div>\r\n                    <div class=\"burger-menu__bar burger-menu__bar--bottom\"></div>\r\n                </div>\r\n      </div>\r\n\r\nСделать как отдельным модулем ? \r\n\r\nПодскажите пожалуйста как правильно сделать ?\r\n\r\nСпасибо"},"comment":{"url":"https://api.github.com/repos/bem-site/bem-forum-content-ru/issues/comments/261911704","html_url":"https://github.com/bem-site/bem-forum-content-ru/issues/1183#issuecomment-261911704","issue_url":"https://api.github.com/repos/bem-site/bem-forum-content-ru/issues/1183","id":261911704,"user":{"login":"kompolom","id":6213808,"avatar_url":"https://avatars.githubusercontent.com/u/6213808?v=3","gravatar_id":"","url":"https://api.github.com/users/kompolom","html_url":"https://github.com/kompolom","followers_url":"https://api.github.com/users/kompolom/followers","following_url":"https://api.github.com/users/kompolom/following{/other_user}","gists_url":"https://api.github.com/users/kompolom/gists{/gist_id}","starred_url":"https://api.github.com/users/kompolom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kompolom/subscriptions","organizations_url":"https://api.github.com/users/kompolom/orgs","repos_url":"https://api.github.com/users/kompolom/repos","events_url":"https://api.github.com/users/kompolom/events{/privacy}","received_events_url":"https://api.github.com/users/kompolom/received_events","type":"User","site_admin":false},"created_at":"2016-11-21T11:24:04Z","updated_at":"2016-11-21T11:24:04Z","body":"@CROSP Как показывает практика, то, что сегодня одно, через месяц может оказаться и не одно. Дизайнеры, они веселые ребята... Так что пишите js так чтобы ему не нужны были id. Даже если не используете i-bem.js"}}
{"actor":{"display_login":"kompolom"}}