{"action":"created","issue":{"url":"https://api.github.com/repos/bem/bem-core/issues/856","labels_url":"https://api.github.com/repos/bem/bem-core/issues/856/labels{/name}","comments_url":"https://api.github.com/repos/bem/bem-core/issues/856/comments","events_url":"https://api.github.com/repos/bem/bem-core/issues/856/events","html_url":"https://github.com/bem/bem-core/pull/856","id":56172115,"number":856,"title":"events block Russian description Close #755","user":{"login":"Murdalay","id":3054826,"avatar_url":"https://avatars.githubusercontent.com/u/3054826?v=3","gravatar_id":"","url":"https://api.github.com/users/Murdalay","html_url":"https://github.com/Murdalay","followers_url":"https://api.github.com/users/Murdalay/followers","following_url":"https://api.github.com/users/Murdalay/following{/other_user}","gists_url":"https://api.github.com/users/Murdalay/gists{/gist_id}","starred_url":"https://api.github.com/users/Murdalay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Murdalay/subscriptions","organizations_url":"https://api.github.com/users/Murdalay/orgs","repos_url":"https://api.github.com/users/Murdalay/repos","events_url":"https://api.github.com/users/Murdalay/events{/privacy}","received_events_url":"https://api.github.com/users/Murdalay/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bem/bem-core/labels/docs","name":"docs","color":"fbca04"},{"url":"https://api.github.com/repos/bem/bem-core/labels/need%20review","name":"need review","color":"eb6420"},{"url":"https://api.github.com/repos/bem/bem-core/labels/v2","name":"v2","color":"d4c5f9"}],"state":"open","locked":false,"assignee":{"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},"milestone":null,"comments":7,"created_at":"2015-02-01T18:20:40Z","updated_at":"2015-02-04T14:09:47Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/bem/bem-core/pulls/856","html_url":"https://github.com/bem/bem-core/pull/856","diff_url":"https://github.com/bem/bem-core/pull/856.diff","patch_url":"https://github.com/bem/bem-core/pull/856.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/bem/bem-core/issues/comments/72859691","html_url":"https://github.com/bem/bem-core/pull/856#issuecomment-72859691","issue_url":"https://api.github.com/repos/bem/bem-core/issues/856","id":72859691,"user":{"login":"Murdalay","id":3054826,"avatar_url":"https://avatars.githubusercontent.com/u/3054826?v=3","gravatar_id":"","url":"https://api.github.com/users/Murdalay","html_url":"https://github.com/Murdalay","followers_url":"https://api.github.com/users/Murdalay/followers","following_url":"https://api.github.com/users/Murdalay/following{/other_user}","gists_url":"https://api.github.com/users/Murdalay/gists{/gist_id}","starred_url":"https://api.github.com/users/Murdalay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Murdalay/subscriptions","organizations_url":"https://api.github.com/users/Murdalay/orgs","repos_url":"https://api.github.com/users/Murdalay/repos","events_url":"https://api.github.com/users/Murdalay/events{/privacy}","received_events_url":"https://api.github.com/users/Murdalay/received_events","type":"User","site_admin":false},"created_at":"2015-02-04T14:09:47Z","updated_at":"2015-02-04T14:09:47Z","body":"@dfilatov for example:\r\n```js\r\nmodules.require(['events'], function(events) {\r\n    var myemmiter = new events.Emitter(),\r\n        _shout = function(){ console.log('foo') },\r\n        _yeld = function(){ console.log('bar') };\r\n\r\n    events.Emitter.on('myevent', _shout); \r\n    myemmiter.on('myevent', _yeld);\r\n\r\n    events.Emitter.emit('myevent'); // 'foo'\r\n    myemmiter.emit('myevent'); // 'bar'\r\n\r\n});\r\n```\r\n\r\n"}}