diff options
author | Iurii Malchenko <yurique@pm.me> | 2019-01-04 18:32:57 +0200 |
---|---|---|
committer | Li Haoyi <haoyi.sg@gmail.com> | 2019-01-04 08:32:57 -0800 |
commit | eb497a8f5db949ea661042371fbbc908f6524ea4 (patch) | |
tree | e30eac430ae2faf3fc2317fbc33a692cc5bd91a0 /contrib/twirllib/test/resources/hello-world-inclusive-dot/core/views | |
parent | 54b797c2b682b0583a2f87b7da22ca9a59b8df37 (diff) | |
download | mill-eb497a8f5db949ea661042371fbbc908f6524ea4.tar.gz mill-eb497a8f5db949ea661042371fbbc908f6524ea4.tar.bz2 mill-eb497a8f5db949ea661042371fbbc908f6524ea4.zip |
adding support for customizable constructor annotations, codec and "inclusive dot" (#481)
Diffstat (limited to 'contrib/twirllib/test/resources/hello-world-inclusive-dot/core/views')
-rw-r--r-- | contrib/twirllib/test/resources/hello-world-inclusive-dot/core/views/hello.scala.html | 8 | ||||
-rw-r--r-- | contrib/twirllib/test/resources/hello-world-inclusive-dot/core/views/wrapper.scala.html | 5 |
2 files changed, 13 insertions, 0 deletions
diff --git a/contrib/twirllib/test/resources/hello-world-inclusive-dot/core/views/hello.scala.html b/contrib/twirllib/test/resources/hello-world-inclusive-dot/core/views/hello.scala.html new file mode 100644 index 00000000..16053d72 --- /dev/null +++ b/contrib/twirllib/test/resources/hello-world-inclusive-dot/core/views/hello.scala.html @@ -0,0 +1,8 @@ +@this(title: String) +@wrapper { + <html> + <body> + <h1>@title</h1> + </body> + </html> +}
\ No newline at end of file diff --git a/contrib/twirllib/test/resources/hello-world-inclusive-dot/core/views/wrapper.scala.html b/contrib/twirllib/test/resources/hello-world-inclusive-dot/core/views/wrapper.scala.html new file mode 100644 index 00000000..af1f5d8e --- /dev/null +++ b/contrib/twirllib/test/resources/hello-world-inclusive-dot/core/views/wrapper.scala.html @@ -0,0 +1,5 @@ +@(content: Html) + +@defining("test") { className => + <div class="@className">@content</div> +}
\ No newline at end of file |