From 11c3bec4212ed162740bf1b181104ddf3fc43d7b Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Tue, 2 Sep 2014 14:32:15 -0700 Subject: [PATCH] Add missing 'new' to PouchDB test --- pouchDB/pouch-tests.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pouchDB/pouch-tests.ts b/pouchDB/pouch-tests.ts index 5534ca3672..eb5ea7746d 100644 --- a/pouchDB/pouch-tests.ts +++ b/pouchDB/pouch-tests.ts @@ -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); }