From 50e4ac7b68166dd2c5a4306580f5db51299b749f Mon Sep 17 00:00:00 2001 From: Howard Edwards Date: Tue, 1 Aug 2023 13:12:32 -0400 Subject: [PATCH] Remove stopgap fix for feed display star images (#245) --- scripts/pre-build/library/transformOtherAsset.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/scripts/pre-build/library/transformOtherAsset.js b/scripts/pre-build/library/transformOtherAsset.js index fdbb8ad11..296f038fa 100644 --- a/scripts/pre-build/library/transformOtherAsset.js +++ b/scripts/pre-build/library/transformOtherAsset.js @@ -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; };