-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dm-4256 refactor practice card img placeholders for pagebuilder show …
…and facility show (#723) * move `#replaceImagePlaceholders` methods to `_practice_card_utilities` refactors to be more readable, removes argument as it will always be the same for practice cards * add include tags for `practice_card_utilities` and `signed_resource` * add invocation of `replaceImagePlaceholders` where practice cards have been loaded * edit `practice_card.html.erb` to always render placeholder * edit invocation of `#replaceImagePlaceholders` to no longer use argument * edit `#buildPracticeCard` function to include `data-practice-name` in `practice-card-img-placeholder` div remove `#replaceImagePlaceholders`, `#replacePlaceholderWithImage`, and `#loadImage` functions update invocation of `#replaceImagePlaceholders` to no longer use argument edit invocation of `#replaceImagePlaceholders` to no longer use argument * refactor `#replacePlaceholderWithImage` function as per CodeQl warning: "DOM text reinterpreted as HTML" * add explicit export of function as per CodeQl warning: "Unused function"
- Loading branch information
1 parent
f916d99
commit 298a716
Showing
10 changed files
with
68 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters