Hey, upgraded to node 0.4 and the latest tobi via npm, but now code like:
browser.client.on('connect'
Results in:
node.js:134
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/care.true.nl.js:117:16)
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!
Hey, upgraded to node 0.4 and the latest tobi via npm, but now code like:
Results in:
What would be the right syntax now? Thanks in advance!