I'm not sure it will do what I'm looking for. If I understand, your
code will call the same func with all arguments, but one by one. What
I want to do is to call each slot with all arguments.
Here is an example:
function func1(arg1, arg2) {
...
}
function func2(arg1, arg2) {
...
}
mySignal = new Signal();
mySignal.connect(func1);
mySignal.connect(func2);
The call:
mySignal.emit('a', 3);
will in fact do:
func1('a', 3);
func2('a', 3);
--
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en.