git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added feature #1934 by allowing script.charset to be set through an optional 'scriptC...
[jquery.git]
/
src
/
ajax.js
diff --git
a/src/ajax.js
b/src/ajax.js
index
a5a08ec
..
01ee877
100644
(file)
--- a/
src/ajax.js
+++ b/
src/ajax.js
@@
-224,6
+224,8
@@
jQuery.extend({
var head = document.getElementsByTagName("head")[0];
var script = document.createElement("script");
script.src = s.url;
+ if (s.scriptCharset)
+ script.charset = s.scriptCharset;
// Handle Script loading
if ( !jsonp ) {