X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=build%2Fruntest%2Ftest.js;h=00b85e41980f6897c96631f44f88449deac9f769;hb=0bb035a1abc37fbf033a18ac53dd62ec85599a49;hp=1831e2f04f84e009578f5a5e62f42473c982114a;hpb=54035207fe91cb57f49bb8c0c9f7b4ada8d05346;p=jquery.git diff --git a/build/runtest/test.js b/build/runtest/test.js index 1831e2f..00b85e4 100644 --- a/build/runtest/test.js +++ b/build/runtest/test.js @@ -1,17 +1,21 @@ // Init load("build/runtest/env.js"); -window.location = "test/index.html"; - -// Load the test runner -load("dist/jquery.js","build/runtest/testrunner.js"); -// Load the tests -load( - "src/jquery/coreTest.js", - "src/selector/selectorTest.js", - "src/event/eventTest.js", - "src/fx/fxTest.js" -); +window.location = "test/index.html"; -// Display the results -results(); +window.onload = function(){ + // Load the test runner + load("dist/jquery.js","build/runtest/testrunner.js"); + + // Load the tests + load( + "src/jquery/coreTest.js", + "src/selector/selectorTest.js", + "src/event/eventTest.js", + "src/fx/fxTest.js" + //"src/ajax/ajaxTest.js" + ); + + // Display the results + results(); +}; \ No newline at end of file