mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 16:53:23 +02:00
Fix all lib/ files with ESLint rules with 0 errors.
This commit is contained in:
@@ -5,8 +5,8 @@ module.exports = function(raw) {
|
||||
|
||||
if (raw && (parsed = RE_CROP.exec(raw))) {
|
||||
return {
|
||||
width: +parsed[1] || 0
|
||||
, height: +parsed[2] || 0
|
||||
width: Number(parsed[1]) || 0
|
||||
, height: Number(parsed[2]) || 0
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user