diff 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
line wrap: on
line diff
--- a/js/specification.js	Thu Jun 02 14:20:55 2016 +0100
+++ b/js/specification.js	Thu Jun 02 17:20:55 2016 +0100
@@ -121,17 +121,13 @@
             {
                 case 'pre':
                 case 'before':
-                    else {
-                        this.preTest = new this.surveyNode(this);
-                        this.preTest.decode(this,survey[i]);
-                    }
+	            this.preTest = new this.surveyNode(this);
+	            this.preTest.decode(this,survey[i]);
                     break;
                 case 'post':
                 case 'after':
-                    else {
-                        this.postTest = new this.surveyNode(this);
-                        this.postTest.decode(this,survey[i]);
-                    }
+                    this.postTest = new this.surveyNode(this);
+                    this.postTest.decode(this,survey[i]);
                     break;
             }
 		}
@@ -671,4 +667,4 @@
 			};
 		};
 	};
-}
\ No newline at end of file
+}