- From: Anssi Kostiainen via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 07 Sep 2011 16:06:12 +0000
- To: public-dap-commits@w3.org
Update of /sources/public/2009/dap/system-info In directory hutz:/tmp/cvs-serv20834 Modified Files: battery-status.html Log Message: add proper dictionary, remove patch; thanks darobin for adding dictionary support to ReSpec.js Index: battery-status.html =================================================================== RCS file: /sources/public/2009/dap/system-info/battery-status.html,v retrieving revision 1.42 retrieving revision 1.43 diff -u -d -r1.42 -r1.43 --- battery-status.html 7 Sep 2011 14:10:53 -0000 1.42 +++ battery-status.html 7 Sep 2011 16:06:10 -0000 1.43 @@ -25,22 +25,6 @@ wgPatentURI: "http://www.w3.org/2004/01/pp-impl/43696/status", }; </script> - <script class='remove'> - // a monkey patch to add BatteryStatusEventInit dictionary - setTimeout(function () { - var batteryStatusEventInit = - '\n<span class="idlInterface" id="idl-def-BatteryStatusEventInit">' + - 'dictionary <span class="idlInterfaceID">BatteryStatusEventInit</span>' + - ' : <span class="idlSuperclass"><a>EventInit</a></span> {\n' + - ' <span class="idlAttrType"><a>boolean</a></span> isPlugged;\n' + - ' <span class="idlAttrType"><a>float?</a></span> level;\n' + - ' <span class="idlAttrType"><a>DOMString?</a></span> status;\n' + - '};</span></pre>'; - - var batteryStatusEvent = document.querySelector('#batterystatusevent-interface > pre.idl'); - batteryStatusEvent.innerHTML += batteryStatusEventInit; - }, 500); - </script> <style type='text/css'> .event { font-family: monospace; @@ -320,6 +304,21 @@ <code>null</code>. </dd> </dl> + <dl title='dictionary BatteryStatusEventInit : EventInit' + class='idl'> + <dt> + boolean isPlugged + </dt> + <dd></dd> + <dt> + float? level + </dt> + <dd></dd> + <dt> + DOMString? status + </dt> + <dd></dd> + </dl> <section> <h2>Constructor</h2> <p>
Received on Wednesday, 7 September 2011 16:06:14 UTC