Merge pull request #2767 from mhegazy/pouchDBTests

Add missing 'new' to PouchDB test
This commit is contained in:
Masahiro Wakame
2014-09-05 11:19:08 +09:00
+1 -1
View File
@@ -9,7 +9,7 @@ window.alert = function (thing?: string) {
var pouch: PouchDB;
function pouchTests() {
PouchDB('testdb', function (err: PouchError, res: PouchDB) {
new PouchDB('testdb', function (err: PouchError, res: PouchDB) {
if (err) {
alert('Error ' + err.status + ' occurred ' + err.error + ' - ' + err.reason);
}