View unanswered posts | View active topics It is currently Wed May 23, 2018 10:14 pm

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., line 94 character 107 which reffers to:
function init(){if(!=="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:

Wed Jun 20, 2012 6:03 am

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
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: Steeler [Crawler] and 5 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.