#1078 enhancement
Radoslav Stankov

Performance improvements for Element#readAttribute

Reported by Radoslav Stankov | June 19th, 2010 @ 04:13 PM | in 1.7

http://github.com/sstephenson/prototype/blob/master/src/dom/dom.js#...

Here we check for every function call if Browser is IE and then ...
This could be extracted only and have 2 function version one for the normal browsers, which is just normal getAttribute, and one for IE.

I could quickly wrap a patch for this if accepted.

p.s. I'm wondering if here feature detection could be used.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

The Prototype JavaScript library.

Shared Ticket Bins

People watching this ticket

Pages