I got it working.  The only change from Ken's suggestion is to also
set SpecificElementExtensions to false.  I had to upgrade to 1.5.1
cause I couldn't figure it out on 1.5.0.

Thanks for your help Ken,

RR

On Jun 13, 4:38 pm, Ken Snyder <[EMAIL PROTECTED]> wrote:
> RighteousRaven wrote:
> > Debugging IE is a serious pain in the neck, and I am running into bugs
> > because IE doesnt allow extension of HTMLElement.prototype.  I want to
> > temporarily prevent Prototype from extending HTMLElement.prototype in
> > Firefox so I can use firebug to burn all those nasty little buggers.
> > Does anyone have any ideas on how to do this?
>
> > Thanks
> > RR
>
> Never tried, but you could try messing with Prototype.BrowserFeatures.
> Let us know what you find; sounds interesting.
>
> --Ken
>
> In prototype.js 1.5.1 line 21
> --    ElementExtensions: !!window.HTMLElement,
> ++   ElementExtensions: false,
>
> and comment out lines 1819-1824
> /*if (!Prototype.BrowserFeatures.ElementExtensions &&
>  document.createElement('div').__proto__) {
>   window.HTMLElement = {};
>   window.HTMLElement.prototype = document.createElement('div').__proto__;
>   Prototype.BrowserFeatures.ElementExtensions = true;
>
> }*/


--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
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