Skip to content

Commit

Permalink
lazy vertex display
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeInnes committed Feb 27, 2017
1 parent 6681b5d commit d686efd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/syntax/syntax.jl
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ code(x) = Juno.Model(Dict(:type=>"code",:text=>x))

@render Juno.Inline v::Vertex begin
s = MacroTools.alias_gensyms(syntax(v))
Tree(typeof(v), map(s -> code(string(s)), s.args))
Juno.LazyTree(typeof(v), () -> map(s -> code(string(s)), s.args))
end

# Function / expression macros
Expand Down

0 comments on commit d686efd

Please sign in to comment.