Skip to content

Commit

Permalink
Some cleanup, additional tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonHowellSlavin committed Aug 26, 2024
1 parent fbed148 commit 8bb100e
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions head.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,9 @@
return branch.includes('--') ? `https://${branch}.hlx.live/libs` : `https://${branch}--milo--adobecom.hlx.live/libs`;
})();

console.log('libs', libs);
const miloStyles = document.querySelector('#milo-stylesheet');
miloStyles.setAttribute('href', `${libs}/styles/styles.css`);
const miloUtils = document.querySelector('#milo-utils');
miloUtils.setAttribute('href', `${libs}/utils/utils.js`);
const miloDecorate = document.querySelector('#milo-decorate');
miloDecorate.setAttribute('href', `${libs}/utils/decorate.js`);
console.log(miloStyles, miloDecorate, miloUtils)
document.querySelector('#milo-stylesheet').setAttribute('href', `${libs}/styles/styles.css`);
document.querySelector('#milo-utils').setAttribute('href', `${libs}/utils/utils.js`);
document.querySelector('#milo-decorate').setAttribute('href', `${libs}/utils/decorate.js`);
</script>
<script src="/scripts/scripts.js" type="module"></script>
<style>body { display: none; }</style>
Expand Down

0 comments on commit 8bb100e

Please sign in to comment.