X-Git-Url: http://git.asbjorn.biz/?p=jquery.git;a=blobdiff_plain;f=build%2Fruntest%2Ftest.js;h=00b85e41980f6897c96631f44f88449deac9f769;hp=1bc9ac12586c446e38b5f8247fae10edaa884f40;hb=0bb035a1abc37fbf033a18ac53dd62ec85599a49;hpb=d776dc9d5c5322e81b56272728325990ed6892bb diff --git a/build/runtest/test.js b/build/runtest/test.js index 1bc9ac1..00b85e4 100644 --- a/build/runtest/test.js +++ b/build/runtest/test.js @@ -1,18 +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" - //"src/ajax/ajaxTest.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