Skip to content

Commit

Permalink
Merge pull request #118 from JobJob/preserve_manipulate
Browse files Browse the repository at this point in the history
Adds preserve to signal created by manipulate
  • Loading branch information
shashi authored Nov 9, 2016
2 parents 522151c + e1259f1 commit 918cfcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/manipulate.jl
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ end
function map_block(block, symbols)
lambda = Expr(:(->), Expr(:tuple, symbols...),
block)
:(map($lambda, $(map(s->:(signal($s)), symbols)...), typ=Any))
:(preserve(map($lambda, $(map(s->:(signal($s)), symbols)...), typ=Any)))
end

function symbols(bindings)
Expand Down

0 comments on commit 918cfcb

Please sign in to comment.