{"action":"created","issue":{"url":"https://api.github.com/repos/bem/bem-xjst/issues/98","labels_url":"https://api.github.com/repos/bem/bem-xjst/issues/98/labels{/name}","comments_url":"https://api.github.com/repos/bem/bem-xjst/issues/98/comments","events_url":"https://api.github.com/repos/bem/bem-xjst/issues/98/events","html_url":"https://github.com/bem/bem-xjst/issues/98","id":104277812,"number":98,"title":"Независимая сборка","user":{"login":"voischev","id":1510217,"avatar_url":"https://avatars.githubusercontent.com/u/1510217?v=3","gravatar_id":"","url":"https://api.github.com/users/voischev","html_url":"https://github.com/voischev","followers_url":"https://api.github.com/users/voischev/followers","following_url":"https://api.github.com/users/voischev/following{/other_user}","gists_url":"https://api.github.com/users/voischev/gists{/gist_id}","starred_url":"https://api.github.com/users/voischev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/voischev/subscriptions","organizations_url":"https://api.github.com/users/voischev/orgs","repos_url":"https://api.github.com/users/voischev/repos","events_url":"https://api.github.com/users/voischev/events{/privacy}","received_events_url":"https://api.github.com/users/voischev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-01T14:23:32Z","updated_at":"2015-09-01T14:26:53Z","closed_at":null,"body":"Очень хочется `bemhtml` собирать любым способом.\r\n\r\nНапример\r\n```\r\nvar template = bem.compile([\r\n    require(‘./b1.bemhtml’), \r\n    require(‘./b2.bemhtml’), \r\n    require(‘./b3.bemhtml')\r\n]);\r\n\r\ntemplate.apply({ block: 'b1', content: [{ block: 'b2'}, { block: 'b3' }]});\r\n```\r\n\r\nТак же кажется, что для нормального использования на клиенте мешает `vm`? Зачем для исполнения шаблонов новый контекст?  И само собой хочется делать так:\r\n\r\n```\r\nmodule.exports = function() {\r\n    return block('b6').content(function() {\r\n        return require('moment')(this.ctx.date);\r\n    });\r\n} \r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/bem/bem-xjst/issues/comments/136739522","html_url":"https://github.com/bem/bem-xjst/issues/98#issuecomment-136739522","issue_url":"https://api.github.com/repos/bem/bem-xjst/issues/98","id":136739522,"user":{"login":"voischev","id":1510217,"avatar_url":"https://avatars.githubusercontent.com/u/1510217?v=3","gravatar_id":"","url":"https://api.github.com/users/voischev","html_url":"https://github.com/voischev","followers_url":"https://api.github.com/users/voischev/followers","following_url":"https://api.github.com/users/voischev/following{/other_user}","gists_url":"https://api.github.com/users/voischev/gists{/gist_id}","starred_url":"https://api.github.com/users/voischev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/voischev/subscriptions","organizations_url":"https://api.github.com/users/voischev/orgs","repos_url":"https://api.github.com/users/voischev/repos","events_url":"https://api.github.com/users/voischev/events{/privacy}","received_events_url":"https://api.github.com/users/voischev/received_events","type":"User","site_admin":false},"created_at":"2015-09-01T14:26:52Z","updated_at":"2015-09-01T14:26:52Z","body":"сс/ @veged @blond @tadatuta @zxqfox"}}