-
-
Notifications
You must be signed in to change notification settings - Fork 23
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
util.js: remove jquery and convert to typescript #4849
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, some minor changes requested in the comments.
The copy button code will probably be removed in this issue #4499. So no need to work on it further now
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No other remarks from me
This PR converts util.js to typescript and removes jquery (also removes jquery from copy.ts).
There are also slight changes/fixes in the tooltip for the clipboard copying used in copy.ts. It works the same as before the changes (with a slightly longer time because it was disappearing very quickly), though I think it can be improved/looked at a bit more (but maybe not in this PR).
Also util.ts is now renamed to utilities.ts because it was confusing imports of "util" with another module of the same name (so renamed to avoid generic names).
This is progress on #3590