Skip to content

Uncaught TypeError: this.pusher.channelFor is not a function [Component Use] #43

@csprocket777

Description

@csprocket777

When extending controllers with EmberPusher.ClientEvents, I can trigger events like this with no problem:

this.pusherTrigger('channelName', 'client-test-event', {foo:1});

However, when I extend a component with EmberPusher.ClientEvents, I get the following error:

Uncaught TypeError: this.pusher.channelFor is not a function

It seems that this.pusher loses 'channelFor' when extending from a component.

Any ideas?

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