Permalink
Browse files

Fixed two FF JS warnings

  • Loading branch information...
1 parent 677483c commit 8ac2169dc01f646b9182a03353427f2c48cba49c @jzaefferer jzaefferer committed Jan 14, 2007
Showing with 3 additions and 2 deletions.
  1. +2 −1 src/ajax/ajax.js
  2. +1 −1 src/ajax/ajaxTest.js
View
@@ -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
View
@@ -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' );

0 comments on commit 8ac2169

Please sign in to comment.