incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cr...@apache.org
Subject git commit: More code cleanup
Date Fri, 30 May 2014 12:56:34 GMT
Repository: incubator-blur
Updated Branches:
  refs/heads/console-v2 7f8ef3205 -> 1a3b2660b


More code cleanup


Project: http://git-wip-us.apache.org/repos/asf/incubator-blur/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-blur/commit/1a3b2660
Tree: http://git-wip-us.apache.org/repos/asf/incubator-blur/tree/1a3b2660
Diff: http://git-wip-us.apache.org/repos/asf/incubator-blur/diff/1a3b2660

Branch: refs/heads/console-v2
Commit: 1a3b2660b4f2285927f0a87fed8e0d561446ec9d
Parents: 7f8ef32
Author: Chris Rohr <rohr.chris@gmail.com>
Authored: Fri May 30 08:56:30 2014 -0400
Committer: Chris Rohr <rohr.chris@gmail.com>
Committed: Fri May 30 08:56:30 2014 -0400

----------------------------------------------------------------------
 .../src/main/webapp/js/blurconsole.overrides.js | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/1a3b2660/contrib/blur-console/src/main/webapp/js/blurconsole.overrides.js
----------------------------------------------------------------------
diff --git a/contrib/blur-console/src/main/webapp/js/blurconsole.overrides.js b/contrib/blur-console/src/main/webapp/js/blurconsole.overrides.js
index 836ceed..d8655fb 100644
--- a/contrib/blur-console/src/main/webapp/js/blurconsole.overrides.js
+++ b/contrib/blur-console/src/main/webapp/js/blurconsole.overrides.js
@@ -28,28 +28,28 @@ if (typeof console === 'undefined') {
     console = (function() {
         'use strict';
 
-        var log = function() {
+        function log() {
             if(typeof blurconsole !== 'undefined' && typeof blurconsole.model !==
'undefined' && typeof blurconsole.model.logs !== 'undefined') {
                 var args = Array.prototype.slice.call(arguments);
                 blurconsole.model.logs.logError(args.join(' '), 'javascript');
             }
-        };
+        }
 
-        var info = function() {
+        function info() {
             return console.log.apply(null, arguments);
-        };
+        }
 
-        var warn = function() {
+        function warn() {
             return console.log.apply(null, arguments);
-        };
+        }
 
-        var error = function() {
+        function error() {
             return console.log.apply(null, arguments);
-        };
+        }
 
-        var debug = function() {
+        function debug() {
             return console.log.apply(null, arguments);
-        };
+        }
 
         return {
             log: log,


Mime
View raw message