Skip to content

Commit

Permalink
remove replacement of curly brackets
Browse files Browse the repository at this point in the history
  • Loading branch information
hhaensel committed May 2, 2024
1 parent 47d63c6 commit 7aa806a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Elements.jl
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,7 @@ function vue_integration(::Type{M};
transport::Module = Genie.WebChannels)::String where {M<:ReactiveModel}
model = Base.invokelatest(M)

vue_app = replace(json(model |> Stipple.render), "\"{" => " {")
vue_app = replace(vue_app, "}\"" => "} ")
vue_app = json(model |> Stipple.render)
vue_app = replace(vue_app, "\"$(getchannel(model))\"" => Stipple.channel_js_name)

output =
Expand Down

0 comments on commit 7aa806a

Please sign in to comment.