# HG changeset patch # User Nicholas Jillings # Date 1509464464 0 # Node ID b17a3e5e469b9b39b9731349aa800572202a9b55 # Parent 01ca365f350d35aad731b6995328a08510957c0d Fixes for repetition of function calls in APE diff -r 01ca365f350d -r b17a3e5e469b interfaces/ape.js --- a/interfaces/ape.js Tue Oct 31 11:30:27 2017 +0000 +++ b/interfaces/ape.js Tue Oct 31 15:41:04 2017 +0000 @@ -672,11 +672,11 @@ var node = a.addSlider(aoi); node.setLabel(label); aoi.addSlider(node); - audioObject.bindInterface(aoi); - if (commentBoxes) { - interfaceContext.commentBoxes.createCommentBox(audioObject); - } }); + audioObject.bindInterface(aoi); + if (commentBoxes) { + interfaceContext.commentBoxes.createCommentBox(audioObject); + } } }); }