From 71286b9064e802c832ce9fa5fe68c38d9215faf6 Mon Sep 17 00:00:00 2001 From: "Daniel J. Summers" Date: Tue, 2 Jan 2024 19:26:09 -0500 Subject: [PATCH] Move FSharp.Core version to .fsproj files - Change event DU to struct --- src/Common/Giraffe.Htmx.Common.fsproj | 4 ++++ src/Directory.Build.props | 7 +------ src/Htmx/Giraffe.Htmx.fsproj | 1 + src/ViewEngine.Htmx/Giraffe.ViewEngine.Htmx.fsproj | 1 + src/ViewEngine.Htmx/Htmx.fs | 1 + 5 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/Common/Giraffe.Htmx.Common.fsproj b/src/Common/Giraffe.Htmx.Common.fsproj index df698f0..1aa7bbd 100644 --- a/src/Common/Giraffe.Htmx.Common.fsproj +++ b/src/Common/Giraffe.Htmx.Common.fsproj @@ -12,4 +12,8 @@ + + + + diff --git a/src/Directory.Build.props b/src/Directory.Build.props index 4f48f8d..d97c2f4 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -3,7 +3,7 @@ net6.0;net7.0;net8.0 1.9.10 - Update script tags to pull htmx 1.9.10; add support for .NET 8 + Update script tags to pull htmx 1.9.10; add support for hx-on:* attributes; require lowest FSharp.Core version; fix _hxDisabledElt spelling danieljsummers Bit Badger Solutions https://github.com/bit-badger/Giraffe.Htmx @@ -14,9 +14,4 @@ MIT Giraffe htmx - - - - - diff --git a/src/Htmx/Giraffe.Htmx.fsproj b/src/Htmx/Giraffe.Htmx.fsproj index e195b98..085712e 100644 --- a/src/Htmx/Giraffe.Htmx.fsproj +++ b/src/Htmx/Giraffe.Htmx.fsproj @@ -14,6 +14,7 @@ + diff --git a/src/ViewEngine.Htmx/Giraffe.ViewEngine.Htmx.fsproj b/src/ViewEngine.Htmx/Giraffe.ViewEngine.Htmx.fsproj index 3d120f3..d1d39b0 100644 --- a/src/ViewEngine.Htmx/Giraffe.ViewEngine.Htmx.fsproj +++ b/src/ViewEngine.Htmx/Giraffe.ViewEngine.Htmx.fsproj @@ -14,6 +14,7 @@ + diff --git a/src/ViewEngine.Htmx/Htmx.fs b/src/ViewEngine.Htmx/Htmx.fs index f29f5c8..73b4c55 100644 --- a/src/ViewEngine.Htmx/Htmx.fs +++ b/src/ViewEngine.Htmx/Htmx.fs @@ -20,6 +20,7 @@ module HxEncoding = /// The events recognized by htmx +[] type HxEvent = /// Send this event to an element to abort a request | Abort