Mercurial > hg > webaudioevaluationtool
changeset 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 | ec693ceb2444 |
children | 364f63f82a9c |
files | core.js |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/core.js Wed Jul 22 12:41:22 2015 +0100 +++ b/core.js Wed Jul 22 13:22:10 2015 +0100 @@ -936,6 +936,11 @@ if (this.specification.type != 'outsidereference') { root.appendChild(this.interfaceDOM.exportXMLDOM(this)); root.appendChild(this.commentDOM.exportXMLDOM(this)); + if(this.specification.type == 'anchor') { + root.setAttribute('anchor',true); + } else if(this.specification.type == 'reference') { + root.setAttribute('reference',true); + } } root.appendChild(this.metric.exportXMLDOM()); return root;