Skip to content

MicroEvent.mixin shouldn't extend destObject prototype #4

Open
@millermedeiros

Description

@millermedeiros

If you want to extend all the instances you should pass MicroEvent.mixin(myObj.prototype) if you want to extend a single instance MicroEvent.mixin(myObj). That way you avoid changing behaviors that you don't want.

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