Merge branch 'master' of github.com:jquery/jquery-mobile

Conflicts:
	js/jQuery.mobile.js
This commit is contained in:
Scott González 2010-09-13 18:28:07 -04:00
commit f584e3385f

View file

@ -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(){