Added support for events, made window.location Async (and based upon XHR), added trigger for window.onload.
This commit is contained in:
parent
d776dc9d5c
commit
0bb035a1ab
2 changed files with 115 additions and 30 deletions
|
@ -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();
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue