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

[proximity] some more tests...

From: Marcos Caceres <w3c@marcosc.com>
Date: Fri, 25 May 2012 12:36:52 +0100
Message-ID: <4FBF6ED4.4040906@marcosc.com>
To: "public-device-apis@w3.org" <public-device-apis@w3.org>
Hi,
I've added the .ondeviceproximity and .onuserproximity tests to the test 
suite (test suite now contains 87 tests).

I've also implemented the .ondeviceproximity and .onuserproximity in the 
reference implementation.
You can see it running here:
http://jsfiddle.net/marcosc/r3JnV/
(some test fails are expected, because there is no way to extend the 
Event host object)

Again, code review of tests and any feedback welcome:
https://github.com/marcoscaceres/proximitysensor

Kind regards,
Marcos
Received on Friday, 25 May 2012 11:39:24 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 25 May 2012 11:39:27 GMT