Mercurial > hg > webaudioevaluationtool
comparison core.js @ 266:23f4f4c0a13a Dev_main
Anchor and Reference audioElements now tagged on output
author | Nicholas Jillings <nicholas.jillings@eecs.qmul.ac.uk> |
---|---|
date | Wed, 22 Jul 2015 13:22:10 +0100 |
parents | 2e19ac736876 |
children | 364f63f82a9c |
comparison
equal
deleted
inserted
replaced
265:ec693ceb2444 | 266:23f4f4c0a13a |
---|---|
934 file.setAttribute('duration',this.buffer.duration); | 934 file.setAttribute('duration',this.buffer.duration); |
935 root.appendChild(file); | 935 root.appendChild(file); |
936 if (this.specification.type != 'outsidereference') { | 936 if (this.specification.type != 'outsidereference') { |
937 root.appendChild(this.interfaceDOM.exportXMLDOM(this)); | 937 root.appendChild(this.interfaceDOM.exportXMLDOM(this)); |
938 root.appendChild(this.commentDOM.exportXMLDOM(this)); | 938 root.appendChild(this.commentDOM.exportXMLDOM(this)); |
939 if(this.specification.type == 'anchor') { | |
940 root.setAttribute('anchor',true); | |
941 } else if(this.specification.type == 'reference') { | |
942 root.setAttribute('reference',true); | |
943 } | |
939 } | 944 } |
940 root.appendChild(this.metric.exportXMLDOM()); | 945 root.appendChild(this.metric.exportXMLDOM()); |
941 return root; | 946 return root; |
942 }; | 947 }; |
943 } | 948 } |