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:
parent
5acecf6e28
commit
12e6335339
4 changed files with 43 additions and 39 deletions
|
@ -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()');
|
||||
});
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue