Thanks :). On Fri, Jun 18, 2010 at 5:25 PM, Mason Larobina <[email protected]>wrote:
> On 18 June 2010 14:15, Anurag Priyam <[email protected]> wrote: > > If i define a signal twice, say: > > > > client.add_signal("focus", function(c) > > -- something > > end) > > > > and i do it again > > > > client.add_signal("focus", function(c) > > -- some other thing > > end) > > > > Will both of them be valid or just the latter one? > > It's appended. The function doing 'something' will be called then the > function 'some other thing' will be called. > -- Anurag Priyam, 2nd Year Undergraduate, Department of Mechanical Engineering, IIT Kharagpur. +91-9775550642
