X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fajax%2FajaxTest.js;h=23a76fd49c74297735d853654939866b5ac395f8;hb=32f688d303ed3cbb942df421c5bb2ed7a5d5244c;hp=5eea9b80aa9b1b60ac57a586d38492624f68ede2;hpb=b98898d95be5cb7bb8b9fdb0d8a2595fc8d9cdf9;p=jquery.git diff --git a/src/ajax/ajaxTest.js b/src/ajax/ajaxTest.js index 5eea9b8..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(); - var 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');