Skip to content

Commit

Permalink
Fixes #132.
Browse files Browse the repository at this point in the history
  • Loading branch information
cwilso committed Mar 30, 2015
1 parent 3866ff8 commit 7ae727c
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@ <h2 id="MIDIPort"><a>MIDIPort</a> Interface</h2>
<li><p>Close access to the port in the underlying system if open,
and release any blocking resources in the underlying system.</p></li>

<li><p><em><b>success</b></em>: Change the <code>connection</code>
<li><p>Change the <code>connection</code>
attribute of the MIDIPort to <code>"closed"</code>, and enqueue
a new <code><a>MIDIConnectionEvent</a></code> to the <code><a
href="#event-midiaccess-statechange">statechange</a></code>
Expand All @@ -648,13 +648,6 @@ <h2 id="MIDIPort"><a>MIDIPort</a> Interface</h2>
<var>port</var> as value argument.</p></li>

<li><p>Terminate these steps.</p></li>

<li><p><em><b>failure</b></em>: Let <var>error</var> be a new
<code><a>DOMException</a></code>. This exception's .name should be
<code>"InvalidStateError"</code> if the port is disconnected.</p></li>

<li><p>Call <var>resolver</var>'s <code>reject(value)</code> method
with <var>error</var> as value argument.</p></li>
</ol>
</dd>
</dl>
Expand Down

0 comments on commit 7ae727c

Please sign in to comment.