aboutsummaryrefslogtreecommitdiffstats
path: root/src/ajax
diff options
context:
space:
mode:
authorJohn Resig <jeresig@gmail.com>2007-01-08 00:12:41 +0000
committerJohn Resig <jeresig@gmail.com>2007-01-08 00:12:41 +0000
commit12e63353391f1a556a73fe92bcd8e5f0ac277726 (patch)
treee4993d1cfac709e71026dbf4232d897182833920 /src/ajax
parent5acecf6e2814701f9e22f91f17fcb33ef910e88a (diff)
downloadjquery-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.js4
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()');
});
+
+}