Re: addEventListener with side effects

On Wed, 16 Nov 2011 14:21:11 +0100, Bjoern Hoehrmann <derhoermi@gmx.net>  
wrote:
> * Anne van Kesteren wrote:
>> It is. But it is basically deployed all over already and in this case
>> indistinguishable. It's not a pattern that should be followed however.
>
> You could start with the test case I proposed in the discussion: use two
> listeners and see whether registering the second triggers the first one.
> If it does, you could argue about the meaning of "reason" "sufficiently"
> but you would be unlikely to convince a crowd, so, yes, distinguishable.

Yes we discussed that case and apparently the event fires often enough for  
it to not really be noticeable.


-- 
Anne van Kesteren
http://annevankesteren.nl/

Received on Wednesday, 16 November 2011 13:25:00 UTC