# HG changeset patch # User Nicholas Jillings # Date 1493376987 -3600 # Node ID 3b7b45f9c20d0334a00cfeaa4a6d3a7b39010b92 # Parent d5e7f45b15e7fbf5a0ed660f2c08435e2213ab39 Auto-condition pre/post test surveys diff -r d5e7f45b15e7 -r 3b7b45f9c20d js/specification.js --- a/js/specification.js Thu Apr 27 14:36:30 2017 +0100 +++ b/js/specification.js Fri Apr 28 11:56:27 2017 +0100 @@ -22,6 +22,8 @@ this.metrics = new metricNode(); this.preTest = new surveyNode(this); this.postTest = new surveyNode(this); + this.preTest.location = "pre"; + this.postTest.location = "post"; this.pages = []; this.interfaces = new interfaceNode(this); this.errors = []; @@ -553,6 +555,8 @@ this.labelStart = undefined; this.preTest = new surveyNode(specification); this.postTest = new surveyNode(specification); + this.preTest.location = "pre"; + this.postTest.location = "post"; this.interfaces = []; this.playOne = undefined; this.restrictMovement = undefined;