Mercurial > hg > webaudioevaluationtool
comparison core.js @ 149:52a42d24a3eb
Fix Bug #1259: testState now includes the audioHolder ids.
author | Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk> |
---|---|
date | Mon, 01 Jun 2015 08:38:31 +0100 |
parents | 431f6bec460b |
children | 789c3cd06290 |
comparison
equal
deleted
inserted
replaced
148:c5f6608e0b16 | 149:52a42d24a3eb |
---|---|
201 this.stateIndex = -1; | 201 this.stateIndex = -1; |
202 var that = this; | 202 var that = this; |
203 for (var id=0; id<this.stateMap.length; id++){ | 203 for (var id=0; id<this.stateMap.length; id++){ |
204 var name = this.stateMap[id].nodeName; | 204 var name = this.stateMap[id].nodeName; |
205 var obj = document.createElement(name); | 205 var obj = document.createElement(name); |
206 if (name == "audioHolder") { | |
207 obj.id = this.stateMap[id].id; | |
208 } | |
206 this.stateResults.push(obj); | 209 this.stateResults.push(obj); |
207 } | 210 } |
208 } else { | 211 } else { |
209 conolse.log('FATAL - StateMap not correctly constructed. EMPTY_STATE_MAP'); | 212 conolse.log('FATAL - StateMap not correctly constructed. EMPTY_STATE_MAP'); |
210 } | 213 } |