It may never have been intended to use this way, but I've found it
quite useful in the past to be able to use hashes as the source for
template variables. With the new restriction on accessing properties
directly this no longer works.

Looking at the code for Template, it looks like it might be as simple
as giving Hash a 'toTemplateElements()' method that returns
'this.toObject()'

is this worth having in core?

Greg


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype: Core" group.
To post to this group, send email to prototype-core@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to