File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,13 @@ var makeFixture = function(XHR){
23
23
} ;
24
24
} ;
25
25
26
+ // A helper to make a predicate for a given array that checks whether it contains a given value:
27
+ var makePredicateContains = function ( arr ) {
28
+ return function ( val ) {
29
+ return arr . indexOf ( val ) !== - 1 ;
30
+ } ;
31
+ } ;
32
+
26
33
27
34
28
35
if ( __dirname !== '/' ) {
@@ -108,14 +115,6 @@ if(typeof XDomainRequest === 'undefined') {
108
115
start ( ) ;
109
116
} ) ;
110
117
} ) ;
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
- }
119
118
120
119
// Test simple GET CORS:
121
120
QUnit . asyncTest ( "GET CORS should be a simple request - without a preflight (#187)" , function ( ) {
You can’t perform that action at this time.
0 commit comments