fix: even better comment handling
This commit is contained in:
1 parent
47f3cc2529
commit
4471ccba49
8 files changed
+115
-73
No files matched your search
@@ -0,0 +1,21 @@
|
||||
rsx! {
|
||||
div {
|
||||
// My comment here 1
|
||||
// My comment here 2
|
||||
// My comment here 3
|
||||
// My comment here 4
|
||||
class: "asdasd",
|
||||
|
||||
// Comment here
|
||||
onclick: move |_| {
|
||||
let a = 10;
|
||||
let b = 40;
|
||||
let c = 50;
|
||||
},
|
||||
|
||||
// my comment
|
||||
|
||||
// This here
|
||||
"hi"
|
||||
}
|
||||
}
|
||||
@@ -15,6 +15,12 @@ rsx! {
|
||||
// body
|
||||
div { "text" }
|
||||
|
||||
div {
|
||||
// Attr
|
||||
class: "asdads",
|
||||
"health"
|
||||
}
|
||||
|
||||
div {
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user