Enable curly and block-spacing eslint rules

This commit is contained in:
Quincy Morgan
2020-11-10 14:19:11 -05:00
parent d247ec3aed
commit ba48a861bc
24 changed files with 138 additions and 107 deletions
+1 -2
View File
@@ -365,8 +365,7 @@ export function utilPrefixDOMProperty(property) {
var n = prefixes.length;
var s = document.body;
if (property in s)
return property;
if (property in s) return property;
property = property.substr(0, 1).toUpperCase() + property.substr(1);