2009/dap/camera Overview.html,1.111,1.112

Update of /sources/public/2009/dap/camera
In directory hutz:/tmp/cvs-serv23572

Modified Files:
	Overview.html 
Log Message:
*** empty log message ***

Index: Overview.html
===================================================================
RCS file: /sources/public/2009/dap/camera/Overview.html,v
retrieving revision 1.111
retrieving revision 1.112
diff -u -d -r1.111 -r1.112
--- Overview.html	4 Aug 2010 19:47:36 -0000	1.111
+++ Overview.html	4 Aug 2010 19:48:11 -0000	1.112
@@ -101,7 +101,7 @@
     <p>If the user selects files of whose MIME types match <code>image/*</code>,
     <code>sound/*</code>, or <code>video/*</code> (on the filesystem or via a successful media capture), the relevant files in the <code>files</code> attribute [[HTML5]] MUST implement the <code>MediaFile</code> interface.</p>
 
-    <pre class="example sh_javascript_dom">&lt;input type="file" accept="image/*" id="capture"&gt; </pre>
+    <pre class="example sh_html">&lt;input type="file" accept="image/*" id="capture"&gt; </pre>
 </section>
 
   <section id="captureparam">
@@ -128,7 +128,7 @@
 
     <section id="jsexample"><h3>Example</h3>
       <p>After the user successfully captured or selected an existing media file, the format properties of the file can be retrieved as follow:</p>
-      <pre class="example sh_html"><code>var captureInput = document.getElementById('capture');
+      <pre class="example sh_javascript_dom"><code>var captureInput = document.getElementById('capture');
 // Accessing the file object from the input element with id capture
 var file = captureInput.files[0];
 if (file) {

Received on Wednesday, 4 August 2010 19:48:15 UTC