mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-31 07:18:21 -04:00
Adds experimental support for local config files.
This commit is contained in:
parent
bcc9f21fc1
commit
df208faf25
5 changed files with 88 additions and 21 deletions
|
@ -19,6 +19,7 @@
|
|||
- var h5ai = "<?php echo $h5aiAbsHref; ?>"
|
||||
- var json = "<?php if (!$isHeadRequest) { echo $h5ai->getGenericJson(); }?>"
|
||||
- var fallback = "<?php if (!$isHeadRequest) { echo $h5ai->getNoJsFallback(); }?>"
|
||||
- var config = "<?php if (!$isHeadRequest) { echo $h5ai->getCustomConfig(); }?>"
|
||||
|
||||
doctype 5
|
||||
//if lt IE 9
|
||||
|
@ -62,4 +63,4 @@ html.no-js( lang="en" )
|
|||
|
||||
div#data-php-no-js-fallback.hideOnJs !{fallback}
|
||||
|
||||
script( src!="#{h5ai}js/scripts.js" )
|
||||
script( src!="#{h5ai}js/scripts.js", data-config!="#{config}" )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue