Closed kingo55 closed 4 years ago
@kingo55 Good point!
David, you want to take this issue on once we get a couple of the other PRs merged?
I think it will relate to #31 too.
@kingo55 Yes, I will take this one.
@kingo55 Please let me know when this one is ready to start.
@allmywant - ready whenever you like, but bear in mind there may be some changes as yet due to #37 (though probably unlikely to affect the get
/set
test
/recipe
functions I think).
I wonder if we can refactor this.inTest() and this.getRecipe() so that we read the cookie once and store the information from the cookies on the test object for later re-use? e.g.
this.getStoredDecision() -> sets test.options.storedDecision{inTest:1,recipe:0}