Mercurial > hg > webaudioevaluationtool
diff 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 |
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) {