Skip to content

Cannot listen to changes from plugin #8

Description

@jjlabajo

I created a plugin, hosted it in AWS.

Then had this code in main.js

Front.on('conversation', function (data) {
    console.log(data)
});
  
Front.on('no_conversation', function (data) {
    console.log(data)
});

Front.on('single_conversation', function (data) {
    console.log(data)
});

But it has an error:

Uncaught (in promise) ReferenceError: on is not a valid function for context noConversation.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions