Skip to content

Commit

Permalink
Add comment about the transform being temporary and link to GH issue
Browse files Browse the repository at this point in the history
  • Loading branch information
howard-e committed Jun 6, 2023
1 parent d397d3b commit ce46b1a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/pre-build/library/transformOtherAsset.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ const transformAsset = async (sourcePath, sourceContents) => {
"displayOption: 'popup', // Line edited by pre-build script"
);
}
// TODO: This transform is temporary. See https://github.com/w3c/wai-aria-practices/issues/225
if (sourcePath.endsWith("content/patterns/feed/examples/js/feedDisplay.js")) {
return sourceContents.replace(
"'src=\"imgs/rating-' +",
Expand Down

0 comments on commit ce46b1a

Please sign in to comment.