Forums
View unanswered posts | View active topics It is currently Fri Nov 21, 2014 10:28 am



Reply to topic  [ 1 post ] 
 PIE hates MooTools 
Author Message

Joined: Wed Nov 13, 2013 4:03 pm
Posts: 1
Post PIE hates MooTools
PIE calls a very expensive function -- getBoundingClientRect -- every time a property changes. MooTools adds dozens of properties to every element. In my case, this caused PIE to take 12 seconds to initialize in IE 8. Here's the fix in propChanged()

if( initialized && !( event && event.propertyName in ignorePropertyNames ) ) {
if (el[event.propertyName] && el[event.propertyName].apply) {
ignorePropertyNames[event.propertyName] = 1;
}
else {
update( 1 );
}


Wed Nov 13, 2013 4:06 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.