Stapes.on example doesn't work #12

feklee opened this Issue Jul 30, 2012 · 2 comments


None yet

2 participants

feklee commented Jul 30, 2012

Excerpt from the documentation: "Note that these events are also triggered on the main Stapes object, so you can use Stapes.on to catch events from these mixed-in objects as well."

However, the code doesn't work:

Stapes.on('sing', function(data, e) {
    console.log("Singing from " +;

Error message (Chrome 20.0/WinXP/32): "TypeError: Cannot read property 'sing' of undefined"

hay commented Aug 10, 2012

Yes, you're right. Unfortunately with refactoring the code for 0.5.1 a bug slipped in which breaks events on the Stapes global. I have a fix ready and will push it in the next few days.

@hay hay added a commit that referenced this issue Aug 15, 2012
@hay Fixing issue #12 1a58e8a
hay commented Aug 15, 2012

This is fixed in the last version in master and will be included in the next release.

@hay hay closed this Aug 15, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment