@@ -121,9 +121,6 @@ headHtml docTitle themes mathjax_url =
121
121
thetitle << docTitle,
122
122
styleSheet themes,
123
123
script ! [src jsFile, thetype " text/javascript" ] << noHtml,
124
- script ! [src jsPreactFile, thetype " text/javascript" ] << noHtml,
125
- script ! [src jsFuseFile, thetype " text/javascript" ] << noHtml,
126
- script ! [src jsIndexFile, thetype " text/javascript" ] << noHtml,
127
124
script ! [src mjUrl, thetype " text/javascript" ] << noHtml,
128
125
script ! [thetype " text/javascript" ]
129
126
-- NB: Within XHTML, the content of script tags needs to be
@@ -193,9 +190,12 @@ bodyHtml doctitle iface
193
190
" Produced by " +++
194
191
(anchor ! [href projectUrl] << toHtml projectName) +++
195
192
(" version " ++ projectVersion)
196
- )
197
- ]
193
+ ),
198
194
195
+ script ! [src jsPreactFile, thetype " text/javascript" ] << noHtml,
196
+ script ! [src jsFuseFile, thetype " text/javascript" ] << noHtml,
197
+ script ! [src jsIndexFile, thetype " text/javascript" ] << noHtml
198
+ ]
199
199
200
200
moduleInfo :: Interface -> Html
201
201
moduleInfo iface =
@@ -385,9 +385,9 @@ ppJsonIndex odir maybe_source_url maybe_wiki_url unicode qual_opt ifaces = do
385
385
, " link" .= String (fromMaybe " " (listToMaybe (map (nameLink mdl) names)))
386
386
]
387
387
]
388
- where
388
+ where
389
389
names = exportName item
390
-
390
+
391
391
exportName :: ExportItem DocName -> [DocName ]
392
392
exportName ExportDecl { expItemDecl } = getMainDeclBinder $ unLoc expItemDecl
393
393
exportName ExportNoDecl { expItemName } = [expItemName]
0 commit comments