flosse / scaleApp

scaleApp is a JavaScript framework for scalable and maintainable One-Page-Applications

Home Page:http://www.scaleapp.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How publish/subscribe work?

Geelik opened this issue · comments

Hi,
I don't understand how i can emit a message with data and receive it in a different module.
I tried with the code in the documentation but when i send data when i receive it's empty.

Ok i do some test and i understand now. I was doing a small mistake (emit message on init when the receiver module was not loaded.) keep the good work and have a nice day