On Tuesday, August 11, 2015 at 3:56:44 PM UTC-7, Francis Avila wrote:
> On Tuesday, August 11, 2015 at 4:00:19 PM UTC-5, Eduard Bondarenko wrote:
> > clj->js can be used?
> 
> You can, but #js is a reader literal and thus evaluated at compile time: the 
> emitted javascript contains literal JS arrays and objects and no intermediate 
> vectors or maps are created at runtime.
> 
> cljs->js is runtime: the vectors and maps are created first, then transformed 
> into arrays and objects.
> 
> Prefer #js when possible.

Hi Francis/Eduard,  

Thank you for the responses.  Francis, your code really worked thanks.  I 
missed the inner most #JS.  As you said, it is not the perfect way.  I see some 
issues with it, especially, when I reload the page, and see the #of rows filter 
not working, plus a few more issues.  Thanks. 

Regards,
Hari

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to