<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>20435</bug_id>
          
          <creation_ts>2012-12-18 18:19:01 +0000</creation_ts>
          <short_desc>Don&apos;t inline arrays in send() calls in examples</short_desc>
          <delta_ts>2013-01-18 15:50:55 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>AudioWG</product>
          <component>MIDI API</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>TBD</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Chris Wilson">cwilso</reporter>
          <assigned_to name="Chris Wilson">cwilso</assigned_to>
          <cc>w3c</cc>
          
          <qa_contact>public-audio</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>80366</commentid>
    <comment_count>0</comment_count>
    <who name="Chris Wilson">cwilso</who>
    <bug_when>2012-12-18 18:19:01 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80606</commentid>
    <comment_count>1</comment_count>
    <who name="Chris Wilson">cwilso</who>
    <bug_when>2012-12-26 18:18:21 +0000</bug_when>
    <thetext>Changed the first example to non-inlined, but kept the second one as an example of how to make it easier.

https://github.com/WebAudio/web-midi-api/commit/9c34ae09b378cd34d5e43ca49916ff79427e5402</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81569</commentid>
    <comment_count>2</comment_count>
    <who name="Olivier Thereaux">olivier.thereaux</who>
    <bug_when>2013-01-18 15:50:55 +0000</bug_when>
    <thetext>Batch-closing RESOLVED MIDI issues. Reminder: midi issues now tracked at https://github.com/WebAudio/web-midi-api/issues</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>