Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

it doesn't show the count on the very first load #3

Open
benatkin opened this issue May 26, 2011 · 1 comment
Open

it doesn't show the count on the very first load #3

benatkin opened this issue May 26, 2011 · 1 comment

Comments

@benatkin
Copy link

Instead of saying 0 left it just says left. If I go into the web inspector (I'm using Chrome) and delete "Task" from LocalStorage or change its value to the empty string it says just left again.

It does properly say 0 left after adding records and deleting them all. In that case, if I look at the localStorage value in Web Inspector, it shows [] as the value.

I looked for a fix briefly but an elegant solution didn't jump out at me. I'm not very familiar with Spine so I thought I'd just report the issue and see what you come up with. I look forward to hearing it!

To sum it up:

  • If it's the first page load or I delete Task from localStorage, the value for Task in localStorage is either non-existent or the empty string, and it says left.
  • If I add an item and delete it, the value for Task in localStorage is [] and it says 0 left.
@maccman
Copy link
Owner

maccman commented Jun 1, 2011

Yes, this is an issues I'm going to try and solve as soon as I get a sec. Thanks for the heads up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants