[mochikit] Re: MochiKit.Signal.registerSignals

2006-03-27 Thread Jonathan Gardner
To prevent typos and to encourage implentors to document their signals in the object that provides them. On Saturday 25 March 2006 21:26, Beau Hartshorne wrote: > Jonathan, I think I asked you about this before, but I can't find the > thread. Why does Signal require us to registerSignals befo

[mochikit] Re: MochiKit.Signal.registerSignals

2006-03-27 Thread Bob Ippolito
On Mar 27, 2006, at 10:14 AM, Jonathan Gardner wrote: > On Saturday 25 March 2006 21:26, Beau Hartshorne wrote: >> Jonathan, I think I asked you about this before, but I can't find the >> thread. Why does Signal require us to registerSignals before we use >> them? Can't we do this out in connect(

[mochikit] Re: MochiKit.Signal.registerSignals

2006-03-27 Thread Jonathan Gardner
On Monday 27 March 2006 15:09, Bob Ippolito wrote: > I'm going to have to disagree here. Unless there's some technical > reason why an explicit registerSignals is necessary, we should just > let implicit registration happen. Writing less code and more > importantly requiring less explanati

[mochikit] Re: MochiKit.Signal.registerSignals

2006-03-27 Thread bkc
On 27 Mar 2006 at 15:57, Jonathan Gardner wrote: > Unless I can declare a signal BEFORE it is signalled, you cannot > connect to it, nor can I signal it. In my home-rolled (before Mochikit) js library. I have an event handling module that is more like a party line phone. "events" are broadcast