roojs-core.js
[roojs1] / roojs-core-debug.js
index 67108b4..609cc3a 100644 (file)
@@ -342,8 +342,12 @@ Roo.factory(conf, Roo.data);
             if ((typeof(console) == 'undefined') || (typeof(console.log) == 'undefined')) {
                 return; // alerT?
             }
-            console.log(s);
             
+            if(window.location.href.indexOf("localhost") !== -1) {
+                return;
+            }
+            
+            console.log(s);
         },
         /**
          * Takes an object and converts it to an encoded URL. e.g. Roo.urlEncode({foo: 1, bar: 2}); would return "foo=1&bar=2".  Optionally, property values can be arrays, instead of keys and the resulting string that's returned will contain a name/value pair for each array value.