-
-
Notifications
You must be signed in to change notification settings - Fork 533
Aphrodite JSS deprecation #559
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
Aphrodite JSS deprecation #559
Conversation
…it into the tooltip constructor
You're close on the commit message format, but not quite 😄 |
Argh, supposed to be the easiest part! Fixed. |
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.
I have only few changes. Also thanks for looking for this solution.
src/utils/uuid.js
Outdated
*/ | ||
|
||
export function generateUUID(){ | ||
var dt = new Date().getTime(); |
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.
this could be replace by a let variable
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.
Addressed
src/utils/uuid.js
Outdated
var dt = new Date().getTime(); | ||
|
||
var uuid = "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, (c) => { | ||
var r = (dt + Math.random()*16)%16 | 0; |
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.
r should be const
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.
Addressed
src/utils/uuid.js
Outdated
export function generateUUID(){ | ||
var dt = new Date().getTime(); | ||
|
||
var uuid = "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, (c) => { |
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.
should be let variable
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.
Addressed
Additionally, added the no-var eslint rule that prevents the further contributors from using var instead of const or let. |
🎉 This PR is included in version 4.0.5 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 4.1.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Hi @Rogger794,
I have replaced the *aphrodite-jss implementation with a custom styling solution that does not require any external dependencies.
Tested locally and with the gh-pages branch, works correctly.
The unit tests have been updated accordingly.
No changes in workflows or documentation.
Thank you for your time and have a wonderful day.