diff --git a/css.js b/css.js index d30bf98..a031891 100644 --- a/css.js +++ b/css.js @@ -17,12 +17,12 @@ * Chome 3 - 26 * Firefox 3.5 - 19 * Opera 10 - 12 - * + * * browserling.com used for virtual testing environment * * Credit to B Cavalier & J Hann for the IE 6 - 9 method, * refined with help from Martin Cermak - * + * * Sources that helped along the way: * - https://developer.mozilla.org/en-US/docs/Browser_detection_using_the_user_agent * - http://www.phpied.com/when-is-a-stylesheet-really-loaded/ @@ -30,140 +30,142 @@ * */ -define(function() { -//>>excludeStart('excludeRequireCss', pragmas.excludeRequireCss) - if (typeof window == 'undefined') - return { load: function(n, r, load){ load() } }; - - var head = document.getElementsByTagName('head')[0]; - - var engine = window.navigator.userAgent.match(/Trident\/([^ ;]*)|AppleWebKit\/([^ ;]*)|Opera\/([^ ;]*)|rv\:([^ ;]*)(.*?)Gecko\/([^ ;]*)|MSIE\s([^ ;]*)|AndroidWebKit\/([^ ;]*)/) || 0; - - // use