Mercurial > hg > webaudioevaluationtool
comparison interfaces/ordinal.js @ 2847:ed2c8a04b7c4
#141 Minor fixes to ordinal
author | Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk> |
---|---|
date | Tue, 25 Apr 2017 15:49:36 +0100 |
parents | 64a83c964fae |
children | 096b7a56ba27 18784c9f44b5 |
comparison
equal
deleted
inserted
replaced
2846:64a83c964fae | 2847:ed2c8a04b7c4 |
---|---|
381 // Called by the audioObject holding this element to export the interface <value> node. | 381 // Called by the audioObject holding this element to export the interface <value> node. |
382 // If there is no value node (such as outside reference), return null | 382 // If there is no value node (such as outside reference), return null |
383 // If there are multiple value nodes (such as multiple scale / 2D scales), return an array of nodes with each value node having an 'interfaceName' attribute | 383 // If there are multiple value nodes (such as multiple scale / 2D scales), return an array of nodes with each value node having an 'interfaceName' attribute |
384 // Use storage.document.createElement('value'); to generate the XML node. | 384 // Use storage.document.createElement('value'); to generate the XML node. |
385 var node = storage.document.createElement('value'); | 385 var node = storage.document.createElement('value'); |
386 node.textContent = this.slider.value; | 386 node.textContent = this.getValue(); |
387 return node; | 387 return node; |
388 | 388 |
389 }; | 389 }; |
390 this.error = function () { | 390 this.error = function () { |
391 // If there is an error with the audioObject, this will be called to indicate a failure | 391 // If there is an error with the audioObject, this will be called to indicate a failure |