Permalink
Browse files

Fix hold to have initial value.

  • Loading branch information...
1 parent 0604a92 commit 500b5ee23afa6e04066737a990b5bc4fe84dd530 @cmeiklejohn committed Mar 13, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/cljs/shafty/core.cljs
View
2 src/cljs/shafty/core.cljs
@@ -293,7 +293,7 @@
(extend-type Behaviour
IEventStream
(delay! [this interval init]
- (hold! (delay! (changes! this) interval)))
+ (hold! (delay! (changes! this) interval) init))
IEventConversion
(changes! [this] (.-stream this))

0 comments on commit 500b5ee

Please sign in to comment.