Add missing 'new' to PouchDB test

This commit is contained in:
Mohamed Hegazy
2014-09-02 14:32:15 -07:00
parent 0d999bb466
commit 11c3bec421
+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);
}