Fixed two FF JS warnings

This commit is contained in:
Jörn Zaefferer 2007-01-14 22:51:55 +00:00
parent 677483ce44
commit 8ac2169dc0
2 changed files with 3 additions and 2 deletions

View file

@ -457,7 +457,8 @@ jQuery.extend({
timeout: 0, timeout: 0,
contentType: "application/x-www-form-urlencoded", contentType: "application/x-www-form-urlencoded",
processData: true, processData: true,
async: true async: true,
data: null
}, },
// Last-Modified header cache for next request // Last-Modified header cache for next request

View file

@ -70,7 +70,7 @@ test("load(String, Object, Function) - inject without callback", function() {
test("load(String, Object, Function) - check scripts", function() { test("load(String, Object, Function) - check scripts", function() {
expect(7); expect(7);
stop(); stop();
testFoo = undefined; var testFoo = undefined;
foobar = null; foobar = null;
var verifyEvaluation = function() { var verifyEvaluation = function() {
ok( foobar == "bar", 'Check if script src was evaluated after load' ); ok( foobar == "bar", 'Check if script src was evaluated after load' );