@@ -10,11 +10,11 @@ test("aspectRatio: 'preserve' (e)", function() {
10
10
11
11
var handle = '.ui-resizable-e' , target = $ ( '#resizable1' ) . resizable ( { aspectRatio : 'preserve' , handles : 'all' , minWidth : 70 , minHeight : 50 , maxWidth : 150 , maxHeight : 130 } ) ;
12
12
13
- TestHelpers . resizableDrag ( handle , 80 ) ;
13
+ TestHelpers . resizable . drag ( handle , 80 ) ;
14
14
equal ( target . width ( ) , 130 , "compare maxWidth" ) ;
15
15
equal ( target . height ( ) , 130 , "compare maxHeight" ) ;
16
16
17
- TestHelpers . resizableDrag ( handle , - 130 ) ;
17
+ TestHelpers . resizable . drag ( handle , - 130 ) ;
18
18
equal ( target . width ( ) , 70 , "compare minWidth" ) ;
19
19
equal ( target . height ( ) , 70 , "compare minHeight" ) ;
20
20
} ) ;
@@ -24,11 +24,11 @@ test("aspectRatio: 'preserve' (w)", function() {
24
24
25
25
var handle = '.ui-resizable-w' , target = $ ( '#resizable1' ) . resizable ( { aspectRatio : 'preserve' , handles : 'all' , minWidth : 70 , minHeight : 50 , maxWidth : 150 , maxHeight : 130 } ) ;
26
26
27
- TestHelpers . resizableDrag ( handle , - 80 ) ;
27
+ TestHelpers . resizable . drag ( handle , - 80 ) ;
28
28
equal ( target . width ( ) , 130 , "compare maxWidth" ) ;
29
29
equal ( target . height ( ) , 130 , "compare maxHeight" ) ;
30
30
31
- TestHelpers . resizableDrag ( handle , 130 ) ;
31
+ TestHelpers . resizable . drag ( handle , 130 ) ;
32
32
equal ( target . width ( ) , 70 , "compare minWidth" ) ;
33
33
equal ( target . height ( ) , 70 , "compare minHeight" ) ;
34
34
} ) ;
@@ -38,11 +38,11 @@ test("aspectRatio: 'preserve' (n)", function() {
38
38
39
39
var handle = '.ui-resizable-n' , target = $ ( '#resizable1' ) . resizable ( { aspectRatio : 'preserve' , handles : 'all' , minWidth : 70 , minHeight : 50 , maxWidth : 150 , maxHeight : 130 } ) ;
40
40
41
- TestHelpers . resizableDrag ( handle , 0 , - 80 ) ;
41
+ TestHelpers . resizable . drag ( handle , 0 , - 80 ) ;
42
42
equal ( target . width ( ) , 130 , "compare maxWidth" ) ;
43
43
equal ( target . height ( ) , 130 , "compare maxHeight" ) ;
44
44
45
- TestHelpers . resizableDrag ( handle , 0 , 80 ) ;
45
+ TestHelpers . resizable . drag ( handle , 0 , 80 ) ;
46
46
equal ( target . width ( ) , 70 , "compare minWidth" ) ;
47
47
equal ( target . height ( ) , 70 , "compare minHeight" ) ;
48
48
} ) ;
@@ -52,11 +52,11 @@ test("aspectRatio: 'preserve' (s)", function() {
52
52
53
53
var handle = '.ui-resizable-s' , target = $ ( '#resizable1' ) . resizable ( { aspectRatio : 'preserve' , handles : 'all' , minWidth : 70 , minHeight : 50 , maxWidth : 150 , maxHeight : 130 } ) ;
54
54
55
- TestHelpers . resizableDrag ( handle , 0 , 80 ) ;
55
+ TestHelpers . resizable . drag ( handle , 0 , 80 ) ;
56
56
equal ( target . width ( ) , 130 , "compare maxWidth" ) ;
57
57
equal ( target . height ( ) , 130 , "compare maxHeight" ) ;
58
58
59
- TestHelpers . resizableDrag ( handle , 0 , - 80 ) ;
59
+ TestHelpers . resizable . drag ( handle , 0 , - 80 ) ;
60
60
equal ( target . width ( ) , 70 , "compare minWidth" ) ;
61
61
equal ( target . height ( ) , 70 , "compare minHeight" ) ;
62
62
} ) ;
@@ -66,11 +66,11 @@ test("aspectRatio: 'preserve' (se)", function() {
66
66
67
67
var handle = '.ui-resizable-se' , target = $ ( '#resizable1' ) . resizable ( { aspectRatio : 'preserve' , handles : 'all' , minWidth : 70 , minHeight : 50 , maxWidth : 150 , maxHeight : 130 } ) ;
68
68
69
- TestHelpers . resizableDrag ( handle , 80 , 80 ) ;
69
+ TestHelpers . resizable . drag ( handle , 80 , 80 ) ;
70
70
equal ( target . width ( ) , 130 , "compare maxWidth" ) ;
71
71
equal ( target . height ( ) , 130 , "compare maxHeight" ) ;
72
72
73
- TestHelpers . resizableDrag ( handle , - 80 , - 80 ) ;
73
+ TestHelpers . resizable . drag ( handle , - 80 , - 80 ) ;
74
74
equal ( target . width ( ) , 70 , "compare minWidth" ) ;
75
75
equal ( target . height ( ) , 70 , "compare minHeight" ) ;
76
76
} ) ;
@@ -80,11 +80,11 @@ test("aspectRatio: 'preserve' (sw)", function() {
80
80
81
81
var handle = '.ui-resizable-sw' , target = $ ( '#resizable1' ) . resizable ( { aspectRatio : 'preserve' , handles : 'all' , minWidth : 70 , minHeight : 50 , maxWidth : 150 , maxHeight : 130 } ) ;
82
82
83
- TestHelpers . resizableDrag ( handle , - 80 , 80 ) ;
83
+ TestHelpers . resizable . drag ( handle , - 80 , 80 ) ;
84
84
equal ( target . width ( ) , 130 , "compare maxWidth" ) ;
85
85
equal ( target . height ( ) , 130 , "compare maxHeight" ) ;
86
86
87
- TestHelpers . resizableDrag ( handle , 80 , - 80 ) ;
87
+ TestHelpers . resizable . drag ( handle , 80 , - 80 ) ;
88
88
equal ( target . width ( ) , 70 , "compare minWidth" ) ;
89
89
equal ( target . height ( ) , 70 , "compare minHeight" ) ;
90
90
} ) ;
@@ -94,11 +94,11 @@ test("aspectRatio: 'preserve' (ne)", function() {
94
94
95
95
var handle = '.ui-resizable-ne' , target = $ ( '#resizable1' ) . resizable ( { aspectRatio : 'preserve' , handles : 'all' , minWidth : 70 , minHeight : 50 , maxWidth : 150 , maxHeight : 130 } ) ;
96
96
97
- TestHelpers . resizableDrag ( handle , 80 , - 80 ) ;
97
+ TestHelpers . resizable . drag ( handle , 80 , - 80 ) ;
98
98
equal ( target . width ( ) , 130 , "compare maxWidth" ) ;
99
99
equal ( target . height ( ) , 130 , "compare maxHeight" ) ;
100
100
101
- TestHelpers . resizableDrag ( handle , - 80 , 80 ) ;
101
+ TestHelpers . resizable . drag ( handle , - 80 , 80 ) ;
102
102
equal ( target . width ( ) , 70 , "compare minWidth" ) ;
103
103
equal ( target . height ( ) , 70 , "compare minHeight" ) ;
104
104
} ) ;
@@ -108,11 +108,11 @@ test("grid", function() {
108
108
109
109
var handle = '.ui-resizable-se' , target = $ ( '#resizable1' ) . resizable ( { handles : 'all' , grid : [ 0 , 20 ] } ) ;
110
110
111
- TestHelpers . resizableDrag ( handle , 3 , 9 ) ;
111
+ TestHelpers . resizable . drag ( handle , 3 , 9 ) ;
112
112
equal ( target . width ( ) , 103 , "compare width" ) ;
113
113
equal ( target . height ( ) , 100 , "compare height" ) ;
114
114
115
- TestHelpers . resizableDrag ( handle , 15 , 11 ) ;
115
+ TestHelpers . resizable . drag ( handle , 15 , 11 ) ;
116
116
equal ( target . width ( ) , 118 , "compare width" ) ;
117
117
equal ( target . height ( ) , 120 , "compare height" ) ;
118
118
} ) ;
@@ -122,11 +122,11 @@ test("grid (wrapped)", function() {
122
122
123
123
var handle = '.ui-resizable-se' , target = $ ( '#resizable2' ) . resizable ( { handles : 'all' , grid : [ 0 , 20 ] } ) ;
124
124
125
- TestHelpers . resizableDrag ( handle , 3 , 9 ) ;
125
+ TestHelpers . resizable . drag ( handle , 3 , 9 ) ;
126
126
equal ( target . width ( ) , 103 , "compare width" ) ;
127
127
equal ( target . height ( ) , 100 , "compare height" ) ;
128
128
129
- TestHelpers . resizableDrag ( handle , 15 , 11 ) ;
129
+ TestHelpers . resizable . drag ( handle , 15 , 11 ) ;
130
130
equal ( target . width ( ) , 118 , "compare width" ) ;
131
131
equal ( target . height ( ) , 120 , "compare height" ) ;
132
132
} ) ;
@@ -136,11 +136,11 @@ test("ui-resizable-se { handles: 'all', minWidth: 60, minHeight: 60, maxWidth: 1
136
136
137
137
var handle = '.ui-resizable-se' , target = $ ( '#resizable1' ) . resizable ( { handles : 'all' , minWidth : 60 , minHeight : 60 , maxWidth : 100 , maxHeight : 100 } ) ;
138
138
139
- TestHelpers . resizableDrag ( handle , - 50 , - 50 ) ;
139
+ TestHelpers . resizable . drag ( handle , - 50 , - 50 ) ;
140
140
equal ( target . width ( ) , 60 , "compare minWidth" ) ;
141
141
equal ( target . height ( ) , 60 , "compare minHeight" ) ;
142
142
143
- TestHelpers . resizableDrag ( handle , 70 , 70 ) ;
143
+ TestHelpers . resizable . drag ( handle , 70 , 70 ) ;
144
144
equal ( target . width ( ) , 100 , "compare maxWidth" ) ;
145
145
equal ( target . height ( ) , 100 , "compare maxHeight" ) ;
146
146
} ) ;
@@ -150,11 +150,11 @@ test("ui-resizable-sw { handles: 'all', minWidth: 60, minHeight: 60, maxWidth: 1
150
150
151
151
var handle = '.ui-resizable-sw' , target = $ ( '#resizable1' ) . resizable ( { handles : 'all' , minWidth : 60 , minHeight : 60 , maxWidth : 100 , maxHeight : 100 } ) ;
152
152
153
- TestHelpers . resizableDrag ( handle , 50 , - 50 ) ;
153
+ TestHelpers . resizable . drag ( handle , 50 , - 50 ) ;
154
154
equal ( target . width ( ) , 60 , "compare minWidth" ) ;
155
155
equal ( target . height ( ) , 60 , "compare minHeight" ) ;
156
156
157
- TestHelpers . resizableDrag ( handle , - 70 , 70 ) ;
157
+ TestHelpers . resizable . drag ( handle , - 70 , 70 ) ;
158
158
equal ( target . width ( ) , 100 , "compare maxWidth" ) ;
159
159
equal ( target . height ( ) , 100 , "compare maxHeight" ) ;
160
160
} ) ;
@@ -164,11 +164,11 @@ test("ui-resizable-ne { handles: 'all', minWidth: 60, minHeight: 60, maxWidth: 1
164
164
165
165
var handle = '.ui-resizable-ne' , target = $ ( '#resizable1' ) . resizable ( { handles : 'all' , minWidth : 60 , minHeight : 60 , maxWidth : 100 , maxHeight : 100 } ) ;
166
166
167
- TestHelpers . resizableDrag ( handle , - 50 , 50 ) ;
167
+ TestHelpers . resizable . drag ( handle , - 50 , 50 ) ;
168
168
equal ( target . width ( ) , 60 , "compare minWidth" ) ;
169
169
equal ( target . height ( ) , 60 , "compare minHeight" ) ;
170
170
171
- TestHelpers . resizableDrag ( handle , 70 , - 70 ) ;
171
+ TestHelpers . resizable . drag ( handle , 70 , - 70 ) ;
172
172
equal ( target . width ( ) , 100 , "compare maxWidth" ) ;
173
173
equal ( target . height ( ) , 100 , "compare maxHeight" ) ;
174
174
} ) ;
@@ -178,11 +178,11 @@ test("ui-resizable-nw { handles: 'all', minWidth: 60, minHeight: 60, maxWidth: 1
178
178
179
179
var handle = '.ui-resizable-nw' , target = $ ( '#resizable1' ) . resizable ( { handles : 'all' , minWidth : 60 , minHeight : 60 , maxWidth : 100 , maxHeight : 100 } ) ;
180
180
181
- TestHelpers . resizableDrag ( handle , 70 , 70 ) ;
181
+ TestHelpers . resizable . drag ( handle , 70 , 70 ) ;
182
182
equal ( target . width ( ) , 60 , "compare minWidth" ) ;
183
183
equal ( target . height ( ) , 60 , "compare minHeight" ) ;
184
184
185
- TestHelpers . resizableDrag ( handle , - 70 , - 70 ) ;
185
+ TestHelpers . resizable . drag ( handle , - 70 , - 70 ) ;
186
186
equal ( target . width ( ) , 100 , "compare maxWidth" ) ;
187
187
equal ( target . height ( ) , 100 , "compare maxHeight" ) ;
188
188
} ) ;
0 commit comments