Made spacing style consistent.

This commit is contained in:
Matthew Brennan Jones 2015-08-02 12:22:31 -07:00
parent 6bd0af2a06
commit 648da22b50

View File

@ -1640,13 +1640,13 @@ cache(function(data, match, sendBadge, request) {
}
}
['2', '3'].forEach(function(version) {
if (versions.some(function(element, index, array) { return new RegExp('^' + version + '\\.\\d$').exec(element); })) {
versions.forEach(function(element, index, array) {
if (element === version) {
array.splice(index, 1);
}
});
}
if (versions.some(function(element, index, array) { return new RegExp('^' + version + '\\.\\d$').exec(element); })) {
versions.forEach(function(element, index, array) {
if (element === version) {
array.splice(index, 1);
}
});
}
});
if (!versions.length) {
versions.push('not found');