chore: add trailingComma

This commit is contained in:
陈嘉涵
2020-01-19 11:57:09 +08:00
parent e841175fe8
commit 389d68884d
269 changed files with 2706 additions and 2702 deletions

View File

@@ -5,28 +5,28 @@ function mockHTMLElementOffset() {
offsetParent: {
get() {
return this.parentNode || {};
}
},
},
offsetLeft: {
get() {
return parseFloat(window.getComputedStyle(this).marginLeft) || 0;
}
},
},
offsetTop: {
get() {
return parseFloat(window.getComputedStyle(this).marginTop) || 0;
}
},
},
offsetHeight: {
get() {
return parseFloat(window.getComputedStyle(this).height) || 0;
}
},
},
offsetWidth: {
get() {
return parseFloat(window.getComputedStyle(this).width) || 0;
}
}
},
},
});
}