Build process is not concatenating correctly #218

Closed
maryisdead opened this Issue May 23, 2012 · 2 comments

Projects

None yet

2 participants

@maryisdead

I just tried to build from source following the documentation. All seems to run correctly but the resulting *.htc are rather empty.

PIE.htc looks like this:

PIE: CSS3 rendering for IE
Version 2.0beta1-SNAPSHOT
http://css3pie.com
Dual-licensed for use under the Apache License Version 2.0 or the General Public License (GPL) Version 2.
-->
<PUBLIC:COMPONENT lightWeight="true">
<!-- saved from url=(0014)about:internet -->
<PUBLIC:ATTACH EVENT="oncontentready" FOR="element" ONEVENT="init()" />
<PUBLIC:ATTACH EVENT="ondocumentready" FOR="element" ONEVENT="init()" />
<PUBLIC:ATTACH EVENT="ondetach" FOR="element" ONEVENT="cleanup()" />
<script type="text/javascript">
var b=element,f=b.document,k=f.documentMode||0;
!window.PIE&&k<10&&function(){function c(d){var g=f.createElement("script");g.async=true;g.onreadystatechange=function(){var l=window.PIE,m=g.readyState,i;if(e&&(m==="complete"||m==="loaded"))if("version"in l){for(i in e)e.hasOwnProperty(i)&&l.attach(e[i]);e=0}else h[++j]&&c(h[j])};if(n==="https:")d=d.replace(/^http:/,n);g.src=d+"/PIE_IE"+(k<9?"678":"9")+".js";(f.getElementsByTagName("head")[0]||f.body).appendChild(g)}var e={},h=['http://lojjic.github.com/PIE/files/builds/2.0beta1-SNAPSHOT'],n=f.location.protocol,a,o,j=0;window.PIE=
{attach:function(d){e[d.uniqueID]=d},detach:function(d){delete e[d.uniqueID]}};a=f.createElement("div");a.innerHTML="<!--[if IE 6]><i></i><![endif]--\>";o=a.getElementsByTagName("i")[0];if(a=f.location.href.match(/pie-load-path=([^&]+)/))a=decodeURIComponent(a[1]);a||(a=f.documentElement.currentStyle.getAttribute((o?"":"-")+"pie-load-path"));if(a){a=a.replace(/^("|')|("|')$/g,"");h=[a]}c(h[j])}();function init(){if(f.media!=="print"){var c=window.PIE;c&&c.attach(b)}}
function cleanup(){if(f.media!=="print"){var c=window.PIE;c&&c.detach(b)}b=0}b.readyState==="complete"&&init();

</script>

<script type="text/vbscript"></script>
</PUBLIC:COMPONENT>```

From what I can see it just inserts some predefined headers and endings and the actual stuff in the middle is missing.

The generated JavaScript files all seem to be ok.
@lojjic
Owner

Not a bug, this is intentional! PIE.htc is now a very small loader that fetches environment-specific logic files separately. See the log for commit aa82152 for details.

@lojjic lojjic closed this May 23, 2012
@maryisdead

Ah, thanks, that helped!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment