I made a widget for the filab and everytime it gets executed it shows me the following error:
I got that error a few times before, it always was a syntax error in my code. But by now ( I think they updated the filab last days) the filab catches this errors, too, and shows where the error is.So this time there must be another problem.
Does somebody else got such a problem and knows how to solve it?
Code in main.js
the callback function is implemented in the main.js, too.
Code in config.xml
WireCloud is complaining about an input endpoint identified as "INPUT2", while you are providing us the code you use for registering "INPUT1".
There is another strange thing, you are registering the callback using this line:
MashupPlatform.wiring.registerCallback("INPUT1", callback(this));
I'm guessing the correct line is:
MashupPlatform.wiring.registerCallback("INPUT2", callback);
Or:
MashupPlatform.wiring.registerCallback("INPUT2", callback.bind(this));