Mercurial > hg > webaudioevaluationtool
changeset 1442:b11521789253
Further Bug #1500 fix. Ensured checks are correctly binded by APE.
author | Nicholas Jillings <nickjillings@users.noreply.github.com> |
---|---|
date | Fri, 18 Dec 2015 17:54:47 +0000 |
parents | fd22bb563f85 |
children | bbfcb31c37e4 |
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++)