From 24eb176f0cd986cbedd08db11d168431df10ed69 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Scott=20Gonz=C3=A1lez?= <scott.gonzalez@gmail.com> Date: Thu, 5 Jun 2008 18:11:29 +0000 Subject: [PATCH] ajax tests: Replaced $ with jQuery. --- test/data/test.html | 2 +- test/data/test.js | 2 +- test/data/test.php | 2 +- test/data/test2.html | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/data/test.html b/test/data/test.html index fc6dc38..eec028e 100644 --- a/test/data/test.html +++ b/test/data/test.html @@ -1,6 +1,6 @@ html text<br/> <script type="text/javascript">/* <![CDATA[ */ -testFoo = "foo"; $('#foo').html('foo'); +testFoo = "foo"; jQuery('#foo').html('foo'); ok( true, "test.html executed" ); /* ]]> */</script> <script src="data/test.js"></script> diff --git a/test/data/test.js b/test/data/test.js index f8bdd09..a41cb23 100644 --- a/test/data/test.js +++ b/test/data/test.js @@ -1,3 +1,3 @@ var foobar = "bar"; -$('#ap').html('bar'); +jQuery('#ap').html('bar'); ok( true, "test.js executed"); diff --git a/test/data/test.php b/test/data/test.php index 9dbea97..3d08f32 100644 --- a/test/data/test.php +++ b/test/data/test.php @@ -1,6 +1,6 @@ html text<br/> <script type="text/javascript">/* <![CDATA[ */ -testFoo = "foo"; $('#foo').html('foo'); +testFoo = "foo"; jQuery('#foo').html('foo'); ok( true, "test.php executed" ); /* ]]> */</script> <script src="data/test.js?<?php srand(); echo time() . '' . rand(); ?>"></script> diff --git a/test/data/test2.html b/test/data/test2.html index ebf610e..1df6151 100644 --- a/test/data/test2.html +++ b/test/data/test2.html @@ -1,5 +1,5 @@ <script type="text/javascript"> var testFoo = "foo"; -$('#foo').html('foo'); +jQuery('#foo').html('foo'); ok( true, "test2.html executed" ); </script> -- 1.7.10.4