[Pkg-javascript-commits] [dojo] 04/29: Add dj_trident CSS flag. Fixes #17927.
David Prévot
taffit at moszumanska.debian.org
Thu Mar 24 04:28:33 UTC 2016
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to annotated tag 1.8.11
in repository dojo.
commit 129fcff4b541aa49f89cc30c6e4c67237a3680d7
Author: Bill Keese <bill at dojotoolkit.org>
Date: Thu Apr 16 07:47:35 2015 +0900
Add dj_trident CSS flag. Fixes #17927.
(cherry picked from commit fb51eb64719aee71f7f1da1dce9efd75de717524)
---
uacss.js | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/uacss.js b/uacss.js
index c72b9d3..84c2ff4 100644
--- a/uacss.js
+++ b/uacss.js
@@ -24,6 +24,7 @@ define(["./dom-geometry", "./_base/lang", "./ready", "./sniff", "./_base/window"
var
html = baseWindow.doc.documentElement,
ie = has("ie"),
+ trident = has("trident"),
opera = has("opera"),
maj = Math.floor,
ff = has("ff"),
@@ -49,6 +50,10 @@ define(["./dom-geometry", "./_base/lang", "./ready", "./sniff", "./_base/window"
classes["dj_ie" + maj(ie)] = true;
classes["dj_iequirks"] = has("quirks");
}
+ if(trident){
+ classes["dj_trident"] = true;
+ classes["dj_trident" + maj(trident)] = true;
+ }
if(ff){
classes["dj_ff" + maj(ff)] = true;
}
--
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