diff options
author | John Resig <jeresig@gmail.com> | 2007-01-08 00:12:41 +0000 |
---|---|---|
committer | John Resig <jeresig@gmail.com> | 2007-01-08 00:12:41 +0000 |
commit | 12e63353391f1a556a73fe92bcd8e5f0ac277726 (patch) | |
tree | e4993d1cfac709e71026dbf4232d897182833920 /src/ajax | |
parent | 5acecf6e2814701f9e22f91f17fcb33ef910e88a (diff) | |
download | jquery-12e63353391f1a556a73fe92bcd8e5f0ac277726.tar.gz jquery-12e63353391f1a556a73fe92bcd8e5f0ac277726.zip |
Fixed a bug with $("body") in dynamic documents, refactored $(...), stopped the test suite from trying to run Ajax tests locally.
Diffstat (limited to 'src/ajax')
-rw-r--r-- | src/ajax/ajaxTest.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ajax/ajaxTest.js b/src/ajax/ajaxTest.js index b215d95a8..7785a97a9 100644 --- a/src/ajax/ajaxTest.js +++ b/src/ajax/ajaxTest.js @@ -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()'); }); + +} |