Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add strict mode directives #1003

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

Fdawgs
Copy link
Contributor

@Fdawgs Fdawgs commented Feb 26, 2025

closes #1002

const { createWorker, PSM } = Tesseract;
let worker;
let workerLegacy;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Strict mode managed to shake out an undeclared variable.

@Fdawgs Fdawgs changed the title Add strict mode directive Add strict mode directives Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enable strict mode for better performance
1 participant