Mercurial > hg > webaudioevaluationtool
changeset 1041:6a188a912b0f
Feature #1288: Fragments now have 'id', holding their given ID from the set up XML, and 'presentedid' giving their on page order.
author | Nicholas Jillings <nicholas.jillings@eecs.qmul.ac.uk> |
---|---|
date | Sat, 20 Jun 2015 11:04:44 +0100 |
parents | aef4cbbd66d1 |
children | afcb4ed5a26f |
files | ape.js |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ape.js Fri Jun 19 16:41:33 2015 +0100 +++ b/ape.js Sat Jun 20 11:04:44 2015 +0100 @@ -655,6 +655,7 @@ for (var i=0; i<audioObjects.length; i++) { var audioElement = audioEngineContext.audioObjects[i].exportXMLDOM(); + audioElement.setAttribute('presentedId',i); xmlDoc.appendChild(audioElement); }