Skip to content

Commit 99bde27

Browse files
committed
chore: cleanup logs
1 parent a68982e commit 99bde27

File tree

4 files changed

+0
-4
lines changed

4 files changed

+0
-4
lines changed

src/ts/client/grapesjs/cms/DataSource.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,6 @@ export class EleventyDataSource implements IDataSource {
324324
}
325325

326326
fetchValues(query: string): Promise<unknown> {
327-
console.log('fetch', {query})
328327
throw new Error('not implemented yet')
329328
}
330329
}

src/ts/client/grapesjs/cms/buttons.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@ export default function(editor: Editor/*, opts: EleventyPluginOptions*/): void {
113113
function getPanelButtonEl(editor, panelId, selector) {
114114
const panel = editor.Panels.getPanel(panelId)
115115
if (!panel) return null
116-
console.log({panel, selector}, panel.view?.el, panel.view?.el?.querySelector(selector))
117116
return panel.view
118117
?.el
119118
?.querySelector(selector)

src/ts/client/grapesjs/project-bar.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ export const projectBarPlugin = (editor, opts) => {
8080
const previewButton = editor.Panels.getButton('options', 'preview')
8181
if (previewButton) {
8282
previewButton.on('change:active', (button, active) => {
83-
console.log({button, active, wasVisible})
8483
if (active) wasVisible = containerPanel.get('visible')
8584
else setTimeout(() => containerPanel.set('visible', wasVisible))
8685
})

src/ts/server/connectors/FsStorage.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ describe('FsStorage website', () => {
5050
expect(() => statSync(join(storageRootPath, id, WEBSITE_DATA_FILE))).not.toThrow()
5151
const content = readFileSync(join(storageRootPath, id, WEBSITE_DATA_FILE), 'utf8')
5252
const parsed = JSON.parse(content)
53-
console.log({parsed, content, EMPTY_WEBSITE})
5453
expect(parsed).toEqual(EMPTY_WEBSITE)
5554
})
5655
})

0 commit comments

Comments
 (0)