On Thu, Mar 4, 2010 at 8:47 AM, aw <anth...@whitford.com> wrote:
>
> On Mar 3, 10:56 pm, Ross Mellgren <dri...@gmail.com> wrote:
>> There's a FactoryMaker in LiftRules that looks like it may do what you want 
>> -- try:
>>
>> LiftRules.stripComments.default = () => false
>>
>> -Ross
>
> This looks promising.  Alas:  error: reassignment to val
>
> (I'm not familiar with FactoryMaker.)  I see that
> LiftRules.stripComments is a val, not a var...  It's unclear to me how
> to override this.


Ahh, think you have to do:

LiftRules.stripComments.default.set(() => false)

/Jeppe

-- 
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to lift...@googlegroups.com.
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en.

Reply via email to