Skip to content

Commit c1832c0

Browse files
committed
Remove redundant code comments,
as repeatedly complaining that React does not follow ECMA standards, and produces JS instead of HTML, does not bring much value. To partially address #897 (comment)
1 parent c5de2c3 commit c1832c0

File tree

6 files changed

+0
-18
lines changed
  • js/src

6 files changed

+0
-18
lines changed

js/src/components/account-card/index.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ import './index.scss';
1414

1515
/**
1616
* Full URL to the Google G logo image.
17-
* Preferably we would inline it into HTML to reduce the bundle size.
18-
*
19-
* Unfortunately, React does not support `import.meta`, so we need to hardcode the module path.
2017
*/
2118
const googleLogoURL =
2219
glaData.assetsURL + 'js/src/components/account-card/gogole-g-logo.svg';

js/src/components/free-listings/configure-product-listings/hero/index.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ import './index.scss';
1212

1313
/**
1414
* Full URL to the hero image.
15-
* Preferably we would inline it into HTML to reduce the bundle size.
16-
*
17-
* Unfortunately, React does not support `import.meta`, so we need to hardcode the module path.
1815
*/
1916
const heroImageURL =
2017
glaData.assetsURL +

js/src/dashboard/campaign-creation-success-guide/index.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@ const CTA_CREATE_ANOTHER_CAMPAIGN = 'create-another-campaign';
2323

2424
/**
2525
* Full URL to the header image.
26-
* Preferably we would inline it into HTML to reduce the bundle size.
27-
*
28-
* Unfortunately, React does not support `import.meta`, so we need to hardcode the module path.
2926
*/
3027
const headerImageURL =
3128
glaData.assetsURL +

js/src/get-started-page/features-card/index.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ import './index.scss';
1717

1818
/**
1919
* Full URL to the feature images folder.
20-
* Preferably we would inline it into HTML to reduce the bundle size.
21-
*
22-
* Unfortunately, React does not support `import.meta`, so we need to hardcode the module path.
2320
*/
2421
const imagesURL = glaData.assetsURL + 'js/src/get-started-page/features-card/';
2522

js/src/get-started-page/get-started-card/index.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ import AppButton from '.~/components/app-button';
2222

2323
/**
2424
* Full URL to the header image.
25-
* Preferably we would inline it into HTML to reduce the bundle size.
26-
*
27-
* Unfortunately, React does not support `import.meta`, so we need to hardcode the module path.
2825
*/
2926
const motivationImageURL =
3027
glaData.assetsURL + 'js/src/get-started-page/get-started-card/image.svg';

js/src/product-feed/submission-success-guide/index.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@ const LATER_BUTTON_CLASS = 'components-guide__finish-button';
2828

2929
/**
3030
* Full URL to the logo images.
31-
* Preferably we would inline it into HTML to reduce the bundle size.
32-
*
33-
* Unfortunately, React does not support `import.meta`, so we need to hardcode the module path.
3431
*/
3532
const wooLogoURL =
3633
glaData.assetsURL +

0 commit comments

Comments
 (0)