aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2011-07-25 11:08:03 -0400
committerScott González <scott.gonzalez@gmail.com>2011-07-25 11:08:03 -0400
commit510bb40cab3966dde2ca97f10f82c6a165558d40 (patch)
tree4a641f7a011ebffe95584c92095a6b2f4c8eb3c3
parent0080f2d5813747cbbe44021197e352564e02b782 (diff)
downloadjquery-ui-510bb40cab3966dde2ca97f10f82c6a165558d40.tar.gz
jquery-ui-510bb40cab3966dde2ca97f10f82c6a165558d40.zip
Tests: Fixed trailing commas.
-rw-r--r--tests/unit/position/position_core.js3
-rw-r--r--tests/unit/slider/slider_options.js4
2 files changed, 3 insertions, 4 deletions
diff --git a/tests/unit/position/position_core.js b/tests/unit/position/position_core.js
index dbbda8a3b..613fffa02 100644
--- a/tests/unit/position/position_core.js
+++ b/tests/unit/position/position_core.js
@@ -64,7 +64,6 @@ test( "positions", function() {
center: 3,
right: 6,
top: 0,
- center: 3,
bottom: 6
};
var start = { left: 4, top: 4 };
@@ -351,7 +350,7 @@ test( "collision: flip, with offset", function() {
collisionTest2({
collision: "flip",
- at: "left-2 top-3",
+ at: "left-2 top-3"
}, { top: $( window ).height() + 3, left: $( window ).width() + 2 }, "right bottom, negative offset" );
});
diff --git a/tests/unit/slider/slider_options.js b/tests/unit/slider/slider_options.js
index b9a766539..f0abac665 100644
--- a/tests/unit/slider/slider_options.js
+++ b/tests/unit/slider/slider_options.js
@@ -96,7 +96,7 @@ test("step", function() {
min: 0,
value: 0,
step: 10,
- max: 100,
+ max: 100
});
equals( el.slider("value"), 0 );
@@ -116,7 +116,7 @@ el = $('<div></div>').slider({
min: 0,
value: 0,
step: 20,
- max: 100,
+ max: 100
});
el.slider("value", 0);