{"action":"created","issue":{"url":"https://api.github.com/repos/stampit-org/stampit/issues/148","labels_url":"https://api.github.com/repos/stampit-org/stampit/issues/148/labels{/name}","comments_url":"https://api.github.com/repos/stampit-org/stampit/issues/148/comments","events_url":"https://api.github.com/repos/stampit-org/stampit/issues/148/events","html_url":"https://github.com/stampit-org/stampit/issues/148","id":93624318,"number":148,"title":"Method .init returns nothing after .compose & .convertConstructor","user":{"login":"mdhooge","id":426441,"avatar_url":"https://avatars.githubusercontent.com/u/426441?v=3","gravatar_id":"","url":"https://api.github.com/users/mdhooge","html_url":"https://github.com/mdhooge","followers_url":"https://api.github.com/users/mdhooge/followers","following_url":"https://api.github.com/users/mdhooge/following{/other_user}","gists_url":"https://api.github.com/users/mdhooge/gists{/gist_id}","starred_url":"https://api.github.com/users/mdhooge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdhooge/subscriptions","organizations_url":"https://api.github.com/users/mdhooge/orgs","repos_url":"https://api.github.com/users/mdhooge/repos","events_url":"https://api.github.com/users/mdhooge/events{/privacy}","received_events_url":"https://api.github.com/users/mdhooge/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-07-07T20:45:42Z","updated_at":"2015-07-08T06:01:19Z","closed_at":null,"body":"For example, if you take the file `advanced-examples/event-emitter.js` and you call .init() after `.convertConstructor` or `.compose`, the corresponding variable is `undefined`.\r\n\r\nI don't believe this is the expected behaviour."},"comment":{"url":"https://api.github.com/repos/stampit-org/stampit/issues/comments/119448131","html_url":"https://github.com/stampit-org/stampit/issues/148#issuecomment-119448131","issue_url":"https://api.github.com/repos/stampit-org/stampit/issues/148","id":119448131,"user":{"login":"mdhooge","id":426441,"avatar_url":"https://avatars.githubusercontent.com/u/426441?v=3","gravatar_id":"","url":"https://api.github.com/users/mdhooge","html_url":"https://github.com/mdhooge","followers_url":"https://api.github.com/users/mdhooge/followers","following_url":"https://api.github.com/users/mdhooge/following{/other_user}","gists_url":"https://api.github.com/users/mdhooge/gists{/gist_id}","starred_url":"https://api.github.com/users/mdhooge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdhooge/subscriptions","organizations_url":"https://api.github.com/users/mdhooge/orgs","repos_url":"https://api.github.com/users/mdhooge/repos","events_url":"https://api.github.com/users/mdhooge/events{/privacy}","received_events_url":"https://api.github.com/users/mdhooge/received_events","type":"User","site_admin":false},"created_at":"2015-07-08T06:01:19Z","updated_at":"2015-07-08T06:01:19Z","body":"I copied/pasted **your** code (in your 3rd comment) in a file: it doesn't work for me, with the above stack dump. My sample code is similar.\r\nExplanation of the dump: The method `.on()` is undefined because `EventEmittable` is also `undefined`."}}