You could just write your own :jsmin filter. :brad
On Tue, Jul 20, 2010 at 1:00 PM, David Balatero <[email protected]> wrote: > It feels a little out of scope of the haml project, but that's just my > first instinct. Maybe there's a simple way to drop in that functionality > (optionally) -- via a separate plugin gem, maybe? > > > On Tue, Jul 20, 2010 at 10:58 AM, Nathan Weizenbaum <[email protected]>wrote: > >> That's true, that would also work. The question then is how to do the >> minification itself. >> >> On Tue, Jul 20, 2010 at 10:42 AM, David Balatero <[email protected]>wrote: >> >>> Unless it was a global setting, not a per-filter setting? >>> >>> On Tue, Jul 20, 2010 at 10:41 AM, Nathan Weizenbaum <[email protected]>wrote: >>> >>>> This is not possible currently, since filters don't take options. >>>> >>>> >>>> On Tue, Jul 20, 2010 at 10:36 AM, rafudu <[email protected]> wrote: >>>> >>>>> Hi! >>>>> >>>>> Is it possible to minify the code inside the :javascript blocks >>>>> automatically? It would be good if the :sass / :css could have the >>>>> same option. >>>>> >>>>> regards, >>>>> >>>>> rapha >>>>> >>>>> -- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "Haml" group. >>>>> To post to this group, send email to [email protected]. >>>>> To unsubscribe from this group, send email to >>>>> [email protected]<haml%[email protected]> >>>>> . >>>>> For more options, visit this group at >>>>> http://groups.google.com/group/haml?hl=en. >>>>> >>>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Haml" group. >>>> To post to this group, send email to [email protected]. >>>> To unsubscribe from this group, send email to >>>> [email protected] <haml%[email protected]> >>>> . >>>> For more options, visit this group at >>>> http://groups.google.com/group/haml?hl=en. >>>> >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "Haml" group. >>> To post to this group, send email to [email protected]. >>> To unsubscribe from this group, send email to >>> [email protected] <haml%[email protected]>. >>> For more options, visit this group at >>> http://groups.google.com/group/haml?hl=en. >>> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Haml" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected] <haml%[email protected]>. >> For more options, visit this group at >> http://groups.google.com/group/haml?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "Haml" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected] <haml%[email protected]>. > For more options, visit this group at > http://groups.google.com/group/haml?hl=en. > -- Bradley Grzesiak co-founder, bendyworks llc http://bendyworks.com/ -- You received this message because you are subscribed to the Google Groups "Haml" 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/haml?hl=en.
