Skip to content

Commit

Permalink
added utf8 charset
Browse files Browse the repository at this point in the history
  • Loading branch information
sliemeobn committed Jun 25, 2024
1 parent bfadcb2 commit 03a7ab7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions Examples/HummingbirdDemo/Sources/App/Views.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ struct MainPage: HTMLDocument {
var model: Model

var head: some HTML {
meta(.charset(.utf8))
script(.src("/htmx.min.js")) {}
}

Expand Down Expand Up @@ -35,6 +36,7 @@ struct ItemList: HTML {

for (index, item) in items.enumerated() {
div {
// this hx-delete will use OOB swap
button(.hx.delete("items/\(index)")) { "" }
" "
item
Expand Down
6 changes: 3 additions & 3 deletions Package.resolved
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"originHash" : "4916c3a028a5efa58d9dba2f8c0b3f63c8da6c49e13d636d995a5e41d0db6eff",
"originHash" : "eff6d695b2e02c4d623e165f451257d00daf8d0032fd2b69636aef6fa72480ae",
"pins" : [
{
"identity" : "elementary",
"kind" : "remoteSourceControl",
"location" : "https://github.com/sliemeobn/elementary.git",
"state" : {
"revision" : "fe837e0b813794a5f7066dc7c36dfb34e60d7de3",
"version" : "0.1.0-beta.4"
"revision" : "e92923b74201289fbed5a4bca273887faa36e39a",
"version" : "0.1.0-beta.5"
}
}
],
Expand Down
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ let package = Package(
),
],
dependencies: [
.package(url: "https://github.com/sliemeobn/elementary.git", .upToNextMajor(from: "0.1.0-beta.4")),
.package(url: "https://github.com/sliemeobn/elementary.git", .upToNextMajor(from: "0.1.0-beta.5")),
],
targets: [
.target(
Expand Down

0 comments on commit 03a7ab7

Please sign in to comment.