aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2011-07-24 09:27:08 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2011-07-24 09:27:08 -0700
commitd5e0c449bde0822d9210dd6a10ceb617d3da4f67 (patch)
tree054210444d0cd2f99767035cbab90ed0e22c07e0 /src/Text/Pandoc
parentcb6123a2db4b3957588560ccdf81c462e1042477 (diff)
downloadpandoc-d5e0c449bde0822d9210dd6a10ceb617d3da4f67.tar.gz
Use yuicompressor-packed js for s5.
Removed s5/default/slides.js.comment, s5/default/slides.js.packed. Added s5/default/slides.min.js.
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r--src/Text/Pandoc/S5.hs6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/Text/Pandoc/S5.hs b/src/Text/Pandoc/S5.hs
index 9aa643e7a..52428356e 100644
--- a/src/Text/Pandoc/S5.hs
+++ b/src/Text/Pandoc/S5.hs
@@ -43,10 +43,8 @@ inCDATA s = "/*<![CDATA[*/\n" ++ s ++ "\n/*]]>*/\n"
s5Javascript :: Maybe FilePath -> IO String
s5Javascript datadir = do
- jsCom <- readDataFile datadir $ "s5" </> "default" </> "slides.js.comment"
- jsPacked <- readDataFile datadir $ "s5" </> "default" </> "slides.js.packed"
- return $ "<script type=\"text/javascript\">\n" ++
- inCDATA (jsCom ++ jsPacked) ++ "</script>\n"
+ js <- readDataFile datadir $ "s5" </> "default" </> "slides.min.js"
+ return $ "<script type=\"text/javascript\">\n" ++ inCDATA js ++ "</script>\n"
s5CSS :: Maybe FilePath -> IO String
s5CSS datadir = do