Ok, that makes sense. On the other hand, IE will "catch" it's
proprietary execScript before ever "trying" script insertion (and I'm
not aware of cases when execScript would not work)
Do you think it's safe to just leave appendChild?

 - kangax

On Mar 24, 10:27 am, Tobie Langel <[EMAIL PROTECTED]> wrote:
> Wrote about this a while 
> ago:http://tobielangel.com/2007/2/23/to-eval-or-not-to-eval
>
> Which makes me think that a try-catch block might be useful as 
> in:http://pastie.caboo.se/169679
>
> Best,
>
> Tobie
>
> On Mar 24, 3:20 pm, kangax <[EMAIL PROTECTED]> wrote:
>
> > It's great, Tobie (as always) :)
> > The only thing I'm not sure about is additional script insertion test.
> > Do you mind explaining in which cases setting text property on a
> > script works and appending a text node doesn't?
>
> > - kangax
>
> > On Mar 24, 9:45 am, Tobie Langel <[EMAIL PROTECTED]> wrote:> What about 
> > something like this:http://pastie.caboo.se/169666
>
> > > Best,
>
> > > Tobie
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype: Core" 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/prototype-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to