comparison ape.js @ 1040:aef4cbbd66d1

Small fix to loading checks array
author Nicholas Jillings <nicholas.jillings@eecs.qmul.ac.uk>
date Fri, 19 Jun 2015 16:41:33 +0100
parents db70840ba8bb
children 6a188a912b0f
comparison
equal deleted inserted replaced
1039:db70840ba8bb 1040:aef4cbbd66d1
474 audioEngineContext.audioObjects[id].metric.moved(time,convSliderPosToRate(ev.srcElement)); 474 audioEngineContext.audioObjects[id].metric.moved(time,convSliderPosToRate(ev.srcElement));
475 } 475 }
476 476
477 function buttonSubmitClick() // TODO: Only when all songs have been played! 477 function buttonSubmitClick() // TODO: Only when all songs have been played!
478 { 478 {
479 var checks = specification.commonInterface.options; 479 var checks = testState.currentStateMap[testState.currentIndex].interfaces[0].options;
480 var canContinue = true; 480 var canContinue = true;
481 481
482 // Check that the anchor and reference objects are correctly placed 482 // Check that the anchor and reference objects are correctly placed
483 var audioObjs = audioEngineContext.audioObjects; 483 var audioObjs = audioEngineContext.audioObjects;
484 var audioHolder = testState.stateMap[testState.stateIndex]; 484 var audioHolder = testState.stateMap[testState.stateIndex];