From 12e63353391f1a556a73fe92bcd8e5f0ac277726 Mon Sep 17 00:00:00 2001 From: John Resig Date: Mon, 8 Jan 2007 00:12:41 +0000 Subject: Fixed a bug with $("body") in dynamic documents, refactored $(...), stopped the test suite from trying to run Ajax tests locally. --- src/ajax/ajaxTest.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/ajax') 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()'); }); + +} -- cgit v1.2.3