Spaces:
Runtime error
Runtime error
Update app.jl
Browse files
app.jl
CHANGED
@@ -2,7 +2,7 @@ module App
|
|
2 |
using Stipple
|
3 |
|
4 |
@reactive mutable struct Name <: ReactiveModel
|
5 |
-
name::R{String} = "World
|
6 |
end
|
7 |
|
8 |
function ui(model)
|
@@ -10,7 +10,7 @@ function ui(model)
|
|
10 |
h1([
|
11 |
"Hello "
|
12 |
span("", @text(:name))
|
13 |
-
"from Genie.jl!"
|
14 |
])
|
15 |
|
16 |
p([
|
|
|
2 |
using Stipple
|
3 |
|
4 |
@reactive mutable struct Name <: ReactiveModel
|
5 |
+
name::R{String} = "World"
|
6 |
end
|
7 |
|
8 |
function ui(model)
|
|
|
10 |
h1([
|
11 |
"Hello "
|
12 |
span("", @text(:name))
|
13 |
+
" from Genie.jl!"
|
14 |
])
|
15 |
|
16 |
p([
|