File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -108,6 +108,14 @@ if(typeof XDomainRequest === 'undefined') {
108
108
start ( ) ;
109
109
} ) ;
110
110
} ) ;
111
+
112
+
113
+ // A helper to make a predicate for a given array that checks whether it contains a given value:
114
+ function makePredicateContains ( arr ) {
115
+ return function ( val ) {
116
+ return arr . indexOf ( val ) !== - 1 ;
117
+ } ;
118
+ }
111
119
112
120
// Test simple GET CORS:
113
121
QUnit . asyncTest ( "GET CORS should be a simple request - without a preflight (#187)" , function ( ) {
@@ -241,11 +249,3 @@ if (__dirname !== '/') {
241
249
} ) ;
242
250
} ) ;
243
251
}
244
-
245
-
246
- // A helper to make a predicate for a given array that checks whether it contains a given value:
247
- function makePredicateContains ( arr ) {
248
- return function ( val ) {
249
- return arr . indexOf ( val ) !== - 1 ;
250
- }
251
- }
You can’t perform that action at this time.
0 commit comments