# HG changeset patch # User Nicholas Jillings # Date 1461937763 -3600 # Node ID 483bd65737479b82829003ccd16e9afea17cdaa6 # Parent 426995e02e79133b0b03183324c97e67cf64a40c Get current page store node from testState diff -r 426995e02e79 -r 483bd6573747 js/core.js --- a/js/core.js Fri Apr 29 11:40:06 2016 +0100 +++ b/js/core.js Fri Apr 29 14:49:23 2016 +0100 @@ -1103,6 +1103,13 @@ return null; } } + this.getCurrentTestPageStore = function() { + if (this.stateIndex >= 0 && this.stateIndex< this.stateMap.length) { + return this.currentStore; + } else { + return null; + } + } } function AudioEngine(specification) {