Skip to content

Commit

Permalink
fix: linting code style fixes to typescript files
Browse files Browse the repository at this point in the history
Signed-off-by: Jonas <jonas@freesources.org>
  • Loading branch information
mejo- authored and juliusknorr committed Dec 13, 2024
1 parent ddf3814 commit e8da521
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
8 changes: 7 additions & 1 deletion cypress/e2e/nodes/Links.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,13 @@ describe('test link marks', function() {

describe('link bubble', function() {

function clickLink(link, options = {}) {
/**
* Find link and click on it
*
* @param {string} link The link URL
* @param {object|null} options the click options
*/
const clickLink = (link, options = {}) => {
cy.getContent()
.find(`a[href*="${link}"]`)
.click(options)
Expand Down
2 changes: 1 addition & 1 deletion src/components/Editor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ import {
import ReadonlyBar from './Menu/ReadonlyBar.vue'

import { logger } from '../helpers/logger.js'
import { getDocumentState, applyDocumentState } from '../helpers/yjs.js'
import { getDocumentState } from '../helpers/yjs.js'
import { SyncService, ERROR_TYPE, IDLE_TIMEOUT } from './../services/SyncService.js'
import SessionApi from '../services/SessionApi.js'
import createSyncServiceProvider from './../services/SyncServiceProvider.js'
Expand Down
3 changes: 2 additions & 1 deletion src/services/Outbox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ type Sendable = {
}

export default class Outbox {

#awarenessUpdate = ''
#syncUpdate = ''
#syncQuery = ''
Expand All @@ -33,7 +34,7 @@ export default class Outbox {
}

getDataToSend(): Sendable {
return {
return {
steps: [this.#syncUpdate, this.#syncQuery].filter(s => s),
awareness: this.#awarenessUpdate,
}
Expand Down

0 comments on commit e8da521

Please sign in to comment.