Skip to content

Commit d61b3a4

Browse files
committed
jslint
1 parent 1689800 commit d61b3a4

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

ajax-test.js

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,13 @@ var makeFixture = function(XHR){
2323
};
2424
};
2525

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+
2633

2734

2835
if (__dirname !== '/') {
@@ -108,14 +115,6 @@ if(typeof XDomainRequest === 'undefined') {
108115
start();
109116
});
110117
});
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-
}
119118

120119
// Test simple GET CORS:
121120
QUnit.asyncTest("GET CORS should be a simple request - without a preflight (#187)", function () {

0 commit comments

Comments
 (0)