- From: CVS User akostiai <cvsmail@w3.org>
- Date: Wed, 29 Jan 2014 07:55:50 +0000
- To: public-dap-commits@w3.org
Update of /sources/public/2009/dap/vibration In directory roscoe:/tmp/cvs-serv20542 Modified Files: Overview.src.html Log Message: remove deprecated ReSpec features --- /sources/public/2009/dap/vibration/Overview.src.html 2014/01/29 07:54:48 1.11 +++ /sources/public/2009/dap/vibration/Overview.src.html 2014/01/29 07:55:50 1.12 @@ -19,7 +19,6 @@ inlineCSS: true, noIDLIn: true, noLegacyStyle:true, - extraCSS: ["../ReSpec.js/css/respec.css"], wg: "Device APIs Working Group", wgURI: "http://www.w3.org/2009/dap/", wgPublicList: "public-device-apis", @@ -242,7 +241,7 @@ <h2>Examples</h2> <p> In the following example the device will vibrate for 1000 milliseconds (ms): - <pre class='example sh_javascript'> + <pre class='example highlight'> // vibrate for 1000 ms navigator.vibrate(1000); @@ -253,14 +252,14 @@ In the following example the pattern will cause the device to vibrate for 50 ms, be still for 100 ms, and then vibrate for 150 ms: </p> - <pre class='example sh_javascript'> + <pre class='example highlight'> navigator.vibrate([50, 100, 150]); </pre> <p> <p> The following example cancels any existing vibrations: </p> - <pre class='example sh_javascript'> + <pre class='example highlight'> // cancel any existing vibrations navigator.vibrate(0);
Received on Wednesday, 29 January 2014 07:55:52 UTC