@@ -10,11 +10,11 @@ test("aspectRatio: 'preserve' (e)", function() {
1010
1111 var handle = '.ui-resizable-e' , target = $ ( '#resizable1' ) . resizable ( { aspectRatio : 'preserve' , handles : 'all' , minWidth : 70 , minHeight : 50 , maxWidth : 150 , maxHeight : 130 } ) ;
1212
13- TestHelpers . resizableDrag ( handle , 80 ) ;
13+ TestHelpers . resizable . drag ( handle , 80 ) ;
1414 equal ( target . width ( ) , 130 , "compare maxWidth" ) ;
1515 equal ( target . height ( ) , 130 , "compare maxHeight" ) ;
1616
17- TestHelpers . resizableDrag ( handle , - 130 ) ;
17+ TestHelpers . resizable . drag ( handle , - 130 ) ;
1818 equal ( target . width ( ) , 70 , "compare minWidth" ) ;
1919 equal ( target . height ( ) , 70 , "compare minHeight" ) ;
2020} ) ;
@@ -24,11 +24,11 @@ test("aspectRatio: 'preserve' (w)", function() {
2424
2525 var handle = '.ui-resizable-w' , target = $ ( '#resizable1' ) . resizable ( { aspectRatio : 'preserve' , handles : 'all' , minWidth : 70 , minHeight : 50 , maxWidth : 150 , maxHeight : 130 } ) ;
2626
27- TestHelpers . resizableDrag ( handle , - 80 ) ;
27+ TestHelpers . resizable . drag ( handle , - 80 ) ;
2828 equal ( target . width ( ) , 130 , "compare maxWidth" ) ;
2929 equal ( target . height ( ) , 130 , "compare maxHeight" ) ;
3030
31- TestHelpers . resizableDrag ( handle , 130 ) ;
31+ TestHelpers . resizable . drag ( handle , 130 ) ;
3232 equal ( target . width ( ) , 70 , "compare minWidth" ) ;
3333 equal ( target . height ( ) , 70 , "compare minHeight" ) ;
3434} ) ;
@@ -38,11 +38,11 @@ test("aspectRatio: 'preserve' (n)", function() {
3838
3939 var handle = '.ui-resizable-n' , target = $ ( '#resizable1' ) . resizable ( { aspectRatio : 'preserve' , handles : 'all' , minWidth : 70 , minHeight : 50 , maxWidth : 150 , maxHeight : 130 } ) ;
4040
41- TestHelpers . resizableDrag ( handle , 0 , - 80 ) ;
41+ TestHelpers . resizable . drag ( handle , 0 , - 80 ) ;
4242 equal ( target . width ( ) , 130 , "compare maxWidth" ) ;
4343 equal ( target . height ( ) , 130 , "compare maxHeight" ) ;
4444
45- TestHelpers . resizableDrag ( handle , 0 , 80 ) ;
45+ TestHelpers . resizable . drag ( handle , 0 , 80 ) ;
4646 equal ( target . width ( ) , 70 , "compare minWidth" ) ;
4747 equal ( target . height ( ) , 70 , "compare minHeight" ) ;
4848} ) ;
@@ -52,11 +52,11 @@ test("aspectRatio: 'preserve' (s)", function() {
5252
5353 var handle = '.ui-resizable-s' , target = $ ( '#resizable1' ) . resizable ( { aspectRatio : 'preserve' , handles : 'all' , minWidth : 70 , minHeight : 50 , maxWidth : 150 , maxHeight : 130 } ) ;
5454
55- TestHelpers . resizableDrag ( handle , 0 , 80 ) ;
55+ TestHelpers . resizable . drag ( handle , 0 , 80 ) ;
5656 equal ( target . width ( ) , 130 , "compare maxWidth" ) ;
5757 equal ( target . height ( ) , 130 , "compare maxHeight" ) ;
5858
59- TestHelpers . resizableDrag ( handle , 0 , - 80 ) ;
59+ TestHelpers . resizable . drag ( handle , 0 , - 80 ) ;
6060 equal ( target . width ( ) , 70 , "compare minWidth" ) ;
6161 equal ( target . height ( ) , 70 , "compare minHeight" ) ;
6262} ) ;
@@ -66,11 +66,11 @@ test("aspectRatio: 'preserve' (se)", function() {
6666
6767 var handle = '.ui-resizable-se' , target = $ ( '#resizable1' ) . resizable ( { aspectRatio : 'preserve' , handles : 'all' , minWidth : 70 , minHeight : 50 , maxWidth : 150 , maxHeight : 130 } ) ;
6868
69- TestHelpers . resizableDrag ( handle , 80 , 80 ) ;
69+ TestHelpers . resizable . drag ( handle , 80 , 80 ) ;
7070 equal ( target . width ( ) , 130 , "compare maxWidth" ) ;
7171 equal ( target . height ( ) , 130 , "compare maxHeight" ) ;
7272
73- TestHelpers . resizableDrag ( handle , - 80 , - 80 ) ;
73+ TestHelpers . resizable . drag ( handle , - 80 , - 80 ) ;
7474 equal ( target . width ( ) , 70 , "compare minWidth" ) ;
7575 equal ( target . height ( ) , 70 , "compare minHeight" ) ;
7676} ) ;
@@ -80,11 +80,11 @@ test("aspectRatio: 'preserve' (sw)", function() {
8080
8181 var handle = '.ui-resizable-sw' , target = $ ( '#resizable1' ) . resizable ( { aspectRatio : 'preserve' , handles : 'all' , minWidth : 70 , minHeight : 50 , maxWidth : 150 , maxHeight : 130 } ) ;
8282
83- TestHelpers . resizableDrag ( handle , - 80 , 80 ) ;
83+ TestHelpers . resizable . drag ( handle , - 80 , 80 ) ;
8484 equal ( target . width ( ) , 130 , "compare maxWidth" ) ;
8585 equal ( target . height ( ) , 130 , "compare maxHeight" ) ;
8686
87- TestHelpers . resizableDrag ( handle , 80 , - 80 ) ;
87+ TestHelpers . resizable . drag ( handle , 80 , - 80 ) ;
8888 equal ( target . width ( ) , 70 , "compare minWidth" ) ;
8989 equal ( target . height ( ) , 70 , "compare minHeight" ) ;
9090} ) ;
@@ -94,11 +94,11 @@ test("aspectRatio: 'preserve' (ne)", function() {
9494
9595 var handle = '.ui-resizable-ne' , target = $ ( '#resizable1' ) . resizable ( { aspectRatio : 'preserve' , handles : 'all' , minWidth : 70 , minHeight : 50 , maxWidth : 150 , maxHeight : 130 } ) ;
9696
97- TestHelpers . resizableDrag ( handle , 80 , - 80 ) ;
97+ TestHelpers . resizable . drag ( handle , 80 , - 80 ) ;
9898 equal ( target . width ( ) , 130 , "compare maxWidth" ) ;
9999 equal ( target . height ( ) , 130 , "compare maxHeight" ) ;
100100
101- TestHelpers . resizableDrag ( handle , - 80 , 80 ) ;
101+ TestHelpers . resizable . drag ( handle , - 80 , 80 ) ;
102102 equal ( target . width ( ) , 70 , "compare minWidth" ) ;
103103 equal ( target . height ( ) , 70 , "compare minHeight" ) ;
104104} ) ;
@@ -108,11 +108,11 @@ test("grid", function() {
108108
109109 var handle = '.ui-resizable-se' , target = $ ( '#resizable1' ) . resizable ( { handles : 'all' , grid : [ 0 , 20 ] } ) ;
110110
111- TestHelpers . resizableDrag ( handle , 3 , 9 ) ;
111+ TestHelpers . resizable . drag ( handle , 3 , 9 ) ;
112112 equal ( target . width ( ) , 103 , "compare width" ) ;
113113 equal ( target . height ( ) , 100 , "compare height" ) ;
114114
115- TestHelpers . resizableDrag ( handle , 15 , 11 ) ;
115+ TestHelpers . resizable . drag ( handle , 15 , 11 ) ;
116116 equal ( target . width ( ) , 118 , "compare width" ) ;
117117 equal ( target . height ( ) , 120 , "compare height" ) ;
118118} ) ;
@@ -122,11 +122,11 @@ test("grid (wrapped)", function() {
122122
123123 var handle = '.ui-resizable-se' , target = $ ( '#resizable2' ) . resizable ( { handles : 'all' , grid : [ 0 , 20 ] } ) ;
124124
125- TestHelpers . resizableDrag ( handle , 3 , 9 ) ;
125+ TestHelpers . resizable . drag ( handle , 3 , 9 ) ;
126126 equal ( target . width ( ) , 103 , "compare width" ) ;
127127 equal ( target . height ( ) , 100 , "compare height" ) ;
128128
129- TestHelpers . resizableDrag ( handle , 15 , 11 ) ;
129+ TestHelpers . resizable . drag ( handle , 15 , 11 ) ;
130130 equal ( target . width ( ) , 118 , "compare width" ) ;
131131 equal ( target . height ( ) , 120 , "compare height" ) ;
132132} ) ;
@@ -136,11 +136,11 @@ test("ui-resizable-se { handles: 'all', minWidth: 60, minHeight: 60, maxWidth: 1
136136
137137 var handle = '.ui-resizable-se' , target = $ ( '#resizable1' ) . resizable ( { handles : 'all' , minWidth : 60 , minHeight : 60 , maxWidth : 100 , maxHeight : 100 } ) ;
138138
139- TestHelpers . resizableDrag ( handle , - 50 , - 50 ) ;
139+ TestHelpers . resizable . drag ( handle , - 50 , - 50 ) ;
140140 equal ( target . width ( ) , 60 , "compare minWidth" ) ;
141141 equal ( target . height ( ) , 60 , "compare minHeight" ) ;
142142
143- TestHelpers . resizableDrag ( handle , 70 , 70 ) ;
143+ TestHelpers . resizable . drag ( handle , 70 , 70 ) ;
144144 equal ( target . width ( ) , 100 , "compare maxWidth" ) ;
145145 equal ( target . height ( ) , 100 , "compare maxHeight" ) ;
146146} ) ;
@@ -150,11 +150,11 @@ test("ui-resizable-sw { handles: 'all', minWidth: 60, minHeight: 60, maxWidth: 1
150150
151151 var handle = '.ui-resizable-sw' , target = $ ( '#resizable1' ) . resizable ( { handles : 'all' , minWidth : 60 , minHeight : 60 , maxWidth : 100 , maxHeight : 100 } ) ;
152152
153- TestHelpers . resizableDrag ( handle , 50 , - 50 ) ;
153+ TestHelpers . resizable . drag ( handle , 50 , - 50 ) ;
154154 equal ( target . width ( ) , 60 , "compare minWidth" ) ;
155155 equal ( target . height ( ) , 60 , "compare minHeight" ) ;
156156
157- TestHelpers . resizableDrag ( handle , - 70 , 70 ) ;
157+ TestHelpers . resizable . drag ( handle , - 70 , 70 ) ;
158158 equal ( target . width ( ) , 100 , "compare maxWidth" ) ;
159159 equal ( target . height ( ) , 100 , "compare maxHeight" ) ;
160160} ) ;
@@ -164,11 +164,11 @@ test("ui-resizable-ne { handles: 'all', minWidth: 60, minHeight: 60, maxWidth: 1
164164
165165 var handle = '.ui-resizable-ne' , target = $ ( '#resizable1' ) . resizable ( { handles : 'all' , minWidth : 60 , minHeight : 60 , maxWidth : 100 , maxHeight : 100 } ) ;
166166
167- TestHelpers . resizableDrag ( handle , - 50 , 50 ) ;
167+ TestHelpers . resizable . drag ( handle , - 50 , 50 ) ;
168168 equal ( target . width ( ) , 60 , "compare minWidth" ) ;
169169 equal ( target . height ( ) , 60 , "compare minHeight" ) ;
170170
171- TestHelpers . resizableDrag ( handle , 70 , - 70 ) ;
171+ TestHelpers . resizable . drag ( handle , 70 , - 70 ) ;
172172 equal ( target . width ( ) , 100 , "compare maxWidth" ) ;
173173 equal ( target . height ( ) , 100 , "compare maxHeight" ) ;
174174} ) ;
@@ -178,11 +178,11 @@ test("ui-resizable-nw { handles: 'all', minWidth: 60, minHeight: 60, maxWidth: 1
178178
179179 var handle = '.ui-resizable-nw' , target = $ ( '#resizable1' ) . resizable ( { handles : 'all' , minWidth : 60 , minHeight : 60 , maxWidth : 100 , maxHeight : 100 } ) ;
180180
181- TestHelpers . resizableDrag ( handle , 70 , 70 ) ;
181+ TestHelpers . resizable . drag ( handle , 70 , 70 ) ;
182182 equal ( target . width ( ) , 60 , "compare minWidth" ) ;
183183 equal ( target . height ( ) , 60 , "compare minHeight" ) ;
184184
185- TestHelpers . resizableDrag ( handle , - 70 , - 70 ) ;
185+ TestHelpers . resizable . drag ( handle , - 70 , - 70 ) ;
186186 equal ( target . width ( ) , 100 , "compare maxWidth" ) ;
187187 equal ( target . height ( ) , 100 , "compare maxHeight" ) ;
188188} ) ;
0 commit comments