[Pkg-javascript-commits] [dojo] 56/149: Add dj_trident CSS flag. Fixes #17927.
David Prévot
taffit at moszumanska.debian.org
Sat Feb 27 03:13:47 UTC 2016
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository dojo.
commit fb51eb64719aee71f7f1da1dce9efd75de717524
Author: Bill Keese <bill at dojotoolkit.org>
Date: Thu Apr 16 07:47:35 2015 +0900
Add dj_trident CSS flag. Fixes #17927.
---
uacss.js | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/uacss.js b/uacss.js
index 2ce9ee7..f06c20a 100644
--- a/uacss.js
+++ b/uacss.js
@@ -24,6 +24,7 @@ define(["./dom-geometry", "./_base/lang", "./domReady", "./sniff", "./_base/wind
var
html = baseWindow.doc.documentElement,
ie = has("ie"),
+ trident = has("trident"),
opera = has("opera"),
maj = Math.floor,
ff = has("ff"),
@@ -52,6 +53,10 @@ define(["./dom-geometry", "./_base/lang", "./domReady", "./sniff", "./_base/wind
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