Added support for events, made window.location Async (and based upon XHR), added trigger for window.onload.

This commit is contained in:
John Resig 2007-07-09 16:14:19 +00:00
parent d776dc9d5c
commit 0bb035a1ab
2 changed files with 115 additions and 30 deletions

View file

@ -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"
);
// 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();
};