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

All the words are marked false #81

Open
mylesshie opened this issue Oct 9, 2023 · 1 comment
Open

All the words are marked false #81

mylesshie opened this issue Oct 9, 2023 · 1 comment

Comments

@mylesshie
Copy link

In my React App, I use it like this:

var Typo = require("typo-js");
var dictionary = new Typo("en_US", false, false, { dictionaryPath: "typo-js/dictionaries" });

the borwser can load en_us files correctly, but when I use dictionary.check(), all the words return the false.

@JGuardiola95
Copy link

In my case, the browser did not load the files correctly. So I copied the library dictionaries to the public directory and it's working correctly now

const dictionary = new Typo("en_US");

image

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

No branches or pull requests

2 participants