Skip to content

Commit 1689800

Browse files
committed
fixing jslint
1 parent 2035bb8 commit 1689800

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

ajax-test.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,14 @@ if(typeof XDomainRequest === 'undefined') {
108108
start();
109109
});
110110
});
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+
}
111119

112120
// Test simple GET CORS:
113121
QUnit.asyncTest("GET CORS should be a simple request - without a preflight (#187)", function () {
@@ -241,11 +249,3 @@ if (__dirname !== '/') {
241249
});
242250
});
243251
}
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-
}

0 commit comments

Comments
 (0)