W3C home > Mailing lists > Public > public-device-apis@w3.org > December 2012

Re: [magnetic field event] Proposal for magnetic field event

From: Rick Waldron <waldron.rick@gmail.com>
Date: Fri, 28 Dec 2012 13:59:27 -0500
Message-ID: <CAHfnhfpuLbcAMQm_zQNwt6SG+kj_u4VfgsZBQtXBng3dxvmvrA@mail.gmail.com>
To: Doug Turner <dougt@mozilla.com>
Cc: Ray You <ryou@mozilla.com>, "public-device-apis@w3.org" <public-device-apis@w3.org>, "doug.turner@gmail.com" <doug.turner@gmail.com>, Thinker Lee <tlee@mozilla.com>, Marco Chen <mchen@mozilla.com>, "bj-b2g@mozilla.com" <bj-b2g@mozilla.com>
On Friday, December 28, 2012, Doug Turner wrote:

> On 12/28/12 10:40 AM, Rick Waldron wrote:
> > These APIs absolutely need to move away from copying the
> > DeviceOrientation and DeviceMotion specs.
> I disagree.  I think for the sake of consistency, we should follow the
> pattern.

Just because there is a pattern, doesnt make it the right pattern. The
design is wrong and ill-fitting for JavaScript programs. Dispatching events
to an irrelevant global object is a sloppy and misguided approach that will
fail hard once there is more then on of any sensor type.


> Doug
Received on Friday, 28 December 2012 18:59:53 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:32:47 UTC