# HG changeset patch # User Nicholas Jillings # Date 1437567730 -3600 # Node ID 0aad915ab322d9f2385e9d290a696487716be9a7 # Parent 766bff1a8f737ee8871d5c15fa2f44806b2ea3ef Anchor and Reference audioElements now tagged on output diff -r 766bff1a8f73 -r 0aad915ab322 core.js --- 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;