This is a simple index.html
template you can use for submitting PouchDB bug reports.
The live demo is available at http://bl.ocks.org/nolanlawson/816f138a51b86785d3e6.
This is a simple index.html
template you can use for submitting PouchDB bug reports.
The live demo is available at http://bl.ocks.org/nolanlawson/816f138a51b86785d3e6.
<html> | |
<body> | |
<h1>Demo of a PouchDB bug report</h1> | |
<script src="//cdn.jsdelivr.net/pouchdb/latest/pouchdb.js"></script> | |
<script> | |
// Destroy and recreate the database every time the page is reloaded | |
new PouchDB('testdb').destroy().then(function () { | |
var db = new PouchDB('testdb'); | |
// Put your test here! | |
}).catch(function (err) { | |
console.log(err); | |
}); | |
</script> | |
</body> | |
</html> |