- From: Mercurial notifier <cvsmail@w3.org>
- Date: Mon, 28 May 2012 12:22:35 +0000
- To: public-dap-commits@w3.org
changeset: 109:e7f3f334b369 tag: tip user: Anssi Kostiainen <anssi.kostiainen@nokia.com> date: Mon May 28 15:22:11 2012 +0300 files: battery/Overview.html description: use the latest ReSpec build diff -r 4bf83a9dfacf -r e7f3f334b369 battery/Overview.html --- a/battery/Overview.html Mon May 28 15:02:32 2012 +0300 +++ b/battery/Overview.html Mon May 28 15:22:11 2012 +0300 @@ -3,7 +3,7 @@ <head> <title>Battery Status API</title> <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/> - <script src='http://respec.specifiction.com/js/profiles/w3c-common.js' class='remove'></script> + <script src='http://www.w3.org/Tools/respec/respec-w3c-common' class='remove'></script> <script class="remove"> var respecConfig = { specStatus: "CR", @@ -75,7 +75,7 @@ for new emails every ten seconds without knowledge of the battery status: </p> - <pre class="example highlight"> + <pre class="example sh_javascript"> <!DOCTYPE html> <html> <head> @@ -119,7 +119,7 @@ battery, stop checking for emails if the battery is critically low and resume normal operation when the battery is charging: </p> - <pre class="example highlight"> + <pre class="example sh_javascript"> <!DOCTYPE html> <html> <head> @@ -372,7 +372,7 @@ the level changes: </p> <div class="example"> - <pre class="example highlight"> + <pre class="example sh_javascript"> navigator.battery.onlevelchange = function () { console.log(navigator.battery.level); }; @@ -383,7 +383,7 @@ method: </p> <div class="example"> - <pre class="example highlight"> + <pre class="example sh_javascript"> navigator.battery.addEventListener('levelchange', function () { console.log(navigator.battery.level); }, false); @@ -394,7 +394,7 @@ state, level and time remaining in minutes: </p> <div class="example"> - <pre class="example highlight"> + <pre class="example sh_javascript"> <!DOCTYPE html> <html> <head>
Received on Monday, 28 May 2012 12:22:41 UTC