Skip to content

Commit

Permalink
rm logs
Browse files Browse the repository at this point in the history
  • Loading branch information
neSpecc committed Aug 30, 2024
1 parent 45c3f6b commit fb12400
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 2 additions & 2 deletions packages/core/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,13 @@ export default class Core {
});
}

this.#prepareUI();

this.#toolsManager.prepareTools()
.then(() => {
this.#inlineToolbar = new InlineToolbar(this.#model, this.#formattingAdapter, this.#toolsManager.inlineTools, this.#config.holder);
this.#iocContainer.set(InlineToolbar, this.#inlineToolbar);

this.#prepareUI();

this.#model.initializeDocument({ blocks });
})
.catch((error) => {
Expand Down
4 changes: 0 additions & 4 deletions packages/core/src/tools/ToolsManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,6 @@ export default class ToolsManager {
* @returns Promise<void>
*/
public async prepareTools(): Promise<void> {
console.log('prepare start');

const promiseQueue = new PromiseQueue();

const setToAvailableToolsCollection = (toolName: string, tool: ToolFacadeClass): void => {
Expand Down Expand Up @@ -183,8 +181,6 @@ export default class ToolsManager {
});

await promiseQueue.completed;

console.log('prepare end');
}

/**
Expand Down

0 comments on commit fb12400

Please sign in to comment.