Skip to content

Commit

Permalink
BlockMediator unexported
Browse files Browse the repository at this point in the history
  • Loading branch information
qiyundai committed Sep 26, 2024
1 parent 8b8ff79 commit e6c73e6
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/* eslint-disable no-unused-vars */
import { getSeries } from '../../../scripts/esp-controller.js';
import { LIBS, BlockMediator } from '../../../scripts/scripts.js';
import BlockMediator from '../../../scripts/deps/block-mediator.min.js';
import { LIBS } from '../../../scripts/scripts.js';
import { changeInputValue } from '../../../scripts/utils.js';

const { createTag } = await import(`${LIBS}/utils/utils.js`);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
/* eslint-disable no-unused-vars */
/* eslint-disable no-use-before-define */
import { getEvents } from '../../../scripts/esp-controller.js';
import { BlockMediator, LIBS } from '../../../scripts/scripts.js';
import BlockMediator from '../../../scripts/deps/block-mediator.min.js';
import { LIBS } from '../../../scripts/scripts.js';
import { changeInputValue } from '../../../scripts/utils.js';

const { createTag, getConfig } = await import(`${LIBS}/utils/utils.js`);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/* eslint-disable no-unused-vars */
import { createVenue, replaceVenue } from '../../../scripts/esp-controller.js';
import { BlockMediator, ECC_ENV } from '../../../scripts/scripts.js';
import BlockMediator from '../../../scripts/deps/block-mediator.min.js';
import { ECC_ENV } from '../../../scripts/scripts.js';
import { changeInputValue, getSecret } from '../../../scripts/utils.js';
import { buildErrorMessage } from '../form-handler.js';

Expand Down
2 changes: 0 additions & 2 deletions ecc/scripts/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,6 @@ export const LIBS = (() => {
return branch.includes('--') ? `https://${branch}.hlx.live/libs` : `https://${branch}--milo--adobecom.hlx.live/libs`;
})();

export const BlockMediator = await import('./deps/block-mediator.min.js').then((mod) => mod.default);

(function loadStyles() {
const paths = [`${LIBS}/styles/styles.css`];
if (STYLES) { paths.push(STYLES); }
Expand Down
2 changes: 1 addition & 1 deletion ecc/styles/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
--spectrum-color-gray-400: #A1A1A1;
--spectrum-color-gray-500: #909090;
--spectrum-color-gray-600: #686868;
--spectrum-color-gray-700: #444444;
--spectrum-color-gray-700: #444;
--spectrum-color-gray-800: #242424;
--spectrum-color-text: #2C2C2C;
}
Expand Down

0 comments on commit e6c73e6

Please sign in to comment.