From e6a3ab58f67ec9b92b2a9a771a349df9a71ec343 Mon Sep 17 00:00:00 2001 From: "pavlo.savushchyk" Date: Wed, 6 May 2015 18:56:43 +0300 Subject: [PATCH 1/4] fix BZ41474. Allows loading css files more than one time in old IE --- css.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/css.js b/css.js index d30bf98..f705a68 100644 --- a/css.js +++ b/css.js @@ -74,7 +74,7 @@ define(function() { var ieCurCallback; var createIeLoad = function(url) { - curSheet.addImport(url); + curSheet.addImport(url + "?" + Math.random()); curStyle.onload = function(){ processIeLoad() }; ieCnt++; From 189a7a45a62611d4c2f99bfc19abec8b0603a973 Mon Sep 17 00:00:00 2001 From: "pavlo.savushchyk" Date: Mon, 6 Jul 2015 18:43:52 +0300 Subject: [PATCH 2/4] JRS-6096 require-css plugin workaround for lenovo a398t+ user agent --- css.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/css.js b/css.js index f705a68..e07207a 100644 --- a/css.js +++ b/css.js @@ -37,7 +37,7 @@ define(function() { var head = document.getElementsByTagName('head')[0]; - var engine = window.navigator.userAgent.match(/Trident\/([^ ;]*)|AppleWebKit\/([^ ;]*)|Opera\/([^ ;]*)|rv\:([^ ;]*)(.*?)Gecko\/([^ ;]*)|MSIE\s([^ ;]*)|AndroidWebKit\/([^ ;]*)/) || 0; + var engine = window.navigator.userAgent.match(/Trident\/([^ ;]*)|AppleWebKit[\/|5]([^ ;]*)|Opera\/([^ ;]*)|rv\:([^ ;]*)(.*?)Gecko\/([^ ;]*)|MSIE\s([^ ;]*)|AndroidWebKit\/([^ ;]*)/) || 0; // use