diff ape.js @ 459:f6c9f9e5400e Dev_main

Added AB test interface
author Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk>
date Mon, 11 Jan 2016 16:32:26 +0000
parents c251206bdddf
children afbb999e97cb
line wrap: on
line diff
--- a/ape.js	Mon Jan 11 13:56:30 2016 +0000
+++ b/ape.js	Mon Jan 11 16:32:26 2016 +0000
@@ -636,7 +636,7 @@
 		// Called by the audioObject holding this element. Must be present
 		var obj = [];
 		$(this.trackSliderObjects).each(function(i,trackObj){
-			var node = document.createElement('value');
+			var node = storage.document.createElement('value');
 			node.setAttribute("interface-name",trackObj.getAttribute("interface-name"));
 			node.textContent = convSliderPosToRate(trackObj);
 			obj.push(node);