comparison js/specification.js @ 2438:02df8de58e7b

Merge branch 'master' of https://github.com/BrechtDeMan/WebAudioEvaluationTool
author www-data <www-data@sucuk.dcs.qmul.ac.uk>
date Thu, 02 Jun 2016 17:20:55 +0100
parents 5bec79ce38ff
children 0ff4a9925597
comparison
equal deleted inserted replaced
2436:25c1436706af 2438:02df8de58e7b
119 var location = survey[i].getAttribute('location'); 119 var location = survey[i].getAttribute('location');
120 switch(location) 120 switch(location)
121 { 121 {
122 case 'pre': 122 case 'pre':
123 case 'before': 123 case 'before':
124 else { 124 this.preTest = new this.surveyNode(this);
125 this.preTest = new this.surveyNode(this); 125 this.preTest.decode(this,survey[i]);
126 this.preTest.decode(this,survey[i]);
127 }
128 break; 126 break;
129 case 'post': 127 case 'post':
130 case 'after': 128 case 'after':
131 else { 129 this.postTest = new this.surveyNode(this);
132 this.postTest = new this.surveyNode(this); 130 this.postTest.decode(this,survey[i]);
133 this.postTest.decode(this,survey[i]);
134 }
135 break; 131 break;
136 } 132 }
137 } 133 }
138 134
139 var interfaceNode = setupNode.getElementsByTagName('interface'); 135 var interfaceNode = setupNode.getElementsByTagName('interface');