Skip to content

Uncaught TypeError: Cannot read property 'plugins' of undefined #75

Description

@guardian2011

All the other methods are working fine, but the foillowing code:

 document.addEventListener(window.tlantic.plugins.socket.receiveHookName, function (ev) {
   console.log(ev.metadata.host);    // host who sent the data
   console.log(ev.metadata.port);    // sender port
   console.log(ev.metadata.id);      // connection id
   console.log(ev.metadata.data);    // received data
 });

returns:

 Uncaught TypeError: Cannot read property 'plugins' of undefined

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