Mercurial > hg > webaudioevaluationtool
changeset 2047:6118a9aea1f5
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 | aa57c9c16cba |
children | 66fadacad41d |
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); }