Permalink
Browse files

remove-sink! now removes

  • Loading branch information...
1 parent 1fc3c21 commit dc94e2ac4043c80ca28307d60adaf2e7d0d0e9cb @invaliduser invaliduser committed Jun 7, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/cljs/shafty/core.cljs
@@ -171,7 +171,7 @@
this)
(remove-sink! [this that]
- (set! (.-sinks this) (vec (filter (fn [x] (= x that)) (.-sinks this))))
+ (set! (.-sinks this) (vec (remove (fn [x] (= x that)) (.-sinks this))))
this)
IEventConversion

0 comments on commit dc94e2a

Please sign in to comment.