Closed dbushenko closed 10 years ago
Is it possible for you to put together a repeatable example in a repo. I am not able to reproduce it on my end.
Creighton
On Sat, Jun 14, 2014 at 10:47 AM, dbushenko notifications@github.com wrote:
Have a look at this code
(em/deftemplate page "/html/screens/list.html" [code] "#shop-list" (ef/content (map shop-item shop-items)))
It renders a list of items within the template. At least it should bcs it doesn't though the data in shop-items exists for the time when the function 'page' is called.
But if after that I call the following:
(ef/at "#shop-list" (ef/content (map shop-item shop-items)))
It works as expected.
— Reply to this email directly or view it on GitHub https://github.com/ckirkendall/enfocus/issues/96.
I closing this issue because I was not able to reproduce it.
Have a look at this code
(em/deftemplate page "/html/screens/list.html" [code] "#shop-list" (ef/content (map shop-item shop-items)))
It renders a list of items within the template. At least it should bcs it doesn't though the data in shop-items exists for the time when the function 'page' is called.
But if after that I call the following:
(ef/at "#shop-list" (ef/content (map shop-item shop-items)))
It works as expected.
Enfocus version used: 2.0.2, 2.1.0-SNAPSHOT.