Cleanup: fixed IDL parameters for MIDIMessage, removed mention of send in MIDIMessage description.
authorChris Wilson <cwilso@gmail.com>
Wed, 28 Nov 2012 10:28:18 -0800
changeset 222 82346e29b435
parent 221 831b6616039c
child 223 bf86961e55d9
Cleanup: fixed IDL parameters for MIDIMessage, removed mention of send in MIDIMessage description.
midi/specification.html
--- a/midi/specification.html	Wed Nov 28 10:06:25 2012 -0800
+++ b/midi/specification.html	Wed Nov 28 10:28:18 2012 -0800
@@ -95,7 +95,7 @@
           </li>
           <li>A <a href="#MIDIOutput">MIDIOutput</a> interface, which implements MIDIPort and additionally exposes methods to send MIDI messages to the output port.
           </li>
-          <li>A <a href="#MIDIMessage">MIDIMessage</a> interface, which represents a sequence of MIDI data bytes along with a timestamp.  This interface is used for receiving MIDI as well as for some types of sending.
+          <li>A <a href="#MIDIMessage">MIDIMessage</a> interface, which represents a sequence of MIDI data bytes along with a timestamp.  This interface is used for receiving MIDI messages.
           </li>
           <li>A <a href="#MIDIEvent">MIDIEvent</a> interface, which represents the Event object passed to MIDIInput's onmessage handler and contains an array of MIDIMessages.
           </li>
@@ -639,13 +639,13 @@
       <dl title="[NoInterfaceObject]
                  interface MIDIMessage"
           class="idl">
-        <dt>DOMHighResTimeStamp timestamp</dt>
+        <dt>readonly attribute DOMHighResTimeStamp timestamp</dt>
         <dd>
           <p>
             A <code>DOMHighResTimeStamp</code> specifying when the event occurred.
           </p>
         </dd>
-        <dt>Uint8Array data</dt>
+        <dt>readonly attribute Uint8Array data</dt>
         <dd>
           <p>
             A Uint8Array containing the MIDI data bytes of a single MIDI message.
@@ -654,7 +654,7 @@
       </dl>
 
       <section>
-        <h3 id="MIDIEvent"><a>MIDIEvent</a> Interface</h3>
+        <h2 id="MIDIEvent"><a>MIDIEvent</a> Interface</h2>
         
         <dl title="[NoInterfaceObject]
                    interface MIDIEvent : Event"