On 26 touko, 03:43, Marnen Laibow-Koser <rails-mailing-l...@andreas-
s.net> wrote:
>
> Hmm.  I'd say the best approach would be to keep display text out of
> your JS files -- put it in partials.
>

Thanks Marnen for your reply. I don't quite follow, how do you
actually achieve this? I mean, there are plenty of UI libraries which
rely purely on js and those libraries are used via Javascript.
ActiveWidgets' grid compent (http://www.activewidgets.com/aw.ui.grid/)
is a good example. You set up your grid's column names using library
API.

So basically you end up writing UI specific Javascript code. How these
translations could be separated as partials? Thanks for sharing your
thoughts.

Cheers!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to