On Dec 14, 2007 2:16 PM, Matt Feifarek <[EMAIL PROTECTED]> wrote: > On Dec 14, 2007 1:36 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > Hello all. > > What's the best way to templatize my javascripts? > > To enable the use of _() function and helpers. > > > > Mako can make any kind of text document; not just html. > > I use it to make CSS, JS too.
The tradeoff is you can't put the template in your public directory or have Apache serve it. I've kept my CSS & Javascript static for that reason. But given that IE requires redundant font specifications, and it's sometimes useful to base things on config values, I may go to template-driven CSS & JS someday. > > > > > > > -- Mike Orr <[EMAIL PROTECTED]> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" 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/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
