Mercurial > hg > webaudioevaluationtool
changeset 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 | 70bb8e542741 |
files | js/core.js |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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) {