topahl / multideviceDatabase

0 stars 1 forks source link

Update FileDB to ES6 codebase #4

Closed pianomister closed 7 years ago

pianomister commented 7 years ago

This pull request changes the FileDB codebase to ES6 syntax, is fixing several bugs with the old library, and adds some missing, elementary functionality according to knadh/localstoragedb API. The development process was done in my other project ExpenSync for easier debugging purposes, single commits are therefore not visible in this fork.

Summary of changes:

@nimarin: I have seen that you added a PR containing tests for the library. I guess since the API did not change, the tests can remain as-is - there may be changes necessary for your framework setup, though.

Check out the ExpenSync project for a working application using the current library state.