changeset 805:08a3b497d6c4

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 0f7b9ac48364
children e7ea0686b094
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++)