mirror of
https://github.com/aelve/guide.git
synced 2024-11-23 12:15:06 +03:00
Remove “.min” from JS file names
Reason: data-files in .cabal doesn't think that *.js includes *.min.js. That's pretty annoying.
This commit is contained in:
parent
daac18a6ab
commit
18f6be8b0c
@ -164,7 +164,7 @@ renderAdmin
|
||||
renderAdmin globalState = do
|
||||
head_ $ do
|
||||
includeJS "/js.js"
|
||||
includeJS "/jquery-2.2.0.min.js"
|
||||
includeJS "/jquery-2.2.0.js"
|
||||
includeJS "/sorttable.js"
|
||||
includeCSS "/markup.css"
|
||||
includeCSS "/admin.css"
|
||||
@ -558,9 +558,9 @@ wrapPage pageTitle page = doctypehtml_ $ do
|
||||
"https://github.com/aelve/guide/issues");
|
||||
return false; };
|
||||
|]
|
||||
includeJS "/jquery-2.2.0.min.js"
|
||||
includeJS "/jquery-2.2.0.js"
|
||||
-- See Note [autosize]
|
||||
includeJS "/autosize-3.0.15.min.js"
|
||||
includeJS "/autosize-3.0.15.js"
|
||||
onPageLoad (JS "autosize($('textarea'));")
|
||||
-- The order is important – markup.css overrides some rules from
|
||||
-- highlight.css (e.g. div.sourceCode), css.css overrides the rule for
|
||||
|
Loading…
Reference in New Issue
Block a user