comparison core.js @ 1529:0aad915ab322

Anchor and Reference audioElements now tagged on output
author Nicholas Jillings <nickjillings@users.noreply.github.com>
date Wed, 22 Jul 2015 13:22:10 +0100
parents 766bff1a8f73
children 3ce1cd41644d
comparison
equal deleted inserted replaced
1528:766bff1a8f73 1529:0aad915ab322
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 }