Browser events #52

kvz opened this Issue Jul 8, 2011 · 0 comments


None yet

1 participant

kvz commented Jul 8, 2011

Hey, upgraded to node 0.4 and the latest tobi via npm, but now code like:


Results in:

        throw e; // process.nextTick error, or 'error' event on first tick
TypeError: Cannot call method 'on' of undefined
    at Object.<anonymous> (/truecode/admin/current/cakephp/app/tests/live-test/
    at Module._compile (module.js:402:26)
    at Object..js (module.js:408:10)
    at Module.load (module.js:334:31)
    at Function._load (module.js:293:12)
    at Array.<anonymous> (module.js:421:10)
    at EventEmitter._tickCallback (node.js:126:26)

What would be the right syntax now? Thanks in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment