I may be mixed up here. With Signal, if you do this:
// set up
var myObject = {};
register_signals(myObject, ['flash']);
connect(myObject, 'flash', otherObject, 'gotFlash');
connect(myObject, 'flash', yetAnotherObject, 'somethingElse');
// somewhere else in the code
signal(myObject, 'flash', 'e
On Friday 13 January 2006 13:28, Beau Hartshorne wrote:
> I may be mixed up here. With Signal, if you do this:
>
> // set up
> var myObject = {};
> register_signals(myObject, ['flash']);
> connect(myObject, 'flash', otherObject, 'gotFlash');
> connect(myObject, 'flash', yetAnotherObject, 'somethi
I think I found a bug. This code fails with '[object Object] and
[object Object] can not be compared':
///
var myObject = {};
var otherObject = {};
var yetAnotherObject = {};
otherObject.gotFlash = function() {
MochiKit.Logging.log('gotFlash');
}
yetAnotherObject.somethingElse = functi