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

Re: Battery Status API Last Call Feedback ( LC-2574)

From: Anssi Kostiainen <anssi.kostiainen@nokia.com>
Date: Thu, 16 Feb 2012 10:02:31 +0200
Cc: ext Anne van Kesteren <annevk@opera.com>, ext Robin Berjon <robin@berjon.com>
Message-Id: <BAB04EA3-5910-4098-A1BC-DB1251957BA6@nokia.com>
To: "public-device-apis@w3.org public-device-apis@w3.org" <public-device-apis@w3.org>
Hi All,

On 4.1.2012, at 12.47, ext Anne van Kesteren wrote:

> * In the list of attributes event handler attributes are listed as well, except they are not defined there. They are defined in the next subsection. Somewhat duplicitous if you ask me.

Robin added the following new feature to the award-winning ReSpec.js (v2):

[[

Add class='no-docs' to the <dt> that defines an attribute, it will cause that attribute to be generate in the WebIDL section but not in the "Attributes" section (and if that causes there to be no Attributes section, then it's not generated at all).

]]

Thanks to this new feature, I'm able to address the last remaining editorial comment. I updated the spec as follows:

* The event handler attributes were removed from the Attributes section. They are defined in their own Event handlers section, so there's no duplication.

* I also fixed two obvious typos (s/dischargingchange/dischargingtimechange/g) in the Event handlers section.

The Latest Editor's Draft is up-to-date:

  http://dvcs.w3.org/hg/dap/raw-file/tip/battery/Overview.html

Thanks Robin!

-Anssi
Received on Thursday, 16 February 2012 08:03:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:14:28 GMT