You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<pclass="ciu_embed" data-feature="%property%" data-periods="future_1,current,past_2"><ahref="http://caniuse.com/#feat=%property%">Can I Use %property%?</a> Data on support for the %property% feature across the major browsers from caniuse.com. </p>
3
+
4
+
<script>
5
+
(function(){for(vare=document.getElementsByClassName("ciu_embed"),t=0;t<e.length;t++){vars=e[t],a=s.getAttribute("data-feature"),n=s.getAttribute("data-periods");if(a){varr="http://caniuse.bitsofco.de/embed/index.html",o='<iframe src="'+r+"?feat="+a+"&periods="+n+'" frameborder="0" width="100%" height="400px"></iframe>';s.innerHTML=o}elses.innerHTML="A feature was not included. Go to <a href='http://caniuse.bitsofco.de/#how-to-use'>http://caniuse.bitsofco.de/#how-to-use</a> to generate an embed."}vari=window.addEventListener?"addEventListener":"attachEvent",d=window[i],l="attachEvent"==i?"onmessage":"message";d(l,function(t){vars=t.data;if("string"==typeofs&&s.indexOf("ciu_embed")>-1)for(vara=s.split(":")[1],n=s.split(":")[2],r=0;r<e.length;r++){varo=e[r];if(o.getAttribute("data-feature")===a){vari=parseInt(n)+20;o.childNodes[0].height=i+"px";break}}},!1)}).call(this);
0 commit comments