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
-~----------~----~----~----~------~----~------~--~---