Re: [Cheetahtemplate-discuss] #def vs. #attr revisited
Brought to you by:
rtyler,
tavis_rudd
From: <ir...@ms...> - 2001-11-28 18:25:49
|
On Wed, Nov 28, 2001 at 11:07:40AM -0800, Tavis Rudd wrote: > On Wednesday 28 November 2001 03:49, Michael Halle wrote: > > Yes there are districtions between attributes and methods and it's > > good that they are accessible from cheetah. However, for a > > template language that it supposed to make authoring simpler, it's > > the syntactic flexibility of "#def spam = 'eggs' #" that really > > matters. I think #def should be able to handle both fields and > > blocks. (For consistency, #block should probably also have the > > second form.) > > Agree. If we do one, we should do the other as well. They share a > lot of code in the implementation anyway. Shall we be consistent and offer a multi-line version of #attr at the same time? -- -Mike (Iron) Orr, ir...@ms... (if mail problems: ms...@oz...) http://iron.cx/ English * Esperanto * Russkiy * Deutsch * Espan~ol |