Skip to content

Commit

Permalink
Remove stopgap fix for feed display star images (#245)
Browse files Browse the repository at this point in the history
  • Loading branch information
howard-e authored Aug 1, 2023
1 parent 6c0eb0e commit 50e4ac7
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions scripts/pre-build/library/transformOtherAsset.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,6 @@ 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-' +",
"'src=\"../../../../../content-assets/wai-aria-practices/patterns/feed/examples/imgs/rating-' +"
)
}
return sourceContents;
};

Expand Down

0 comments on commit 50e4ac7

Please sign in to comment.