comparison interfaces/mushra.js @ 2922:7fa175a37aca master

Merge branch 'master' of https://github.com/BrechtDeMan/WebAudioEvaluationTool
author www-data <www-data@sucuk.dcs.qmul.ac.uk>
date Thu, 03 Aug 2017 18:24:46 +0100
parents b08ccdb5cb8f
children 50f5e11a38b7
comparison
equal deleted inserted replaced
2920:db5e601861e6 2922:7fa175a37aca
341 341
342 this.exportXMLDOM = function (audioObject) { 342 this.exportXMLDOM = function (audioObject) {
343 // Called by the audioObject holding this element. Must be present 343 // Called by the audioObject holding this element. Must be present
344 var node = storage.document.createElement('value'); 344 var node = storage.document.createElement('value');
345 node.textContent = this.slider.value; 345 node.textContent = this.slider.value;
346 var iname = testState.getCurrentTestPage().interfaces[0].name;
347 if (typeof iname == "string") {
348 node.setAttribute("interface-name", iname);
349 }
346 return node; 350 return node;
347 }; 351 };
348 this.startPlayback = function () { 352 this.startPlayback = function () {
349 var self = this; 353 var self = this;
350 // Called when playback has begun 354 // Called when playback has begun