{"action":"created","issue":{"url":"https://api.github.com/repos/bem/bem-forum-content-ru/issues/784","labels_url":"https://api.github.com/repos/bem/bem-forum-content-ru/issues/784/labels{/name}","comments_url":"https://api.github.com/repos/bem/bem-forum-content-ru/issues/784/comments","events_url":"https://api.github.com/repos/bem/bem-forum-content-ru/issues/784/events","html_url":"https://github.com/bem/bem-forum-content-ru/issues/784","id":124117549,"number":784,"title":"body и onload=\"initialize()\"","user":{"login":"Sergei-b84","id":6197968,"avatar_url":"https://avatars.githubusercontent.com/u/6197968?v=3","gravatar_id":"","url":"https://api.github.com/users/Sergei-b84","html_url":"https://github.com/Sergei-b84","followers_url":"https://api.github.com/users/Sergei-b84/followers","following_url":"https://api.github.com/users/Sergei-b84/following{/other_user}","gists_url":"https://api.github.com/users/Sergei-b84/gists{/gist_id}","starred_url":"https://api.github.com/users/Sergei-b84/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sergei-b84/subscriptions","organizations_url":"https://api.github.com/users/Sergei-b84/orgs","repos_url":"https://api.github.com/users/Sergei-b84/repos","events_url":"https://api.github.com/users/Sergei-b84/events{/privacy}","received_events_url":"https://api.github.com/users/Sergei-b84/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bem/bem-forum-content-ru/labels/bem-core","name":"bem-core","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-28T20:09:09Z","updated_at":"2015-12-29T08:22:43Z","closed_at":null,"body":"как к body добавить onload=\"initialize()\" ?"},"comment":{"url":"https://api.github.com/repos/bem/bem-forum-content-ru/issues/comments/167743669","html_url":"https://github.com/bem/bem-forum-content-ru/issues/784#issuecomment-167743669","issue_url":"https://api.github.com/repos/bem/bem-forum-content-ru/issues/784","id":167743669,"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-12-29T08:22:43Z","updated_at":"2015-12-29T08:22:43Z","body":"Зачем хочется именно так? Какое рабочее окружение используешь?\r\n\r\nПростой вариант из bemhtml сделать так на свое уровне проекта\r\n```\r\nblock('page').attrs()(function() { return this.extend(applyNext(), { onload: 'initialize()' });});\r\n```\r\n\r\nЛучший вариант работать с JS из ymodules так как предлагает БЭМ стек"}}