Re: [Proto-Scripty] Custom signal

2009-12-07 Thread Alex McAuley
al Message - From: "fma" To: "Prototype & script.aculo.us" Sent: Monday, December 07, 2009 8:52 AM Subject: [Proto-Scripty] Custom signal >I would like to raise signals between some of my application > components (mainly between the model and the controller)

[Proto-Scripty] Custom signal

2009-12-07 Thread fma
I would like to raise signals between some of my application components (mainly between the model and the controller). I'm thinking of something like this: var Signal = Class.create({ initialize: function () { self._slots = new Array(); emit: function(arg1, arg2, ..., argn):