use the latest ReSpec build
authorAnssi Kostiainen <anssi.kostiainen@nokia.com>
Mon, 28 May 2012 15:22:11 +0300
changeset 109 e7f3f334b369
parent 108 4bf83a9dfacf
child 110 cb2a822ab782
child 133 265bd93fb4bb
use the latest ReSpec build
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">
         &lt;!DOCTYPE html&gt;
         &lt;html&gt;
         &lt;head&gt;
@@ -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">
         &lt;!DOCTYPE html&gt;
         &lt;html&gt;
         &lt;head&gt;
@@ -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">
           &lt;!DOCTYPE html&gt;
           &lt;html&gt;
           &lt;head&gt;