aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/dimensions.js
diff options
context:
space:
mode:
authorAriel Flesler <aflesler@gmail.com>2008-05-28 23:18:25 +0000
committerAriel Flesler <aflesler@gmail.com>2008-05-28 23:18:25 +0000
commit9e48649729a5d4cd9ce52bcba067ba33a562cb4b (patch)
treeb0ff9e37e6bd357b819bd313ec0552a35385a0f8 /test/unit/dimensions.js
parentabb055bb498c4938b8663eb37c98e9f9e8fd8c9e (diff)
downloadjquery-9e48649729a5d4cd9ce52bcba067ba33a562cb4b.tar.gz
jquery-9e48649729a5d4cd9ce52bcba067ba33a562cb4b.zip
test runner: the changes are:
- Replaced all the $ for jQuery in the tests and suite. - Added a noConflict to testrunner.js. - Modified the test for noConflict() so that it still work. - Added jQuery 1.2.1 and 1.2.3 to otherlibs.
Diffstat (limited to 'test/unit/dimensions.js')
-rw-r--r--test/unit/dimensions.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/unit/dimensions.js b/test/unit/dimensions.js
index aac1655f5..2e2bb42b3 100644
--- a/test/unit/dimensions.js
+++ b/test/unit/dimensions.js
@@ -3,7 +3,7 @@ module("dimensions");
test("innerWidth()", function() {
expect(3);
- var $div = $("#nothiddendiv");
+ var $div = jQuery("#nothiddendiv");
// set styles
$div.css({
margin: 10,
@@ -24,7 +24,7 @@ test("innerWidth()", function() {
test("innerHeight()", function() {
expect(3);
- var $div = $("#nothiddendiv");
+ var $div = jQuery("#nothiddendiv");
// set styles
$div.css({
margin: 10,
@@ -45,7 +45,7 @@ test("innerHeight()", function() {
test("outerWidth()", function() {
expect(6);
- var $div = $("#nothiddendiv");
+ var $div = jQuery("#nothiddendiv");
$div.css("width", 30);
equals($div.outerWidth(), 30, "Test with only width set");
@@ -67,7 +67,7 @@ test("outerWidth()", function() {
test("outerHeight()", function() {
expect(6);
- var $div = $("#nothiddendiv");
+ var $div = jQuery("#nothiddendiv");
$div.css("height", 30);
equals($div.outerHeight(), 30, "Test with only width set");