Mercurial > hg > webaudioevaluationtool
changeset 428:a066b8bc556f Dev_main
Further Bug #1500 fix. Ensured checks are correctly binded by APE.
author | Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk> |
---|---|
date | Fri, 18 Dec 2015 17:54:47 +0000 |
parents | 0d3376c11145 |
children | 9bf8ecbcdc8a 1295512197f8 |
files | ape.js |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ape.js Fri Dec 18 17:50:14 2015 +0000 +++ b/ape.js Fri Dec 18 17:54:47 2015 +0000 @@ -20,7 +20,7 @@ testContent.id = 'testContent'; // Bindings for interfaceContext - Interface.prototype.checkAllPlayed = function() + interfaceContext.checkAllPlayed = function() { hasBeenPlayed = audioEngineContext.checkAllPlayed(); if (hasBeenPlayed.length > 0) // if a fragment has not been played yet @@ -44,7 +44,7 @@ return true; }; - Interface.prototype.checkAllMoved = function() { + interfaceContext.checkAllMoved = function() { var state = true; var str = 'You have not moved the following sliders. '; for (var i=0; i<this.interfaceSliders.length; i++)