Skip to content

Commit

Permalink
Revert "MWPW-138748 Moving Folders to avoid Namespace Collision (#25)" (
Browse files Browse the repository at this point in the history
#26)

This reverts commit 82acdcc.
  • Loading branch information
JasonHowellSlavin authored Nov 7, 2023
1 parent 82acdcc commit 05db28e
Show file tree
Hide file tree
Showing 9 changed files with 5 additions and 7 deletions.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions head.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<script src="/bacom-blog/scripts/fallback.js" nomodule></script>
<script src="/bacom-blog/scripts/scripts.js" type="module"></script>
<script src="/scripts/fallback.js" nomodule></script>
<script src="/scripts/scripts.js" type="module"></script>
<style>body { display: none; }</style>
<link rel="icon" href="data:,">
2 changes: 0 additions & 2 deletions bacom-blog/scripts/fallback.js → scripts/fallback.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/* eslint-disable */

var div = document.createElement('div');
div.style.width = '100%';
div.style.position = 'absolute';
Expand Down
2 changes: 1 addition & 1 deletion bacom-blog/scripts/scripts.js → scripts/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import { setLibs, buildAutoBlocks } from './utils.js';

// Add project-wide style path here.
const STYLES = '/bacom-blog/styles/styles.css';
const STYLES = '/styles/styles.css';

// Use '/libs' if your live site maps '/libs' to milo's origin.
const LIBS = '/libs';
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion test/blocks/language-menu/language-menu.test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { expect } from '@esm-bundle/chai';
import { readFile } from '@web/test-runner-commands';

const { default: init } = await import('../../../bacom-blog/blocks/language-menu/language-menu.js');
const { default: init } = await import('../../../blocks/language-menu/language-menu.js');

describe('Language Menu', () => {
it('closes on Escape', async () => {
Expand Down
2 changes: 1 addition & 1 deletion test/scripts/utils.test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { expect } from '@esm-bundle/chai';
import { readFile } from '@web/test-runner-commands';
import sinon from 'sinon';
import { setLibs, buildAutoBlocks } from '../../bacom-blog/scripts/utils.js';
import { setLibs, buildAutoBlocks } from '../../scripts/utils.js';

describe('Libs', () => {
it('Default Libs', () => {
Expand Down

0 comments on commit 05db28e

Please sign in to comment.