[Pkg-javascript-commits] [sockjs-client] 332/350: fixed indentation to 2 spaces (per indent) instead of 4

tonnerre at ancient-solutions.com tonnerre at ancient-solutions.com
Fri Aug 5 01:04:36 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 f6401740b254b1c1770a0a5aa68b559fd1d5930d
Author: Liam Bilich <liam.bilich at gmail.com>
Date:   Tue Jan 5 23:40:55 2016 +0200

    fixed indentation to 2 spaces (per indent) instead of 4
---
 lib/utils/log.js | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/lib/utils/log.js b/lib/utils/log.js
index d5e9352..e31276c 100644
--- a/lib/utils/log.js
+++ b/lib/utils/log.js
@@ -2,15 +2,15 @@
 
 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 () {
-    return global.console[level].apply(global.console, arguments);
-    } : (level === 'log' ? function () {} : logObject.log);
+  var levelExists;
+  
+  try {
+      levelExists = global.console && global.console[level] && global.console[level].apply;
+  } catch(e){}
+  
+  logObject[level] = levelExists ? function () {
+  return global.console[level].apply(global.console, arguments);
+  } : (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