{"action":"created","issue":{"url":"https://api.github.com/repos/bem/bem-forum-content-ru/issues/222","labels_url":"https://api.github.com/repos/bem/bem-forum-content-ru/issues/222/labels{/name}","comments_url":"https://api.github.com/repos/bem/bem-forum-content-ru/issues/222/comments","events_url":"https://api.github.com/repos/bem/bem-forum-content-ru/issues/222/events","html_url":"https://github.com/bem/bem-forum-content-ru/issues/222","id":57204114,"number":222,"title":"Изменение модификатора вне i-bem","user":{"login":"belozyorcev","id":1655916,"avatar_url":"https://avatars.githubusercontent.com/u/1655916?v=3","gravatar_id":"","url":"https://api.github.com/users/belozyorcev","html_url":"https://github.com/belozyorcev","followers_url":"https://api.github.com/users/belozyorcev/followers","following_url":"https://api.github.com/users/belozyorcev/following{/other_user}","gists_url":"https://api.github.com/users/belozyorcev/gists{/gist_id}","starred_url":"https://api.github.com/users/belozyorcev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/belozyorcev/subscriptions","organizations_url":"https://api.github.com/users/belozyorcev/orgs","repos_url":"https://api.github.com/users/belozyorcev/repos","events_url":"https://api.github.com/users/belozyorcev/events{/privacy}","received_events_url":"https://api.github.com/users/belozyorcev/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bem/bem-forum-content-ru/labels/i-bem","name":"i-bem","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":24,"created_at":"2015-02-10T17:08:05Z","updated_at":"2015-03-22T11:06:52Z","closed_at":null,"body":"Добрый день.\r\n\r\nЕсли добавить модификтор блока из вне, то как сообщить i-bem о изменениях?\r\n\r\nЕсть блок ```А``` у него элемент ```__k```, при нажатии на который у блока ```A``` убирается модификатор ```_display```.\r\n\r\nНо при нажатии на одно поле на странице - этому блоку добавляется класс ```A_display```. После этого элемент ```__k``` не скрывает блок, т.к. думает, что он скрыт (результат кэширован).\r\n\r\nКакое решение можете подсказать?\r\n\r\nП.Н.\r\nСтраница частично на БЭМе (в будущем видно будет, но сейчас так)."},"comment":{"url":"https://api.github.com/repos/bem/bem-forum-content-ru/issues/comments/84588049","html_url":"https://github.com/bem/bem-forum-content-ru/issues/222#issuecomment-84588049","issue_url":"https://api.github.com/repos/bem/bem-forum-content-ru/issues/222","id":84588049,"user":{"login":"tadatuta","id":475746,"avatar_url":"https://avatars.githubusercontent.com/u/475746?v=3","gravatar_id":"","url":"https://api.github.com/users/tadatuta","html_url":"https://github.com/tadatuta","followers_url":"https://api.github.com/users/tadatuta/followers","following_url":"https://api.github.com/users/tadatuta/following{/other_user}","gists_url":"https://api.github.com/users/tadatuta/gists{/gist_id}","starred_url":"https://api.github.com/users/tadatuta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tadatuta/subscriptions","organizations_url":"https://api.github.com/users/tadatuta/orgs","repos_url":"https://api.github.com/users/tadatuta/repos","events_url":"https://api.github.com/users/tadatuta/events{/privacy}","received_events_url":"https://api.github.com/users/tadatuta/received_events","type":"User","site_admin":false},"created_at":"2015-03-22T11:06:52Z","updated_at":"2015-03-22T11:06:52Z","body":"@belozyorcev «через общего родителя» — это в смысле писать код в блоке-родителе. `findBlockOutside` — порочная практика, повышающая связанность кода. Такого нужно всячески избегать."}}