mirror of
https://github.com/youzan/vant.git
synced 2025-12-24 02:02:09 +08:00
chore: add trailingComma
This commit is contained in:
12
test/dom.ts
12
test/dom.ts
@@ -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;
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user