jussi-kalliokoski / webmidi-issues

A test repo for importing the issues from bugzilla
0 stars 0 forks source link

Don't inline arrays in send() calls in examples #3

Open jussi-kalliokoski opened 11 years ago

jussi-kalliokoski commented 11 years ago

Originally reported on W3C Bugzilla ISSUE-20435 Tue, 18 Dec 2012 18:19:01 GMT Reported by Chris Wilson Assigned to Chris Wilson

The spec has examples like

output.send( [0x90, 60, 0x7f] );

We should really pull the array declarations out of inline, e.g.

var data = [0x90, 60, 0x7f]; output.send( data );

to highlight that it is an array parameter.