diff --git a/js/jQuery.mobile.js b/js/jQuery.mobile.js index b02a87b8..f84c0afe 100644 --- a/js/jQuery.mobile.js +++ b/js/jQuery.mobile.js @@ -42,27 +42,7 @@ */ $.support.orientation = !!window.orientation; - //ajax support: to use bbq-style navigation with external pages, we will need to first test for ajax support (and fall back to normal urls) - //note: maybe core should be updated with this support property? - $.support.ajax = (function(){ - //factory test borrowed from quirksmode.org - var xmlhttp = false, index = -1, factory, - XMLHttpFactories = [ - function() { return new XMLHttpRequest() }, - function() { return new ActiveXObject("Msxml2.XMLHTTP") }, - function() { return new ActiveXObject("Msxml3.XMLHTTP") }, - function() { return new ActiveXObject("Microsoft.XMLHTTP") } - ]; - while ((factory = XMLHttpFactories[++index])) { - try { xmlhttp = factory(); } - catch (e) { continue; } - break; - } - return !!xmlhttp; - })(); - /* Some CSS capability tests from EnhanceJS -- in the vein of $.support.boxmodel -- almost certainly needed for widgets to work - * note: assuming they work in Firefox 4, these can run without domready (currently FF4 beta won't report these offset dimensions before body is present) */ //test CSS display none $.support.display = (function(){