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

Printing to console from within a module #60

Open
elshor opened this issue Mar 20, 2018 · 0 comments
Open

Printing to console from within a module #60

elshor opened this issue Mar 20, 2018 · 0 comments

Comments

@elshor
Copy link

elshor commented Mar 20, 2018

I tried to call a module from the kernel that prints to console.log. The expected text did not show in the notebook. I also need to use the display function but it is not accessible from within the module.

Here is the code of the module:

module.exports = function(){console.log('should print this');return 44;};

The output is 44 without printing the text "should print this".

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

1 participant