[Pkg-javascript-commits] [sockjs-client] 400/434: Cosmetic: don't do alert, do utils.log

Tonnerre Lombard tonnerre-guest at moszumanska.debian.org
Wed Jan 8 00:47:28 UTC 2014


This is an automated email from the git hooks/post-receive script.

tonnerre-guest pushed a commit to branch master
in repository sockjs-client.

commit 45b116a9d360af2ef91dcfbe2132c7417e6b8a36
Author: Marek Majkowski <majek04 at gmail.com>
Date:   Tue Apr 24 13:54:02 2012 +0100

    Cosmetic: don't do alert, do utils.log
---
 lib/trans-sender.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/trans-sender.js b/lib/trans-sender.js
index 14acc94..e5d300c 100644
--- a/lib/trans-sender.js
+++ b/lib/trans-sender.js
@@ -99,7 +99,7 @@ var jsonPGenericSender = function(url, payload, callback) {
     try {
         area.value = payload;
     } catch(e) {
-        alert('Your browser is seriously broken. Go home! ' + e.message);
+        utils.log('Your browser is seriously broken. Go home! ' + e.message);
     }
     form.submit();
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/sockjs-client.git



More information about the Pkg-javascript-commits mailing list