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

console (not only) #8

Closed
chdelfosse opened this issue Oct 14, 2021 · 9 comments
Closed

console (not only) #8

chdelfosse opened this issue Oct 14, 2021 · 9 comments
Assignees

Comments

@chdelfosse
Copy link

congratulations and thank you for this project

I wondered if an access to the user console would be possible,
as the only debug tool I see at present is to fire an alert()

also : disable-element() blocks silently when [erroneously] called on a div, could possibly be a no-op or yield a warning

@epeios-q37 epeios-q37 self-assigned this Oct 16, 2021
@epeios-q37
Copy link
Owner

Thanks! Glad you enjoy my toolkit.

I wondered if an access to the user console would be possible

I suppose you would be interested by the equivalent of the console.log(…) of JavaScript. Wouldn't it be better to use Python to write debugging messages in the console from which the application is launched?

disable-element() blocks silently when [erroneously] called on a div

I was not able to reproduce this issue. Here is the code used for testing: https://replit.com/@AtlasTK/DIVDisablingBlocks. Can you please provide an example, possibly by forking and modifying this Replit-hosted code accordingly?

@chdelfosse
Copy link
Author

chdelfosse commented Oct 17, 2021 via email

@chdelfosse
Copy link
Author

chdelfosse commented Oct 17, 2021 via email

@epeios-q37
Copy link
Owner

Glad to see that everything is working properly.

Concerning the printing on the JS console, it's not a big deal, so I will implement a dom.log() function in the next version of the Atlas toolkit.

Regards,

Claude.

@chdelfosse
Copy link
Author

chdelfosse commented Oct 19, 2021 via email

@epeios-q37
Copy link
Owner

A new version of the Atlas toolkit is available, which provides a log function. Simply call dom.log("message") from a callback, and message will be displayed in the web console.

Regards.

Claude.

@chdelfosse
Copy link
Author

chdelfosse commented Nov 9, 2021 via email

@chdelfosse
Copy link
Author

chdelfosse commented Dec 29, 2021 via email

@epeios-q37
Copy link
Owner

Pleased that it meets your expectations.
To make these messages easier to spot, the debugging messages from the toolkit itself have also been removed. So now only the messages from the browser itself remain.

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