Fixed two FF JS warnings
authorJörn Zaefferer <joern.zaefferer@gmail.com>
Sun, 14 Jan 2007 22:51:55 +0000 (22:51 +0000)
committerJörn Zaefferer <joern.zaefferer@gmail.com>
Sun, 14 Jan 2007 22:51:55 +0000 (22:51 +0000)
src/ajax/ajax.js
src/ajax/ajaxTest.js

index 2ad9331..98f792a 100644 (file)
@@ -457,7 +457,8 @@ jQuery.extend({
                timeout: 0,
                contentType: "application/x-www-form-urlencoded",
                processData: true,
-               async: true
+               async: true,
+               data: null
        },
        
        // Last-Modified header cache for next request
index 7785a97..5eea9b8 100644 (file)
@@ -70,7 +70,7 @@ test("load(String, Object, Function) - inject without callback", function() {
 test("load(String, Object, Function) - check scripts", function() {
        expect(7);
        stop();
-       testFoo = undefined;
+       var testFoo = undefined;
        foobar = null;
        var verifyEvaluation = function() {
          ok( foobar == "bar", 'Check if script src was evaluated after load' );