[Proto-Scripty] Re: instantiate class problem on IE

2010-08-18 Thread T.J. Crowder
Hi, The problem is that you have a dangling comma at the end of your object literal (after the definition of the `srotola` function). IE considers dangling commas fatal parsing errors; most other browsers have no problem with them. Here's are two examples of dangling commas: var obj = {

Re: [Proto-Scripty] Re: instantiate class problem on IE

2010-08-18 Thread Loris Menghi
The fact remains that IE7 does not instantiate the class -- You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptacul...@googlegroups.com. To unsubscribe from this group, send email to

[Proto-Scripty] Re: instantiate class problem on IE

2010-01-12 Thread david
Hi RobG, Thanks to point it out, all should read HOST OBJECT :)) > Can you imagine the ramifications of IE not allowing native objects to > have methods? :-) No, I prefer not thinking to that. IE have so much pain for developper that it didn't need this one. -- david On 23 déc 2009, 03:31, Rob

[Proto-Scripty] Re: instantiate class problem on IE

2009-12-23 Thread RobG
On Dec 23, 4:17 am, david wrote: > Hi Loris, > > I think that your trouble is normal, because IE don't allow to > instantiate method on native object. You might need to re-think that statement. From ECMA-262: "Native Object "A native object is any object supplied by an ECMAScript implementatio

[Proto-Scripty] Re: instantiate class problem on IE

2009-12-22 Thread david
Hi Loris, I think that your trouble is normal, because IE don't allow to instantiate method on native object. Generally it's not a good idea to extend native objects because your not sure that another JS will not use the same method name !! -- david On 19 déc, 00:36, Loris wrote: > hello, sorr