Combines scripts in head section. Shouldn't matter that much.

This commit is contained in:
Lars Jung 2012-09-22 13:40:04 +02:00
parent f24747e92f
commit 0a280e177b
5 changed files with 4 additions and 11 deletions

View file

@ -18,7 +18,7 @@ head
link( rel="apple-touch-icon", type="image/png", href!="#{h5ai}images/h5ai-48x48.png" )
link( rel="stylesheet", href="//fonts.googleapis.com/css?family=Ubuntu+Mono:400,700,400italic,700italic|Ubuntu:400,700,400italic,700italic" )
link( rel="stylesheet", href!="#{h5ai}css/styles.css" )
script( src!="#{h5ai}js/modernizr.js" )
script( src!="#{h5ai}js/scripts.js" )
|<body id="h5ai-main">
@ -39,7 +39,5 @@ div#bottombar.clearfix
span.right
span.center
script( src!="#{h5ai}js/scripts.js" )
|<div id="data-apache-autoindex" class="hideOnJs">
// The following code was generated by Apache's autoindex module. It is not valid HTML5, but gets removed from the DOM tree as soon as possible. The actual page should render as valid HTML5.

View file

@ -15,7 +15,7 @@ html.no-js( lang="en" )
link( rel="apple-touch-icon", type="image/png", href="images/h5ai-48x48.png" )
link( rel="stylesheet", href="//fonts.googleapis.com/css?family=Ubuntu+Mono:400,700,400italic,700italic|Ubuntu:400,700,400italic,700italic" )
link( rel="stylesheet", href="css/styles.css" )
script( src="js/modernizr.js" )
script( src="js/scripts.js" )
body#h5ai-info
@ -76,5 +76,3 @@ html.no-js( lang="en" )
| . ⚡
span.right
span.center
script( src="js/scripts.js" )

View file

@ -1,2 +0,0 @@
// @include "lib/modernizr-*.js"

View file

@ -6,6 +6,7 @@
// other libs
// ----------
// @include "lib/modernizr-*.js"
// @include "lib/underscore-*.js"
// @include "lib/amplify-*.min.js"
// @include "lib/modulejs-*.js"

View file

@ -38,7 +38,7 @@ html.no-js( lang="en" )
link( rel="apple-touch-icon", type="image/png", href!="#{h5ai}images/h5ai-48x48.png" )
link( rel="stylesheet", href="//fonts.googleapis.com/css?family=Ubuntu+Mono:400,700,400italic,700italic|Ubuntu:400,700,400italic,700italic" )
link( rel="stylesheet", href!="#{h5ai}css/styles.css" )
script( src!="#{h5ai}js/modernizr.js" )
script( src!="#{h5ai}js/scripts.js", data-config!="#{config}" )
body#h5ai-main
@ -62,5 +62,3 @@ html.no-js( lang="en" )
div#data-generic-json.hidden !{json}
div#data-php-no-js-fallback.hideOnJs !{fallback}
script( src!="#{h5ai}js/scripts.js", data-config!="#{config}" )