Mercurial > hg > webaudioevaluationtool
changeset 1780:e9df2da346f1
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 <nickjillings@users.noreply.github.com> |
---|---|
date | Sat, 20 Jun 2015 11:04:44 +0100 |
parents | 994f49d5c54c |
children | beee145e8e60 |
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); }