Closed bolasblack closed 8 years ago
Should this be a part of the library ? IMHO, this could be a script that you run before importing the shim. Then you could reassign the constants.
I think it would make sense to publish this as a separate library instead of making the function available as a part of the shim. We could also link to the "unshimming" library from the README.
Hmmmmm... I think you are right! Thank you! :P
@bolasblack Thanks for the PR though, I did not mean to prevent it from being merged. I just thought that it would make sense as a separate library. If you believe that it should be a part of this, you should re-open and we could let other contributors chime in.
@axemclion I agree with you, about unshimming, it's not a necessary function and users can implement it out of IndexedDBShim, so I think it's no need to be a part of the library.
I need migrate data from
IndexedDBShim
toindexedDB
.So I hope I can call
__useShim()
export all data fromIndexedDBShim
, then call__unuseShim()
and import them to the realindexedDB
.