Permalink
Browse files

new modernizr.

  • Loading branch information...
1 parent 080026e commit f8f347e392489282d96286e91c2795ef741e752b @paulirish paulirish committed Feb 19, 2012
Showing with 6 additions and 7 deletions.
  1. +1 −2 404.html
  2. +1 −1 index.html
  3. +0 −4 js/libs/modernizr-2.5.2.min.js
  4. +4 −0 js/libs/modernizr-2.5.3.min.js
View
@@ -40,5 +40,4 @@ <h1>Not found <span>:(</span></h1>
</script>
<script src="http://linkhelp.clients.google.com/tbproxy/lh/wm/fixurl.js"></script>
</div>
-</body>
-</html>
@kblomqvist

kblomqvist Feb 19, 2012

Contributor

This must be a mistake?

@nimbupani

nimbupani Feb 19, 2012

Member

No, just fancy.

@paulirish

paulirish Feb 19, 2012

Owner

They're optional in HTML. This validates and all browsers have no problem with it.

Since everyone stole the fun out of 404.index I added the littlest bit of fun back.

@djtriptych

djtriptych May 30, 2012

Fancy, but just kinda wasted my time trying to figure out if it was an error or not.

My guess is It looks wrong to most developers. Wasting dev time makes me sad.

Also, it's inconsistent within the project since index.html retains the closing tags.

Also, browsers aren't the only things that consume HTML.

+
View
@@ -27,7 +27,7 @@
<!-- All JavaScript at the bottom, except this Modernizr build.
Modernizr enables HTML5 elements & feature detects for optimal performance.
Create your own custom Modernizr build: www.modernizr.com/download/ -->
- <script src="js/libs/modernizr-2.5.2.min.js"></script>
+ <script src="js/libs/modernizr-2.5.3.min.js"></script>
</head>
<body>
<!-- Prompt IE 6 users to install Chrome Frame. Remove this if you support IE 6.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit f8f347e

Please sign in to comment.