Closed joeljeske closed 9 years ago
Currently, this plugin exposes itself as window.WebSQL.openDatabase. To be consistent as a websql plugin, it should also/instead expose as window.openDatabase.
window.WebSQL.openDatabase
window.openDatabase
This could be fixed by changing this line in config.xml to read
<merges target="window" />
instead of
<clobbers target="window.WebSQL" />
This is also consistent with the forked project.
+1
Once this change is made, I'll update this line in the cordova-plugin-indexeddb-async plug-in.
Agreed. @joeljeske: submit a PR?
Currently, this plugin exposes itself as
window.WebSQL.openDatabase
. To be consistent as a websql plugin, it should also/instead expose aswindow.openDatabase
.This could be fixed by changing this line in config.xml to read
instead of
This is also consistent with the forked project.