Skip to content

Commit

Permalink
[TASK] Include respond.js with conditional comment to work with stati…
Browse files Browse the repository at this point in the history
…c cache - fixes #101
  • Loading branch information
benjaminkott committed Dec 2, 2014
1 parent 5e0d274 commit 66ce0a6
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions Configuration/TypoScript/setup.txt
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,15 @@ page {
bootstrap = {$page.includePath.javascript}Libs/bootstrap.min.js
responsiveimages = {$page.includePath.javascript}Libs/jquery.responsiveimages.min.js
main = {$page.includePath.javascript}main.min.js

#############################################
#### INCLUDE RESPOND JS FOR IE DINOSAURS ####
#############################################
#### NOTE : add conditional comment to cope with static cache
respond = {$page.includePath.javascript}Libs/respond.min.js
respond.allWrap = <!--[if IE 8 ]>|<![endif]-->
respond.excludeFromConcatenation = 1
respond.disableCompression = 1
}

jsFooterInline {
Expand Down Expand Up @@ -472,12 +481,6 @@ page {
page.meta.robots = noindex,follow
[end]

#############################################
#### INCLUDE RESPOND JS FOR IE DINOSAURS ####
#############################################
[browser = msie] && [version = 8]
page.includeJSFooterlibs.respond = {$page.includePath.javascript}Libs/respond.min.js
[end]

################
#### CONFIG ####
Expand Down

0 comments on commit 66ce0a6

Please sign in to comment.