comparison ape.js @ 2046:aa57c9c16cba

Small fix to loading checks array
author Nicholas Jillings <nickjillings@users.noreply.github.com>
date Fri, 19 Jun 2015 16:41:33 +0100
parents 39f9dd95b8d5
children 6a188a912b0f
comparison
equal deleted inserted replaced
2045:39f9dd95b8d5 2046:aa57c9c16cba
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];