[packages/yui/YUI_2_8] IE11 fix

glen glen at pld-linux.org
Tue Oct 14 11:24:44 CEST 2014


commit cc8483f6101cb36a18d76ba164063dc758ce572e
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Oct 14 12:24:35 2014 +0300

    IE11 fix

 yui.spec | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/yui.spec b/yui.spec
index 487316b..c73235e 100644
--- a/yui.spec
+++ b/yui.spec
@@ -1,7 +1,7 @@
 Summary:	The Yahoo! User Interface Library (YUI)
 Name:		yui
 Version:	2.8.2
-Release:	2
+Release:	3
 License:	BSD
 Group:		Applications/WWW
 Source0:	http://yui.zenfs.com/releases/yui2/%{name}_%{version}r1.zip
@@ -25,7 +25,10 @@ The YUI Library also includes several core CSS resources.
 %setup -q -n %{name}
 %patch0 -p1
 
+# IE9 fix
 %{__sed} -i -e 's,YAHOO.util.Event.isIE&&!F.button,YAHOO.util.Event.isIE\&\&YAHOO.env.ua.ie<9\&\&!F.button,g' build/utilities/utilities.js
+# IE11 fix, it's UA changed since v11 to Trident
+%{__sed} -i -e 's,F\.gecko=D(A\[1\]);}}}}}},F\.gecko=D(A\[1\]);}}}}}}if(F.ie==0\&\&C\.indexOf("Trident")!=-1){F.ie=11;},g' build/utilities/utilities.js
 
 %install
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/yui.git/commitdiff/cc8483f6101cb36a18d76ba164063dc758ce572e



More information about the pld-cvs-commit mailing list