Commit graph

2 commits

Author SHA1 Message Date
Hyzual
2e004a5f59 Adds deleting the queue and song from localStorage.
Adds a watch on the saveTrackPosition setting to start dynamically saving the position.
2015-01-17 19:15:07 +01:00
Hyzual
42830bbdbf Extracts everything related to localStorage in common/persistence-service.js
That way, whenever we want to use something else (like a JSON file, or a DB) we will only have to change persistence-service.js
- Migrated the unit tests there too.
- Added replay in case of jPlayer error.
2015-01-17 19:15:07 +01:00