Mercurial > hg > webaudioevaluationtool
comparison js/specification.js @ 2379:1e7d98ca83be
More minor fixes for #90. APE works for Edge
author | Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk> |
---|---|
date | Fri, 20 May 2016 10:33:41 +0100 |
parents | 737e3f18e32b |
children | e7844a500060 fbc22422d73d |
comparison
equal
deleted
inserted
replaced
2378:737e3f18e32b | 2379:1e7d98ca83be |
---|---|
246 console.log('Malformed' +child.nodeName+ 'entry'); | 246 console.log('Malformed' +child.nodeName+ 'entry'); |
247 this.statement = 'Malformed' +child.nodeName+ 'entry'; | 247 this.statement = 'Malformed' +child.nodeName+ 'entry'; |
248 this.type = 'statement'; | 248 this.type = 'statement'; |
249 } else { | 249 } else { |
250 this.options = []; | 250 this.options = []; |
251 for (var i in children) | 251 for (var i=0; i<children.length; i++) |
252 { | 252 { |
253 if (isNaN(Number(i))==true){break;} | |
254 this.options.push({ | 253 this.options.push({ |
255 name: children[i].getAttribute('name'), | 254 name: children[i].getAttribute('name'), |
256 text: children[i].textContent | 255 text: children[i].textContent |
257 }); | 256 }); |
258 } | 257 } |