aboutsummaryrefslogtreecommitdiffstats
path: root/src/ajax.js
diff options
context:
space:
mode:
authorjaubourg <j@ubourg.net>2011-02-03 18:23:02 +0100
committerjaubourg <j@ubourg.net>2011-02-03 18:23:02 +0100
commit7eba4b76dfb4dde3b514281d614d7ac4fedc0289 (patch)
treebdbf09d8f0f62c9a8a06b7e65187d349b3c04194 /src/ajax.js
parent4d808a3345f78fab963be96bf272951745b894e3 (diff)
downloadjquery-7eba4b76dfb4dde3b514281d614d7ac4fedc0289.tar.gz
jquery-7eba4b76dfb4dde3b514281d614d7ac4fedc0289.zip
Adds widget as the list of local protocols.
Diffstat (limited to 'src/ajax.js')
-rw-r--r--src/ajax.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ajax.js b/src/ajax.js
index ce27d2de2..b361a2a73 100644
--- a/src/ajax.js
+++ b/src/ajax.js
@@ -7,7 +7,7 @@ var r20 = /%20/g,
rheaders = /^(.*?):\s*(.*?)\r?$/mg, // IE leaves an \r character at EOL
rinput = /^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,
// #7653, #8125, #8152: local protocol detection
- rlocalProtocol = /(?:^file|\-extension):$/,
+ rlocalProtocol = /(?:^file|^widget|\-extension):$/,
rnoContent = /^(?:GET|HEAD)$/,
rprotocol = /^\/\//,
rquery = /\?/,