Browse files

minor cleanup

  • Loading branch information...
alandipert committed Feb 17, 2013
1 parent 188e6d1 commit 25855826a82f8ee42d42622ea37bfcbe53ed2cbb
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/cljs/tailrecursion/javelin-demos/dom.cljs
@@ -31,7 +31,7 @@
"Sets the value in a nested JavaScript array, where ks is a sequence
of fields."
[arr ks value]
- (aset (reduce #(aget %1 %2) arr (butlast ks)) (last ks) value))
+ (aset (reduce aget arr (butlast ks)) (last ks) value))
(defn insert!
"Inserts string s as the value of the attribute fld in element

0 comments on commit 2585582

Please sign in to comment.