Skip to content

Commit 992f760

Browse files
committed
refactor: use the standard function syntax instead of the shorthand
1 parent 824a12d commit 992f760

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/LiveDevelopment/BrowserScripts/RemoteFunctions.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4298,7 +4298,7 @@ function RemoteFunctions(config = {}) {
42984298
}
42994299

43004300
RulerLines.prototype = {
4301-
create() {
4301+
create: function() {
43024302
const body = document.body;
43034303

43044304
const makeDiv = () => {
@@ -4340,7 +4340,7 @@ function RemoteFunctions(config = {}) {
43404340
}
43414341
},
43424342

4343-
update() {
4343+
update: function() {
43444344
if (!this.element) { return; }
43454345

43464346
const rect = this.element.getBoundingClientRect();
@@ -4400,7 +4400,7 @@ function RemoteFunctions(config = {}) {
44004400
this.labelElements.bottom.style.top = edges.bottom + "px";
44014401
},
44024402

4403-
remove() {
4403+
remove: function() {
44044404
const body = document.body;
44054405

44064406
for (const side of this.sides) {

0 commit comments

Comments
 (0)