From 822274f76e55821c4cb6855568f1609ba6ca9aa9 Mon Sep 17 00:00:00 2001 From: gstamac Date: Fri, 23 Aug 2013 13:58:40 +0200 Subject: [PATCH] PouchDB: fixed alert function override --- 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 46411b5ba..8cca2ed71 100644 --- a/pouchDB/pouch-tests.ts +++ b/pouchDB/pouch-tests.ts @@ -2,7 +2,7 @@ declare var $: any; -function alert(thing: any) { +window.alert = function(thing?: string) { $('body').append('
' + thing + '
'); }