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
perfStart and perfStop breaking code in the browser #36
Comments
I'm having the same issue. At first I thought this is not compatible with browsers (because even the name sid I'd personally think, having Unfortunately, this was the only library perfece for my needs as it allowed easy customization for the Markdown output. Sadly, it seems this PR will take time. :( |
Should removed by https://github.com/crosstype/node-html-markdown/blob/master/transformer.js. Maybe not working Edit: Only removed the invoke |
For now can use |
Very sorry for the delay on this! My backlog was overloaded and I didn't catch this. Thanks @SettingDust for the PR. Merged |
This error is still in the code and still persists |
+1, still broken. |
The usage of
process.env.LOG_PERF
on lines 214 and 218 of utilities.ts is causing an exception whentranslate()
is called within the browser.I have had luck using the following patten to make code work across node and browser contexts:
I can create a PR to add this. Is this desirable?
The text was updated successfully, but these errors were encountered: