From: Argiris K. <be...@us...> - 2005-11-25 09:29:24
|
Update of /cvsroot/magicajax/magicajax/Core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25344/Core Modified Files: Util.cs Log Message: Do not disable 'defer' if it's on a external script file tag. Index: Util.cs =================================================================== RCS file: /cvsroot/magicajax/magicajax/Core/Util.cs,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** Util.cs 24 Nov 2005 19:23:05 -0000 1.9 --- Util.cs 25 Nov 2005 09:29:15 -0000 1.10 *************** *** 43,52 **** tag = tag.Insert(tag.Length - 1, " defer"); } - else if (tag.IndexOf(" defer") != -1) - { - // It's an external script file with a 'defer' attribute. - // Disable 'defer' by replacing it - tag = tag.Replace(" defer", " nodefer"); - } if ( tag.Length != match.Value.Length ) --- 43,46 ---- |