소스 검색

remove html shiv

Hakim El Hattab 5 년 전
부모
커밋
36f7136d34
2개의 변경된 파일0개의 추가작업 그리고 11개의 파일을 삭제
  1. 0 4
      demo.html
  2. 0 7
      lib/js/html5shiv.js

+ 0 - 4
demo.html

@@ -29,10 +29,6 @@
 			link.href = window.location.search.match( /print-pdf/gi ) ? 'css/print/pdf.css' : 'css/print/paper.css';
 			document.getElementsByTagName( 'head' )[0].appendChild( link );
 		</script>
-
-		<!--[if lt IE 9]>
-		<script src="lib/js/html5shiv.js"></script>
-		<![endif]-->
 	</head>
 
 	<body>

+ 0 - 7
lib/js/html5shiv.js

@@ -1,7 +0,0 @@
-document.createElement('header');
-document.createElement('nav');
-document.createElement('section');
-document.createElement('article');
-document.createElement('aside');
-document.createElement('footer');
-document.createElement('hgroup');