Mercurial > hg > webaudioevaluationtool
comparison core.js @ 1600:f6b460388e3c
Fix Bug #1259: testState now includes the audioHolder ids.
author | Nicholas Jillings <nickjillings@users.noreply.github.com> |
---|---|
date | Mon, 01 Jun 2015 08:38:31 +0100 |
parents | 4d71d16c1816 |
children | d141519a99f2 |
comparison
equal
deleted
inserted
replaced
1599:188aca76bf81 | 1600:f6b460388e3c |
---|---|
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 } |