thalmiclabs / myo.js

Myo javascript bindings
Apache License 2.0
198 stars 63 forks source link

The 'catch-all' event listeners modifys the arguments for subsequent listeners #2

Closed stolksdorf closed 9 years ago

stolksdorf commented 9 years ago

From @stolksdorf on February 11, 2015 15:21

myo.on('*', function(){})
myo.on('pose', function(){}); //this will have the wrong arguemnts

Possible fix: use a standard events library.

Copied from original issue: stolksdorf/myo.js#18

stolksdorf commented 9 years ago

Fixed in ver1.5.0