[Pkg-javascript-commits] [dojo] 21/41: Disable firebug lite for Edge, and also iOS and android. Fixes #18727 on 1.9 branch.
David Prévot
taffit at moszumanska.debian.org
Thu Mar 24 04:28:40 UTC 2016
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to annotated tag 1.9.8
in repository dojo.
commit 5cce614728e3997cb27501162c455fa60f9f97b2
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.9 branch.
(cherry picked from commit a299af37620e95cb85c39e248aa001c9e6b9d0eb)
---
_firebug/firebug.js | 12 ++----------
1 file changed, 2 insertions(+), 10 deletions(-)
diff --git a/_firebug/firebug.js b/_firebug/firebug.js
index 21b164d..f319e76 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