Mercurial > hg > webaudioevaluationtool
comparison js/core.js @ 2694:1ccc083552d5
Minor fixed for AB
author | Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk> |
---|---|
date | Sat, 11 Mar 2017 18:14:59 +0000 |
parents | 9eb3ff794d63 |
children | 211364181d16 |
comparison
equal
deleted
inserted
replaced
2693:31af72ea5e61 | 2694:1ccc083552d5 |
---|---|
3627 this.state = "empty"; | 3627 this.state = "empty"; |
3628 this.XMLDOM = this.parent.document.createElement('page'); | 3628 this.XMLDOM = this.parent.document.createElement('page'); |
3629 this.XMLDOM.setAttribute('ref', specification.id); | 3629 this.XMLDOM.setAttribute('ref', specification.id); |
3630 this.XMLDOM.setAttribute('presentedId', specification.presentedId); | 3630 this.XMLDOM.setAttribute('presentedId', specification.presentedId); |
3631 this.XMLDOM.setAttribute("state", this.state); | 3631 this.XMLDOM.setAttribute("state", this.state); |
3632 if (specification.preTest !== null) { | 3632 if (specification.preTest !== undefined) { |
3633 this.preTest = new this.parent.surveyNode(this.parent, this.XMLDOM, this.specification.preTest); | 3633 this.preTest = new this.parent.surveyNode(this.parent, this.XMLDOM, this.specification.preTest); |
3634 } | 3634 } |
3635 if (specification.postTest !== null) { | 3635 if (specification.postTest !== undefined) { |
3636 this.postTest = new this.parent.surveyNode(this.parent, this.XMLDOM, this.specification.postTest); | 3636 this.postTest = new this.parent.surveyNode(this.parent, this.XMLDOM, this.specification.postTest); |
3637 } | 3637 } |
3638 | 3638 |
3639 // Add any page metrics | 3639 // Add any page metrics |
3640 var page_metric = this.parent.document.createElement('metric'); | 3640 var page_metric = this.parent.document.createElement('metric'); |