{"action":"created","issue":{"url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/issues/92","labels_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/issues/92/labels{/name}","comments_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/issues/92/comments","events_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/issues/92/events","html_url":"https://github.com/enb-bem/enb-bem-tmpl-specs/pull/92","id":90368044,"number":92,"title":"Вставлять mock для BEM.I18N до контента шаблона","user":{"login":"rndD","id":850302,"avatar_url":"https://avatars.githubusercontent.com/u/850302?v=3","gravatar_id":"","url":"https://api.github.com/users/rndD","html_url":"https://github.com/rndD","followers_url":"https://api.github.com/users/rndD/followers","following_url":"https://api.github.com/users/rndD/following{/other_user}","gists_url":"https://api.github.com/users/rndD/gists{/gist_id}","starred_url":"https://api.github.com/users/rndD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rndD/subscriptions","organizations_url":"https://api.github.com/users/rndD/orgs","repos_url":"https://api.github.com/users/rndD/repos","events_url":"https://api.github.com/users/rndD/events{/privacy}","received_events_url":"https://api.github.com/users/rndD/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-06-23T11:55:19Z","updated_at":"2015-07-01T20:35:24Z","closed_at":"2015-07-01T20:35:23Z","pull_request":{"url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/pulls/92","html_url":"https://github.com/enb-bem/enb-bem-tmpl-specs/pull/92","diff_url":"https://github.com/enb-bem/enb-bem-tmpl-specs/pull/92.diff","patch_url":"https://github.com/enb-bem/enb-bem-tmpl-specs/pull/92.patch"},"body":"Привет. \r\nВ [BH](https://github.com/bem/bh) с версии `4.x.x` больше нет прямой связи с `BEM.I18N`. Теперь если есть желание работать с переводами в BH нужно сделать: `bh.lib.i18n = BEM.I18N`.\r\n\r\nПри текущей реализации `mock-lang-js.js` сделать это не получается, так как `BEM.I18N` объявлен позже. Я перенес его в место перед кодом шаблонов. "},"comment":{"url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/issues/comments/117817841","html_url":"https://github.com/enb-bem/enb-bem-tmpl-specs/pull/92#issuecomment-117817841","issue_url":"https://api.github.com/repos/enb-bem/enb-bem-tmpl-specs/issues/92","id":117817841,"user":{"login":"blond","id":2225579,"avatar_url":"https://avatars.githubusercontent.com/u/2225579?v=3","gravatar_id":"","url":"https://api.github.com/users/blond","html_url":"https://github.com/blond","followers_url":"https://api.github.com/users/blond/followers","following_url":"https://api.github.com/users/blond/following{/other_user}","gists_url":"https://api.github.com/users/blond/gists{/gist_id}","starred_url":"https://api.github.com/users/blond/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blond/subscriptions","organizations_url":"https://api.github.com/users/blond/orgs","repos_url":"https://api.github.com/users/blond/repos","events_url":"https://api.github.com/users/blond/events{/privacy}","received_events_url":"https://api.github.com/users/blond/received_events","type":"User","site_admin":false},"created_at":"2015-07-01T20:35:23Z","updated_at":"2015-07-01T20:35:23Z","body":"@rndD, изменения в таком виде принять не могу, т.к. они сломают уже работающее поведение.\r\n\r\nЗавёл задачу — https://github.com/enb-bem/enb-bem-tmpl-specs/issues/94, будем думать как исправить. \r\n\r\nЭтот PR закрываю, если появится другое решение или идеи — пиши в задачу или присылай новый PR. В любом случае спасибо за попытку! :)"}}