From dc1f49a20a1fea014994259a5dca645532f73fb5 Mon Sep 17 00:00:00 2001 From: krassowski <5832902+krassowski@users.noreply.github.com> Date: Wed, 7 Aug 2024 14:05:05 +0100 Subject: [PATCH] Use camelCase to satisfy the linter --- javascript/src/ycell.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/javascript/src/ycell.ts b/javascript/src/ycell.ts index c6cc221..381fd3b 100644 --- a/javascript/src/ycell.ts +++ b/javascript/src/ycell.ts @@ -752,10 +752,10 @@ export class YCodeCell /** * The code cell's execution state. */ - get execution_state(): 'running' | 'idle' { + get executionState(): 'running' | 'idle' { return this.ymodel.get('execution_state') ?? 'idle'; } - set execution_state(state: 'running' | 'idle') { + set executionState(state: 'running' | 'idle') { if (this.ymodel.get('execution_state') !== state) { this.transact(() => { this.ymodel.set('execution_state', state);