- From: Max Froumentin via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 01 Mar 2010 16:08:22 +0000
- To: public-dap-commits@w3.org
Update of /sources/public/2009/dap/system-info
In directory hutz:/tmp/cvs-serv17805
Modified Files:
Overview.html
Log Message:
fixed errors in highThreshold naming
Index: Overview.html
===================================================================
RCS file: /sources/public/2009/dap/system-info/Overview.html,v
retrieving revision 1.84
retrieving revision 1.85
diff -u -d -r1.84 -r1.85
--- Overview.html 1 Mar 2010 14:59:55 -0000 1.84
+++ Overview.html 1 Mar 2010 16:08:19 -0000 1.85
@@ -412,7 +412,7 @@
<a>lowThreshold</a> parameters are specified, the success
callback is triggered if and only if the property value is
either lower than the value of <a>lowThreshold</a> or
- higher than the value of <a>hiThreshold</a>.</dd>
+ higher than the value of <a>highThreshold</a>.</dd>
<dt>attribute DOMString id</dt>
<dd>In order to differentiate between instances, this
@@ -729,7 +729,7 @@
<h4>ECMAScript Example</h4>
<pre class="sh_javascript example">// Automatically adjust the screen brightness if the ambient brightness is above a certain level
-navigator.system.watch("AmbientLight",success, {maxThreshold: 0.9});
+navigator.system.watch("AmbientLight",success, {highThreshold: 0.9});
function success() {
navigator.system.get("OutputDevices",
Received on Monday, 1 March 2010 16:08:23 UTC