Permalink
Browse files

Removed bind call on object extension

  • Loading branch information...
1 parent 7eb1216 commit 6e246f8be9ea52555ee15c5b467b4f8804b76c85 @fogus fogus committed Sep 30, 2011
Showing with 2 additions and 3 deletions.
  1. +2 −3 src/cljs/cljs/core.cljs
@@ -3272,7 +3272,6 @@ reduces them without incurring seq initialization"
methods will resolve the implict this as the object."
[obj fn-map]
(doseq [[key-name f] fn-map]
- (let [str-name (name key-name)
- bind-fn (goog.bind f obj)]
- (js* "~{obj}[~{str-name}] = ~{bind-fn}")))
+ (let [str-name (name key-name)]
+ (js* "~{obj}[~{str-name}] = ~{f}")))
obj)

0 comments on commit 6e246f8

Please sign in to comment.