Created
June 5, 2015 01:59
-
-
Save onetom/43e4009dd8fa124ce399 to your computer and use it in GitHub Desktop.
Function within `cell-let` fails with Hoplon6
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defelem cell-let-problem [{:keys [data]}] | |
(cell-let [{:keys [title]} data | |
fun #(str title " - " title) | |
double-title (fun)] | |
(div :text double-title))) | |
(cell-let-problem :data (cell {:title "cell-let test"})) | |
# Uncaught TypeError: fun.call is not a function |
Author
onetom
commented
Jun 5, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment