diff options
author | jaubourg <j@ubourg.net> | 2011-01-31 19:14:06 +0100 |
---|---|---|
committer | jaubourg <j@ubourg.net> | 2011-01-31 19:14:06 +0100 |
commit | e0b1bb8e3d66db4166ac7ee2146903bae7ab1eb9 (patch) | |
tree | 648ac28dd11a02536db15f56fce0be20bfbb02b6 /src/ajax | |
parent | f286a716d5e5836b8508eb5771624de0aafdb235 (diff) | |
download | jquery-e0b1bb8e3d66db4166ac7ee2146903bae7ab1eb9.tar.gz jquery-e0b1bb8e3d66db4166ac7ee2146903bae7ab1eb9.zip |
Script dataType now supports ecmascript mimetypes.
Diffstat (limited to 'src/ajax')
-rw-r--r-- | src/ajax/script.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ajax/script.js b/src/ajax/script.js index 91c84d6f4..731f5b609 100644 --- a/src/ajax/script.js +++ b/src/ajax/script.js @@ -3,10 +3,10 @@ // Install script dataType jQuery.ajaxSetup({ accepts: { - script: "text/javascript, application/javascript" + script: "text/javascript, application/javascript, application/ecmascript, application/x-ecmascript" }, contents: { - script: /javascript/ + script: /javascript|ecmascript/ }, converters: { "text script": function( text ) { |