Roo.js
[roojs1] / Roo.js
diff --git a/Roo.js b/Roo.js
index df4fe80..c0452b4 100644 (file)
--- a/Roo.js
+++ b/Roo.js
@@ -342,6 +342,11 @@ Roo.factory(conf, Roo.data);
             if ((typeof(console) == 'undefined') || (typeof(console.log) == 'undefined')) {
                 return; // alerT?
             }
+            
+            if(window.location.href.indexOf("localhost") == -1) {
+                return;
+            }
+            
             console.log(s);
             
         },
@@ -630,6 +635,8 @@ Roo.factory(conf, Roo.data);
         /** @type Boolean */
         isIE11 : isIE11,
         /** @type Boolean */
+        isEdge : isEdge,
+        /** @type Boolean */
         isGecko : isGecko,
         /** @type Boolean */
         isBorderBox : isBorderBox,