mnater / Hyphenopoly

Hyphenation for node and Polyfill for client-side hyphenation.
http://mnater.github.io/Hyphenopoly/
MIT License
694 stars 44 forks source link

Hyphenopoly only emits the first error #112

Closed mnater closed 4 years ago

mnater commented 4 years ago

If there are multiple errors (e.g. multiple required languages that are not used on the webpage) only the first error is printed to the console.

(The same issue would probably occur with other events).

mnater commented 4 years ago

The problem is, that promises can only fullfill once and are then settled (What I didn't realize when I implemented it. I'm always learning new things :-)

So I'll need to move back to the preceding event implementation...