Forums
View unanswered posts | View active topics It is currently Tue Oct 21, 2014 7:33 am



Reply to topic  [ 2 posts ] 
 pie and box-sizing Polyfill conflict 
Author Message

Joined: Wed Jun 20, 2012 4:39 am
Posts: 2
Post pie and box-sizing Polyfill conflict
Hi, im working on a fairly large project where i have assigned box-sizing Polyfill on every element and i am running pie on certain elements to give them round corners.

however, if they are both running (only in ie7 since the polyfill is for that), i get an error in the console:

Unspecified error.
PIE.htc?version=92RMdsQ6WK, line 94 character 107 which reffers to:
function init(){if(doc.media!=="print"){var a=window.PIE;a&&a.attach($)}}

i have tried renaming init function in polyfill but that did nothing
anyone with more jquery skills with some ideas for a fix?

polyfill source:https://github.com/Schepp/box-sizing-polyfill


Wed Jun 20, 2012 6:03 am
Profile

Joined: Wed Jun 20, 2012 4:39 am
Posts: 2
Post Re: pie and box-sizing Polyfill conflict
finally found a solution...

i renamed doc to docbox in the box-sizing htc and removed:
<attach event="onpropertychange" onevent="checkPropertyChange()" />
<attach event="ondetach" onevent="restore()" />
<attach event="onresize" for="window" onevent="update()" />

no more errors...


Wed Jun 20, 2012 8:09 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: Exabot [Bot], Google [Bot], Yahoo [Bot] and 1 guest


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.