Skip to content

Commit

Permalink
Use camelCase to satisfy the linter
Browse files Browse the repository at this point in the history
  • Loading branch information
krassowski committed Aug 7, 2024
1 parent 8f75a27 commit dc1f49a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions javascript/src/ycell.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit dc1f49a

Please sign in to comment.