comparison js/core.js @ 2312:483bd6573747

Get current page store node from testState
author Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk>
date Fri, 29 Apr 2016 14:49:23 +0100
parents 426995e02e79
children 0ca5bcfdc2d4
comparison
equal deleted inserted replaced
2310:426995e02e79 2312:483bd6573747
1097 }; 1097 };
1098 1098
1099 this.getCurrentTestPage = function() { 1099 this.getCurrentTestPage = function() {
1100 if (this.stateIndex >= 0 && this.stateIndex< this.stateMap.length) { 1100 if (this.stateIndex >= 0 && this.stateIndex< this.stateMap.length) {
1101 return this.currentStateMap; 1101 return this.currentStateMap;
1102 } else {
1103 return null;
1104 }
1105 }
1106 this.getCurrentTestPageStore = function() {
1107 if (this.stateIndex >= 0 && this.stateIndex< this.stateMap.length) {
1108 return this.currentStore;
1102 } else { 1109 } else {
1103 return null; 1110 return null;
1104 } 1111 }
1105 } 1112 }
1106 } 1113 }