summaryrefslogtreecommitdiff
path: root/html5.conf
diff options
context:
space:
mode:
authorStuart Rackham <srackham@methods.co.nz>2011-04-22 22:24:11 +1200
committerStuart Rackham <srackham@methods.co.nz>2011-04-22 22:24:11 +1200
commit9170fcddc9801c82fe6fb4b0ee578df9067947a8 (patch)
treed23cc6551333333129680e40b7140565ce7dc6a5 /html5.conf
parentab881b25eab844e699437e66b3068c5fc67e6c8c (diff)
downloadasciidoc-git-9170fcddc9801c82fe6fb4b0ee578df9067947a8.tar.gz
Changed order of JavaScript loading to ensure latency patch works with linked
JavaScript. See: http://groups.google.com/group/asciidoc/browse_thread/thread/5a7fe64fbfd65ad
Diffstat (limited to 'html5.conf')
-rw-r--r--html5.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/html5.conf b/html5.conf
index 3ebabb4..3a79edf 100644
--- a/html5.conf
+++ b/html5.conf
@@ -540,6 +540,7 @@ endif::pygments[]
endif::linkcss[]
ifndef::disable-javascript[]
ifdef::linkcss[]
+<script type="text/javascript" src="{scriptsdir=.}/asciidoc-xhtml11.js"></script>
<script type="text/javascript">
#TODO: Escape not necessary in HTML5?
# Escape as CDATA to pass validators.
@@ -547,7 +548,6 @@ ifdef::linkcss[]
asciidoc.install({toc?{toclevels}});
/*]]>*/
</script>
-<script type="text/javascript" src="{scriptsdir=.}/asciidoc-xhtml11.js"></script>
endif::linkcss[]
ifndef::linkcss[]
<script type="text/javascript">