Renamed preprocess to before, for consistency with form plugin
[jquery.git] / src / ajax / ajaxTest.js
index a84df1d..0a740aa 100644 (file)
@@ -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) {