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

Unable to disable logging of html2Canvas #1421

Closed
LanderBeeuwsaert opened this issue Jan 29, 2018 · 1 comment
Closed

Unable to disable logging of html2Canvas #1421

LanderBeeuwsaert opened this issue Jan 29, 2018 · 1 comment

Comments

@LanderBeeuwsaert
Copy link

Newest version of html2canvas ("html2canvas": "^1.0.0-alpha.9")
Whenever I use html2canvas in it's promiselike version, I get in my logging:
html2canvas $npm_package_version

in the code I see:
// eslint-disable-next-line no-console
if ((typeof console === 'undefined' ? 'undefined' : _typeof(console)) === 'object' && typeof console.log === 'function') {
// eslint-disable-next-line no-console
console.log('html2canvas ' + "$npm_package_version");

I suppose this is a bug? That these lines should have been disabled then?

@brunodesde1987
Copy link

I had this same problem and I resolved after commenting on this line:
console.log('html2canvas ' + "$npm_package_version");

Really weird stuff

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