Skip to content

Commit

Permalink
minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
alandipert committed Feb 17, 2013
1 parent 188e6d1 commit 2585582
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cljs/tailrecursion/javelin-demos/dom.cljs
Expand Up @@ -31,7 +31,7 @@
"Sets the value in a nested JavaScript array, where ks is a sequence "Sets the value in a nested JavaScript array, where ks is a sequence
of fields." of fields."
[arr ks value] [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! (defn insert!
"Inserts string s as the value of the attribute fld in element "Inserts string s as the value of the attribute fld in element
Expand Down

0 comments on commit 2585582

Please sign in to comment.