01 |
( function (){ |
02 |
if (! /*@cc_on!@*/ 0) |
03 |
return ; |
04 |
var e = "abbr,article,aside,audio,bb,canvas,datagrid,datalist,details,dialog,eventsource,figure,footer,header,hgroup,mark,menu,meter,nav,output,progress,section,time,video" .split( ',' ),i=e.length; while (i--){document.createElement(e[i])} |
05 |
})() |
06 |
07 |
//然后在head中引入该js |
08 |
<!--[ if lt IE 9]> |
09 |
<script src= "http://html5shim.googlecode.com/svn/trunk/html5.js" ></script> |
10 |
<![endif]--> |