We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9bf932 commit a097b3cCopy full SHA for a097b3c
shared/src/main/scala/com/raquo/domtypes/codegen/SourceRepr.scala
@@ -14,6 +14,10 @@ trait SourceRepr {
14
if (value) "true" else "false"
15
}
16
17
+ protected def repr(value: Int): String = {
18
+ value.toString
19
+ }
20
+
21
22
23
object SourceRepr extends SourceRepr {
@@ -23,4 +27,6 @@ object SourceRepr extends SourceRepr {
27
def apply(str: String): String = repr(str)
24
28
25
29
def apply(value: Boolean): String = repr(value)
30
31
+ def apply(value: Int): String = repr(value)
26
32
0 commit comments