Permalink
Browse files

Add blind!

  • Loading branch information...
1 parent ff28085 commit 504cb11ef407cda7d3ee86ff843969761e78753d @cmeiklejohn committed Mar 13, 2013
Showing with 4 additions and 1 deletion.
  1. +1 −1 README.md
  2. +3 −0 src/cljs/shafty/core.cljs
View
2 README.md
@@ -42,7 +42,7 @@ notE | not! | delayB | delay!
filterE | filter! | sendBehavior |
onceE | once! | liftB |
skipFirstE | skip-first! | notB | not!
-collectE | collect! | blindB |
+collectE | collect! | blindB | blind!
switchE | switch! | calmB |
delayE | delay!
snapshotE | snapshot!
View
3 src/cljs/shafty/core.cljs
@@ -298,6 +298,9 @@
(delay! [this interval init]
(hold! (delay! (changes! this) interval) init))
+ (blind! [this interval init]
+ (hold! (blind! (changes! this) interval) init))
+
IEventConversion
(changes! [this] (.-stream this))

0 comments on commit 504cb11

Please sign in to comment.