git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Renamed preprocess to before, for consistency with form plugin
[jquery.git]
/
src
/
ajax
/
ajaxTest.js
diff --git
a/src/ajax/ajaxTest.js
b/src/ajax/ajaxTest.js
index
a84df1d
..
0a740aa
100644
(file)
--- a/
src/ajax/ajaxTest.js
+++ b/
src/ajax/ajaxTest.js
@@
-286,7
+286,7
@@
test("$.ajax - preprocess", function() {
$.ajax({
url: "data/name.php",
data: {'req': true},
- preprocess: function(xml) {
+ before: function(xml) {
xml.setRequestHeader('customHeader', customHeader)
},
success: function(data) {