Fixed a bug with $("body") in dynamic documents, refactored $(...), stopped the test suite from trying to run Ajax tests locally.

This commit is contained in:
John Resig 2007-01-08 00:12:41 +00:00
parent 5acecf6e28
commit 12e6335339
4 changed files with 43 additions and 39 deletions

View file

@ -1,5 +1,7 @@
module("ajax");
if ( location.protocol != "file:" ) {
test("serialize()", function() {
expect(1);
var data = $(':input').not('button').serialize();
@ -376,3 +378,5 @@ test("evalScripts() with no script elements", function() {
}
ok ( true, 'after evalScripts()');
});
}