-
Notifications
You must be signed in to change notification settings - Fork 149
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
Refactor Sisyphus to ts and drop unnecessary functionality #2377
Conversation
(cherry picked from commit 977a4ae)
781b949
to
5421931
Compare
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.
In addition to the ESLint errors, there is also some jQuery left, is there anything holding us back from porting it to DOM apis?
Fixed. |
3a1d1c4
to
559083b
Compare
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.
Final comments:
if (this.options.name) { | ||
this.href = this.options.name; | ||
} else { | ||
this.href = location.hostname + location.pathname; | ||
} |
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.
So should we just rename AutoFormSaverOptions.name
to href
and make location.hostname + location.pathname
the default?
c97cc96
to
1a94a9a
Compare
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.
Very cool, thanks!
1a94a9a
to
5baee13
Compare
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.
Bye Sisyphos 👋
Close #2371