Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var myVarA, myVarB;
- function init() {
- myVarA = 10;
- myVarB = 25;
- broadcastMessage({
- channel: 'mycustomchannel',
- message: 'hello',
- data: {varA: myVarA, varB: myVarB},
- radius: 10
- });
- }
- handlerCreate({
- name: 'init',
- channel: 'direct',
- message: 'clickStart'
- });
- init();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement