Skip to content

Commit d1d7574

Browse files
author
Fergus Bisset
committed
chore(release): 0.0.44-alpha.4
1 parent 9da9dd2 commit d1d7574

File tree

11 files changed

+224
-229
lines changed

11 files changed

+224
-229
lines changed

dist/index.esm.js

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3406,6 +3406,7 @@ function tu(e, { variant: t, isClient: r, brand: o }) {
34063406
/* @__PURE__ */ n.jsx(
34073407
"script",
34083408
{
3409+
type: "module",
34093410
dangerouslySetInnerHTML: {
34103411
__html: `
34113412
(function() {
@@ -3420,17 +3421,15 @@ function tu(e, { variant: t, isClient: r, brand: o }) {
34203421
// Wait for DOM ready and behaviour module to be available
34213422
function initHeader() {
34223423
// Dynamic import for behaviour module
3423-
if (typeof import !== 'undefined') {
3424-
import('/dist/behaviours/headerBehaviour.js')
3425-
.then(function(mod) {
3426-
if (mod && mod.initHeaders) {
3427-
mod.initHeaders(header);
3428-
}
3429-
})
3430-
.catch(function(err) {
3431-
console.warn('Failed to initialize header behaviour:', err);
3432-
});
3433-
}
3424+
import('/dist/behaviours/headerBehaviour.js')
3425+
.then(function(mod) {
3426+
if (mod && mod.initHeaders) {
3427+
mod.initHeaders(header);
3428+
}
3429+
})
3430+
.catch(function(err) {
3431+
console.warn('Failed to initialize header behaviour:', err);
3432+
});
34343433
}
34353434

34363435
// Initialize after DOM is ready

dist/index.esm.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.umd.js

Lines changed: 10 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.umd.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)