- From: Dominique Hazael-Massieux via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 04 Aug 2010 19:47:38 +0000
- To: public-dap-commits@w3.org
Update of /sources/public/2009/dap/camera
In directory hutz:/tmp/cvs-serv23507
Modified Files:
Overview.html
Log Message:
set proper syntax highlighting class
Index: Overview.html
===================================================================
RCS file: /sources/public/2009/dap/camera/Overview.html,v
retrieving revision 1.110
retrieving revision 1.111
diff -u -d -r1.110 -r1.111
--- Overview.html 4 Aug 2010 19:43:50 -0000 1.110
+++ Overview.html 4 Aug 2010 19:47:36 -0000 1.111
@@ -119,7 +119,7 @@
<p class="note">The values and their exact meaning are still very much in flux.</p>
<p>For example, the following code indicates that the user is expected to upload an image from the device camera:</p>
- <pre class="example sh_javascript_dom"><input type="file" accept="image/*;capture=camera" id="capture"> </pre>
+ <pre class="example sh_html"><input type="file" accept="image/*;capture=camera" id="capture"> </pre>
<p>A possible rendering of a file picker taking this parameter into account is offered in the <a href="#uiexamples">User Interface Examples appendix</a>.</p>
</section>
@@ -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_javascript_dom"><code>var captureInput = document.getElementById('capture');
+ <pre class="example sh_html"><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:47:40 UTC