"eval" is necessary and it will not cost as much as you think.
On 5月14日, 上午4时56分, kangax <[EMAIL PROTECTED]> wrote:
> Actually, Firebug does something similar (double or triple "with"
> wrapping, I'm guessing to have proper precedence), but "eval" seems
> unnecessary here.
>
> - kangax
>
> On May 13, 4:51 pm, "T.J. Crowder" <[EMAIL PROTECTED]> wrote:
>
>
>
> > > with($static){
> > > with($private){
> > > with($public){
> > >
> > > eval("("+Initalizer+").apply(this,arguments)");
> > > }
> > > }
> > > }
>
> > I think I just heard Crockford explode.
>
> > -- T.J. ;-)- 隐藏被引用文字 -
>
> - 显示引用的文字 -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Spinoffs" group.
To post to this group, send email to rubyonrails-spinoffs@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---