These are chat archives for ThoughtWorksInc/Binding.scala

14th
Sep 2016
杨博 (Yang Bo)
@Atry
Sep 14 2016 00:20
@bbarker The @dom macro translates XHTML syntax to ScalaTags calls. You can add a -print parameter to scalac to see what the macro's output is.
ritschwumm
@ritschwumm
Sep 14 2016 05:07
@Atry why scalatags? to allow running it outside the browser?
杨博 (Yang Bo)
@Atry
Sep 14 2016 05:08
@ritschwumm Scalatags helps Binding.scala's type checking on XHTML literals
ritschwumm
@ritschwumm
Sep 14 2016 05:10
i might be wrong, but i thought scalatags was less precise in the types than scala-js-dom.
杨博 (Yang Bo)
@Atry
Sep 14 2016 05:10
Binding.scala uses scalatags only for checking tags, not for attributes
Brandon Elam Barker
@bbarker
Sep 14 2016 18:42
Neat, I might prefer the XHTML syntax, except I know you can compose and reuse tags in ScalaTags