X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fajax%2FajaxTest.js;h=23a76fd49c74297735d853654939866b5ac395f8;hb=52a78d06a44a7047f34cf1f443cebaa7916e391d;hp=7785a97a9b34f5b630c798143156f5e4da6bd43a;hpb=12e63353391f1a556a73fe92bcd8e5f0ac277726;p=jquery.git diff --git a/src/ajax/ajaxTest.js b/src/ajax/ajaxTest.js index 7785a97..23a76fd 100644 --- a/src/ajax/ajaxTest.js +++ b/src/ajax/ajaxTest.js @@ -70,8 +70,8 @@ test("load(String, Object, Function) - inject without callback", function() { test("load(String, Object, Function) - check scripts", function() { expect(7); stop(); - testFoo = undefined; - foobar = null; + window.testFoo = undefined; + window.foobar = null; var verifyEvaluation = function() { ok( foobar == "bar", 'Check if script src was evaluated after load' ); ok( $('#ap').html() == 'bar', 'Check if script evaluation has modified DOM');