Forums
|
|
|
Page 1 of 1
|
[ 1 post ] |
|
Author |
Message |
whatabrain
Joined: Wed Nov 13, 2013 4:03 pm Posts: 1
|
 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 |
|
|
|
Page 1 of 1
|
[ 1 post ] |
|
Who is online |
Users browsing this forum: No registered users and 2 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
|
|