From 4fd2befe94421d330c02004dcad4cc03a38ba99e Mon Sep 17 00:00:00 2001 From: "Richard D. Worth" Date: Thu, 26 Apr 2012 10:06:01 -0400 Subject: [PATCH] tests visual position: minor refactor --- tests/visual/position/position_fit.html | 40 ++++++++++----------- tests/visual/position/position_flip.html | 22 ++++++------ tests/visual/position/position_flipfit.html | 28 +++++++-------- 3 files changed, 45 insertions(+), 45 deletions(-) diff --git a/tests/visual/position/position_fit.html b/tests/visual/position/position_fit.html index acb2672bc..a70423c79 100644 --- a/tests/visual/position/position_fit.html +++ b/tests/visual/position/position_fit.html @@ -16,8 +16,8 @@ $("ul").insertAfter(inputs); inputs.each(function(index) { $(this).position({ - my: $(this).data("position").replace(/-/, " "), - at: $(this).data("position").replace(/-/, " "), + my: $(this).data("position"), + at: $(this).data("position"), of: "#container"+index, collision: "none" }); @@ -113,25 +113,25 @@
- - - - - - - - - + + + + + + + + + - - - - - - - - - + + + + + + + + +