Move all assets to assets directory
This commit is contained in:
parent
84bbbce9b9
commit
544cbfcb6a
22 changed files with 15 additions and 17 deletions
public/vendor/htmx-ext
16
public/vendor/htmx-ext/alpine-morph@1.9.12.js
vendored
16
public/vendor/htmx-ext/alpine-morph@1.9.12.js
vendored
|
@ -1,16 +0,0 @@
|
|||
htmx.defineExtension('alpine-morph', {
|
||||
isInlineSwap: function (swapStyle) {
|
||||
return swapStyle === 'morph';
|
||||
},
|
||||
handleSwap: function (swapStyle, target, fragment) {
|
||||
if (swapStyle === 'morph') {
|
||||
if (fragment.nodeType === Node.DOCUMENT_FRAGMENT_NODE) {
|
||||
Alpine.morph(target, fragment.firstElementChild);
|
||||
return [target];
|
||||
} else {
|
||||
Alpine.morph(target, fragment.outerHTML);
|
||||
return [target];
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue