Skip to content

Commit

Permalink
Fix scaladoc-js HTML.Tag unchecked patmat
Browse files Browse the repository at this point in the history
  • Loading branch information
dwijnand committed Dec 7, 2023
1 parent 3e37592 commit 0769a16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scaladoc-js/common/src/utils/html.scala
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ object HTML {
case ("id", id) => elem.id = id
case ("class", value) => value.split("\\s+").foreach(cls => elem.classList.add(cls))
case (attr, value) => elem.setAttribute(attr, value)
case s: Seq[AppliedAttr] => unpackAttributes(s*)
case s: Seq[AppliedAttr @unchecked] => unpackAttributes(s*)
}

unpackTags(tags*)
Expand Down Expand Up @@ -118,4 +118,4 @@ object HTML {
val titleAttr =Attr("title")
val onkeyup = Attr("onkeyup")

}
}

0 comments on commit 0769a16

Please sign in to comment.