这是indexloc提供的服务,不要输入任何密码
Skip to content

Commit 7b7374d

Browse files
committed
Merge pull request #155 from natevw/patch-2
Fix up inputs enumeration example
2 parents cb450a0 + 1594149 commit 7b7374d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ <h3 id="MIDIInputMap"><a>MIDIInputMap</a> Interface</h3>
256256
var numberOfMIDIInputs = inputs.size;
257257

258258
// add each of the ports to a &lt;select&gt; box
259-
inputs.forEach( function( key, port ) {
259+
inputs.forEach( function( port, key ) {
260260
var opt = document.createElement("option");
261261
opt.text = port.name;
262262
document.getElementById("inputportselector").add(opt);

0 commit comments

Comments
 (0)