Looks like Safari has gone wild once again.
(Latest WebKit is not affected by this error, btw)

typeof (function(){}).argumentNames; // undefined
typeof (function(){}).bind; // "function"

typeof Function.prototype.argumentNames; // "function" (!)

typeof Hash.argumentNames; // "function"

function dummy(){ return 'foo' };
typeof dummy.argumentNames; // undefined


This seems similar to a previous bug that was found shortly after 3.1
- ".. issue where Safari 3 deletes custom properties from the document
object when the page is returned to via the back button."

- kangax

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.
>
> Thanks
> Raj
--~--~---------~--~----~------------~-------~--~----~
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