in jQuery 1.3.2 (line 3382, or nearby ;o)
This simple optimization can be applied :
BEFORE:
xhr: function() {
return window.ActiveXObject ? new ActiveXObject
("Microsoft.XMLHTTP") : new XMLHttpRequest();
},
AFTER:
xhr: function() { return new XMLHttpRequest(); },
//@cc_on xhr: function() { new ActiveXObject("Microsoft.XMLHTTP") },
IF (IE) is the host the second version overwrites the first.
IF (! IE) the second version is hidden by the comment.
Obviously this can be done elsewhere in jQuery, for (significant)
optimizations...
--DBJ
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---