I am using 3.1.1 on Mac.   We have all the code written using
Prototype inheritance and we have to support Mac Safari.  I will have
try the Object.extend and see if it works.


On Jun 3, 4:42 pm, raj <[EMAIL PROTECTED]> wrote:
> The following code doesn't work in Safari, though its working well on
> FF/IE.   We just recently started migrating and we are find issues
> with Safari 3.X
>
> var SipIxView = Class.create({
>      initialize: function()
>      {
>
>      }
>
> });
>
> var CdrView = Class.create(SipIxView,{
>     view: function()
>     {
>
>     }
>
> });
>
> I get the following error in Safari.
>
> var cdrView = new CdrView();
>
> TypeError: Value undefined (result of expression DigView) is not an
> object. Cannot be used with new.
>
> Javascript and Prototype GURUS out there , can any body help or Is
> prototype not supported on Safari.
>
> ThanksRaj
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to