[Pkg-javascript-commits] [dojo] 29/58: Disable firebug lite for Edge, and also iOS and android. Fixes #18727 on 1.10 branch.
David Prévot
taffit at moszumanska.debian.org
Thu Mar 24 04:28:25 UTC 2016
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to annotated tag 1.10.5
in repository dojo.
commit a299af37620e95cb85c39e248aa001c9e6b9d0eb
Author: Bill Keese <bill at dojotoolkit.org>
Date: Mon Oct 5 17:13:47 2015 +0900
Disable firebug lite for Edge, and also iOS and android.
Fixes #18727 on 1.10 branch.
---
_firebug/firebug.js | 12 ++----------
1 file changed, 2 insertions(+), 10 deletions(-)
diff --git a/_firebug/firebug.js b/_firebug/firebug.js
index 3e16038..407e3e2 100644
--- a/_firebug/firebug.js
+++ b/_firebug/firebug.js
@@ -64,16 +64,8 @@ define([
try{ console.clear(); }catch(e){}
}
- if(
- has("ff") || // Firefox has Firebug
- has("chrome") || // Chrome 3+ has a console
- has("safari") || // Safari 4 has a console
- isNewIE || // Has the new IE console
- window.firebug || // Testing for mozilla firebug lite
- (typeof console != "undefined" && console.firebug) || //The firebug console
- dojo.config.useCustomLogger || // Allow custom loggers
- has("air") // isDebug triggers AIRInsector, not Firebug
- ){
+ // All browsers we support have built in consoles, but leaving firebug lite for IE6 and IE7.
+ if(!(has("ie") < 8)){
return;
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/dojo.git
More information about the Pkg-javascript-commits
mailing list