X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=roojs-core-debug.js;h=609cc3aeee6e79a6283509ed0f40a509d143358e;hb=9fa6240a38b3053e50d35580e3a44d1c4d932ef2;hp=67108b45b34111359ae5b6fe58480b43e03ae516;hpb=d7631819a4b41acdff57f9d1a8144637c0ecc651;p=roojs1 diff --git a/roojs-core-debug.js b/roojs-core-debug.js index 67108b45b3..609cc3aeee 100644 --- a/roojs-core-debug.js +++ b/roojs-core-debug.js @@ -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.