aboutsummaryrefslogtreecommitdiffstats
path: root/src/ajax/script.js
diff options
context:
space:
mode:
authorOleg Gaidarenko <markelog@gmail.com>2015-01-26 06:42:14 +0300
committerOleg Gaidarenko <markelog@gmail.com>2015-02-15 02:00:38 +0300
commit0ac28ed293681cb8f2e9fdd11efa0021da039c84 (patch)
treecd52adef2464f99207c98c69f8aea5bdbf46e6d3 /src/ajax/script.js
parentfcb6c4d1d6552c7e54df16a36b171858bdf0553f (diff)
downloadjquery-0ac28ed293681cb8f2e9fdd11efa0021da039c84.tar.gz
jquery-0ac28ed293681cb8f2e9fdd11efa0021da039c84.zip
Ajax: simplify one ajax call and add explanatory comment
* Remove "async = true" from script transport since it was needed for FF < 4 and old Opera which we do not support anymore * Add comment to "evalUrl" method on why "type" field should be explicit
Diffstat (limited to 'src/ajax/script.js')
-rw-r--r--src/ajax/script.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/ajax/script.js b/src/ajax/script.js
index bf5f91d53..f5a1f00a4 100644
--- a/src/ajax/script.js
+++ b/src/ajax/script.js
@@ -39,7 +39,6 @@ jQuery.ajaxTransport( "script", function( s ) {
return {
send: function( _, complete ) {
script = jQuery("<script>").prop({
- async: true,
charset: s.scriptCharset,
src: s.url
}).on(