Permalink
Browse files

Update files for build 2.0beta2-SNAPSHOT

  • Loading branch information...
1 parent 1f15ce8 commit 0021c181401a993fbdfbc5321d03188a3e7e99ec @lojjic committed Feb 1, 2013
Showing with 4 additions and 3 deletions.
  1. +3 −3 files/builds/2.0beta2-SNAPSHOT/PIE.htc
  2. +1 −0 files/builds/2.0beta2-SNAPSHOT/PIE_uncompressed.htc
@@ -11,9 +11,9 @@ Dual-licensed for use under the Apache License Version 2.0 or the General Public
<PUBLIC:ATTACH EVENT="ondetach" FOR="element" ONEVENT="cleanup()" />
<script type="text/javascript">
var d=element,g=d.document,j=g.documentMode||0;
-!window.PIE&&j<10&&function(){var a={},k,i,b,l,h;window.PIE={attach:function(c){a[c.uniqueID]=c},detach:function(c){delete a[c.uniqueID]}};b=g.createElement("div");b.innerHTML="<!--[if IE 6]><i></i><![endif]--\>";l=b.getElementsByTagName("i")[0];if(b=g.location.href.match(/pie-load-path=([^&]+)/))b=decodeURIComponent(b[1]);b||(b=g.documentElement.currentStyle.getAttribute((l?"":"-")+"pie-load-path"));if(!b){k=/BEHAVIOR: url\(([^\)]*PIE[^\)]*)/i;i=function(c){for(var f=c.length,e;f--;)if(e=(e=c[f].cssText.match(k))?
-e[1].substring(0,e[1].lastIndexOf("/")):i(c[f].imports))break;return e};b=i(g.styleSheets)}if(b){h=g.createElement("script");h.onreadystatechange=function(){var c=window.PIE,f=h.readyState,e;if(a&&(f==="complete"||f==="loaded"))if("version"in c){for(e in a)a.hasOwnProperty(e)&&c.attach(a[e]);a=0}};h.src=b+"/PIE_IE"+(j<9?"678":"9")+".js";(g.getElementsByTagName("head")[0]||g.body).appendChild(h)}}();function init(){if(g.media!=="print"){var a=window.PIE;a&&a.attach(d)}}
-function cleanup(){if(g.media!=="print"){var a=window.PIE;a&&a.detach(d)}d=0}d.readyState==="complete"&&init();
+!window.PIE&&j<10&&function(){var b={},k,i,a,l,h;window.PIE={attach:function(c){b[c.uniqueID]=c},detach:function(c){delete b[c.uniqueID]}};a=g.createElement("div");a.innerHTML="<!--[if IE 6]><i></i><![endif]--\>";l=a.getElementsByTagName("i")[0];if(a=g.location.href.match(/pie-load-path=([^&]+)/))a=decodeURIComponent(a[1]);a||(a=g.documentElement.currentStyle.getAttribute((l?"":"-")+"pie-load-path"));if(!a){k=/BEHAVIOR: url\(([^\)]*PIE[^\)]*)/i;i=function(c){for(var f=c.length,e;f--;)if(e=(e=c[f].cssText.match(k))?
+e[1].substring(0,e[1].lastIndexOf("/")):i(c[f].imports))break;return e};a=i(g.styleSheets)}if(a){a=a.replace(/^['"]|['"]$/g,"");h=g.createElement("script");h.onreadystatechange=function(){var c=window.PIE,f=h.readyState,e;if(b&&(f==="complete"||f==="loaded"))if("version"in c){for(e in b)b.hasOwnProperty(e)&&c.attach(b[e]);b=0}};h.src=a+"/PIE_IE"+(j<9?"678":"9")+".js";(g.getElementsByTagName("head")[0]||g.body).appendChild(h)}}();
+function init(){if(g.media!=="print"){var b=window.PIE;b&&b.attach(d)}}function cleanup(){if(g.media!=="print"){var b=window.PIE;b&&b.detach(d)}d=0}d.readyState==="complete"&&init();
</script>
@@ -71,6 +71,7 @@ if ( !window[ 'PIE' ] && docMode < 10 ) {
// If we found the base URL, try to load the appropriate JS file from it
if( baseUrl ) {
+ baseUrl = baseUrl.replace( /^['"]|['"]$/g, '' );
script = doc.createElement( 'script' );
script.onreadystatechange = function() {
var PIE = window[ 'PIE' ],

0 comments on commit 0021c18

Please sign in to comment.