Skip to content
This repository was archived by the owner on May 2, 2019. It is now read-only.
This repository was archived by the owner on May 2, 2019. It is now read-only.

Stapes.on example doesn't work #12

@feklee

Description

@feklee

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 " + e.scope.name);
});

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions