Skip to content

Commit

Permalink
Merge pull request #151 from mgred/add-nomodule
Browse files Browse the repository at this point in the history
Add support for nomodule attribute
  • Loading branch information
chasefleming authored Nov 5, 2024
2 parents 7755c2a + aa1e849 commit e134535
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions attrs/attrs.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ const (
Defer = "defer"
Href = "href"
Integrity = "integrity"
Nomodule = "nomodule"
Rel = "rel"
Src = "src"
Target = "target"
Expand Down
1 change: 1 addition & 0 deletions elem.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ var booleanAttrs = map[string]struct{}{
attrs.Loop: {},
attrs.Multiple: {},
attrs.Muted: {},
attrs.Nomodule: {},
attrs.Novalidate: {},
attrs.Open: {},
attrs.Playsinline: {},
Expand Down

0 comments on commit e134535

Please sign in to comment.