W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2011

Re: addEventListener and side-effects

From: James Graham <jgraham@opera.com>
Date: Tue, 6 Sep 2011 14:59:05 +0200 (CEST)
To: Robin Berjon <robin@berjon.com>
cc: www-dom@w3.org, public-device-apis@w3.org
Message-ID: <alpine.DEB.2.00.1109061455030.26208@sirius>

On Tue, 6 Sep 2011, Robin Berjon wrote:

> Dear www-dom,
> as most of you are probably aware, there have been recent threads on 
> both the Geo list[0] and the DAP list[1][2] about calls to 
> addEventListener producing side-effects (or purported side-effects).

I am very much against addEventListener having side effects. Where we have 
nice simple invariants in the platform it is good to keep them.
Received on Tuesday, 6 September 2011 12:59:44 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:18 UTC