Skip to content

Add customdriver method to Persist module#249

Merged
Irrelon merged 1 commit into
Irrelon:masterfrom
fohletex:master
May 22, 2020
Merged

Add customdriver method to Persist module#249
Irrelon merged 1 commit into
Irrelon:masterfrom
fohletex:master

Conversation

@fohletex

@fohletex fohletex commented Jan 6, 2020

Copy link
Copy Markdown
Contributor

I recently ran into issues, where I wanted to use ForerunnerDB, but had no access to either window.Storage nor IndexedDB, WebSQL and localStorage. I further didn't want to use NodePersist. Hence, some research brought me to the localforage#defineDriver-API. Thus, I extended the Persist module with a customdriver method, which allows you to import a custom localforage driver for any other storage destinations, than the available ones.

@fohletex

fohletex commented Jan 6, 2020

Copy link
Copy Markdown
Contributor Author

hmmm ... testbear fails by travis CI - on my machine it perfectly passes .... - seems as if there is a version conflict in the setup configuration - could that be?

                    _     _
                   ( \---/ )   
                    ( . . )
             ___,--.(__Y__),--.___
            |   `--'       `--'   |
            | Test Bear is HAPPY! |
            |    _,-.     ,-._    |
            |___(ooO )___( Ooo)___|
                 `--'     `--' 

EDIT: Saw, that the error is already documented: #246

@Irrelon

Irrelon commented May 22, 2020

Copy link
Copy Markdown
Owner

If testbear is happy, I am happy :)

@Irrelon

Irrelon commented May 22, 2020

Copy link
Copy Markdown
Owner

Actually that's some nice work there, thanks for documenting as well!

@Irrelon Irrelon merged commit e894a0e into Irrelon:master May 22, 2020
@Irrelon

Irrelon commented May 22, 2020

Copy link
Copy Markdown
Owner

Merged!

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

Successfully merging this pull request may close these issues.

2 participants