[Pkg-javascript-commits] [sockjs-client] 331/350: fixed indentation :)

tonnerre at ancient-solutions.com tonnerre at ancient-solutions.com
Fri Aug 5 01:04:35 UTC 2016


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

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

commit 3dcaab64c6221efd31a1f85cb91e02890352ccf8
Author: Liam Bilich <liam.bilich at gmail.com>
Date:   Tue Jan 5 22:23:51 2016 +0200

    fixed indentation :)
---
 lib/utils/log.js | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/lib/utils/log.js b/lib/utils/log.js
index 6888136..d5e9352 100644
--- a/lib/utils/log.js
+++ b/lib/utils/log.js
@@ -3,13 +3,14 @@
 var logObject = {};
 ['log', 'debug', 'warn'].forEach(function (level) {
     var levelExists;
+    
     try {
         levelExists = global.console && global.console[level] && global.console[level].apply;
     } catch(e){}
-
-  logObject[level] = levelExists ? function () {
+    
+    logObject[level] = levelExists ? function () {
     return global.console[level].apply(global.console, arguments);
-  } : (level === 'log' ? function () {} : logObject.log);
+    } : (level === 'log' ? function () {} : logObject.log);
 
 });
 

-- 
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