mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-20 12:55:26 +02:00
Fix all res/ files with ESLint rules with 0 errors.
This commit is contained in:
@@ -4,7 +4,7 @@ module.exports = function VendorUtilFactory() {
|
||||
vendorUtil.style = function(props) {
|
||||
var testee = document.createElement('span')
|
||||
for (var i = 0, l = props.length; i < l; ++i) {
|
||||
if (testee.style[props[i]] !== void 0) {
|
||||
if (typeof testee.style[props[i]] !== 'undefined') {
|
||||
return props[i]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user