aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/ajax.js
diff options
context:
space:
mode:
authorjaubourg <j@ubourg.net>2012-06-11 13:59:34 +0200
committerjaubourg <j@ubourg.net>2012-06-11 14:00:16 +0200
commitac48a19b92e60f08e5b00a46b5551a503c292fd5 (patch)
tree623962004549610b85a82740baf056633427e9a1 /test/unit/ajax.js
parent5f35b3d9f90d07ee084d59702a54051ee51fb0d3 (diff)
downloadjquery-ac48a19b92e60f08e5b00a46b5551a503c292fd5.tar.gz
jquery-ac48a19b92e60f08e5b00a46b5551a503c292fd5.zip
Some work to modularize ajax later on.
Diffstat (limited to 'test/unit/ajax.js')
-rw-r--r--test/unit/ajax.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/ajax.js b/test/unit/ajax.js
index 878b311eb..b7e2cf191 100644
--- a/test/unit/ajax.js
+++ b/test/unit/ajax.js
@@ -1,6 +1,6 @@
module("ajax", { teardown: moduleTeardown });
-if ( !isLocal || hasPHP) {
+if ( jQuery.ajax && ( !isLocal || hasPHP ) ) {
test("jQuery.ajax() - success callbacks", function() {
expect( 8 );