Please see follow-up question here here where it gets to the meat of the problem.
I am making an ajax call that reloads the data in the local storage of an Ember App. I am calling localStorage.clear();
right before the ajax call. However, after the ajax call, nothing is cleared!
The printout localStorage.getItem("model-emberjs")
right after the clear() and is null as expected.
The printout localStorage.getItem("model-emberjs")
right after the ajax call that follows has everything from before.
I'm using the LS adapter.
Do you have any idea why?
P.S. I don't know how to make ajax call work in jsbin so sorry no live example.