comparison interfaces/ape.js @ 3060:b17a3e5e469b

Fixes for repetition of function calls in APE
author Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk>
date Tue, 31 Oct 2017 15:41:04 +0000
parents 0a5f34a5eec6
children e441e3d5c7e7
comparison
equal deleted inserted replaced
3059:01ca365f350d 3060:b17a3e5e469b
670 var label = interfaceContext.getLabel(page.label, index, page.labelStart); 670 var label = interfaceContext.getLabel(page.label, index, page.labelStart);
671 axis.forEach(function (a) { 671 axis.forEach(function (a) {
672 var node = a.addSlider(aoi); 672 var node = a.addSlider(aoi);
673 node.setLabel(label); 673 node.setLabel(label);
674 aoi.addSlider(node); 674 aoi.addSlider(node);
675 audioObject.bindInterface(aoi);
676 if (commentBoxes) {
677 interfaceContext.commentBoxes.createCommentBox(audioObject);
678 }
679 }); 675 });
676 audioObject.bindInterface(aoi);
677 if (commentBoxes) {
678 interfaceContext.commentBoxes.createCommentBox(audioObject);
679 }
680 } 680 }
681 }); 681 });
682 } 682 }
683 this.checkAllMoved = function () { 683 this.checkAllMoved = function () {
684 var str = "You have not moved the following sliders. " 684 var str = "You have not moved the following sliders. "