mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 08:03:30 +02:00
Fix all lib/ files with ESLint rules with 0 errors.
This commit is contained in:
@@ -51,8 +51,17 @@ module.exports = syrup.serial()
|
||||
|
||||
function compareIgnoreCase(a, b) {
|
||||
var la = (a || '').toLowerCase()
|
||||
, lb = (b || '').toLowerCase()
|
||||
return la === lb ? 0 : (la < lb ? -1 : 1)
|
||||
var lb = (b || '').toLowerCase()
|
||||
|
||||
if (la === lb) {
|
||||
return 0
|
||||
}
|
||||
else if (la < lb) {
|
||||
return -1
|
||||
}
|
||||
else {
|
||||
return 1
|
||||
}
|
||||
}
|
||||
|
||||
function updateBrowsers(data) {
|
||||
|
||||
Reference in New Issue
Block a user