Mercurial > hg > webaudioevaluationtool
comparison core.js @ 2059:c5b5a5ee2020
Log slider movements to console
author | Brecht De Man <b.deman@qmul.ac.uk> |
---|---|
date | Wed, 01 Jul 2015 11:35:52 +0100 |
parents | 003e98fdbf51 |
children | 6bd41ef8b1e0 |
comparison
equal
deleted
inserted
replaced
2058:003e98fdbf51 | 2059:c5b5a5ee2020 |
---|---|
404 aH_pId+=1; | 404 aH_pId+=1; |
405 } | 405 } |
406 this.stateResults.push(obj); | 406 this.stateResults.push(obj); |
407 } | 407 } |
408 } else { | 408 } else { |
409 conolse.log('FATAL - StateMap not correctly constructed. EMPTY_STATE_MAP'); | 409 console.log('FATAL - StateMap not correctly constructed. EMPTY_STATE_MAP'); |
410 } | 410 } |
411 }; | 411 }; |
412 this.advanceState = function(){ | 412 this.advanceState = function(){ |
413 if (this.stateIndex == null) { | 413 if (this.stateIndex == null) { |
414 this.initialise(); | 414 this.initialise(); |
1686 this.exportXMLDOM = function() { | 1686 this.exportXMLDOM = function() { |
1687 var root = document.createElement('comment'); | 1687 var root = document.createElement('comment'); |
1688 root.id = this.specification.id; | 1688 root.id = this.specification.id; |
1689 root.setAttribute('type',this.specification.type); | 1689 root.setAttribute('type',this.specification.type); |
1690 root.textContent = this.textArea.value; | 1690 root.textContent = this.textArea.value; |
1691 console.log("Question :"+this.string.textContent); | 1691 console.log("Question: "+this.string.textContent); |
1692 console.log("Response :"+root.textContent); | 1692 console.log("Response: "+root.textContent); |
1693 return root; | 1693 return root; |
1694 }; | 1694 }; |
1695 }; | 1695 }; |
1696 | 1696 |
1697 this.radioBox = function(commentQuestion) { | 1697 this.radioBox = function(commentQuestion) { |