[Pkg-javascript-commits] [dojo] 10/58: Add dj_trident CSS flag. Fixes #17927.

David Prévot taffit at moszumanska.debian.org
Thu Mar 24 04:28:23 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 660692a883f729470d846c7079eed839912a19e5
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 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