Skip to content

Commit

Permalink
combineStylesheets documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
gregwebs committed Apr 21, 2013
1 parent fe2e2a0 commit 8749d5c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Settings/StaticFiles.hs
Expand Up @@ -23,9 +23,10 @@ combineSettings :: CombineSettings
combineSettings = def

-- The following two functions can be used to combine multiple CSS or JS files
-- at compile time to decrease bandwidth usage. Sample usage (inside a Widget):
-- at compile time to decrease the number of http requests.
-- Sample usage (inside a Widget):
--
-- $(combineStylesheets 'StaticR [style1_css, style2_css])
-- > $(combineStylesheets 'StaticR [style1_css, style2_css])

combineStylesheets :: Name -> [Route Static] -> Q Exp
combineStylesheets = combineStylesheets' development combineSettings
Expand Down

0 comments on commit 8749d5c

Please sign in to comment.