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

Implement modal.onFailure without using jquery #2591

Merged
merged 1 commit into from
Dec 10, 2021
Merged

Conversation

jcoyne
Copy link
Member

@jcoyne jcoyne commented Dec 9, 2021

No description provided.

@jcoyne jcoyne force-pushed the onFailure-no-jquery branch 2 times, most recently from 7f8b95a to 4119ccf Compare December 9, 2021 19:27
Comment on lines 342 to 344
// const domparser = new DOMParser();
// const dom = domparser.parseFromString(contents, "text/html")
// const nodes = dom.querySelectorAll('body > *')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jcoyne is this left here for documentation purposes?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, this is cruft. I'll pull it.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The files in app/assets/javascript are just compiled versions (using npm run js-compile-bundle) of what is in app/javascript. In this instance I didn't recompile after changing src.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I recompiled and pushed the results up. That had the effect of removing these old comments.

@jcoyne jcoyne merged commit 6e041e2 into main Dec 10, 2021
@jcoyne jcoyne deleted the onFailure-no-jquery branch December 10, 2021 16:53
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

Successfully merging this pull request may close these issues.

None yet

2 participants