Skip to content

Commit

Permalink
Refactor import statements in Index.scala and HljsLanguage.scala
Browse files Browse the repository at this point in the history
  • Loading branch information
cheleb committed Oct 4, 2024
1 parent 947fde5 commit b95b9ae
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion examples/client/src/main/scala/Index.scala
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package samples
import org.scalajs.dom
import com.raquo.laminar.api.L.*
import be.doeraene.webcomponents.ui5.*
import demo.facades.highlightjs.{hljs, hljsScala}
import facades.highlightjs.{hljs, hljsScala}

case class Sample(
name: String,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
package demo.facades.highlightjs
package facades.highlightjs

import scala.scalajs.js

/** Marker trait for all js Object that represents languages to be registered & Hljs
/** Marker trait for all js Object that represents languages to be registered &
* Hljs
*/
trait HljsLanguage extends js.Object
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package demo.facades.highlightjs
package facades.highlightjs

import org.scalajs.dom

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package demo.facades.highlightjs
package facades.highlightjs

import scala.scalajs.js
import scala.scalajs.js.annotation.JSImport
Expand Down
4 changes: 4 additions & 0 deletions modules/core/src/main/scala/dev/cheleb/scalamigen/Form.scala
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,10 @@ object Form extends AutoDerivation[Form] {
* with an Iron type.
* @param validator
* the Iron type validator
* @param default
* the default value for the Iron type
* @param widgetFactory
* the widget factory
* @tparam T
* the base type of the Iron type
* @tparam C
Expand Down
1 change: 1 addition & 0 deletions website.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ Compile / doc / scalacOptions ++= Seq(
// custom::https://www.linkedin.com/in/olivier-nouguier::linkedinday.png::linkedinnight.png
"-social-links:github::https://github.com/cheleb,twitter::https://twitter.com/oNouguier",
"-Ygenerate-inkuire",
"-skip-by-regex:facades\\..*",
"-skip-by-regex:samples\\..*",
"-skip-by-regex:html\\..*",
"-snippet-compiler:compile"
Expand Down

0 comments on commit b95b9ae

Please sign in to comment.