Skip to content

Calling unbind with undefined argument removes all listeners #28

Open
@AndrewRayCode

Description

@AndrewRayCode

Events.unbind( 'name', this.doesNotExist ); will remove ALL name events. Suggest checking arguments.length in the unbind function to prevent this behavior. Makes for some unexpected problems if you don't catch it.

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