A quick change to detect AIR urls

This commit is contained in:
gnarf 2011-02-24 13:10:33 -06:00
parent 58faec7cb7
commit 14e9da51f9
2 changed files with 13 additions and 1 deletions

View file

@ -19,7 +19,7 @@ var r20 = /%20/g,
rucHeadersFunc = function( _, $1, $2 ) {
return $1 + $2.toUpperCase();
},
rurl = /^([\w\+\.\-]+:)\/\/([^\/?#:]*)(?::(\d+))?/,
rurl = /^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?|\/[^\/])/,
// Keep a copy of the old load method
_load = jQuery.fn.load,