happstack-yui 7351.4.1 → 7360.4.1
raw patch · 2 files changed
+11/−7 lines, 2 files
Files
- happstack-yui.cabal +6/−6
- src/Happstack/Server/YUI.hs +5/−1
happstack-yui.cabal view
@@ -1,5 +1,5 @@ Name : happstack-yui-Version : 7351.4.1+Version : 7360.4.1 Category : Web, Happstack Synopsis : Utilities for using YUI3 with Happstack. Homepage : https://github.com/dag/happstack-yui@@ -10,7 +10,7 @@ Build-Type : Simple Description :- Bundles YUI 3.5.1 and includes a \"combo handler\" for use in+ Bundles YUI 3.6.0 and includes a \"combo handler\" for use in Happstack which concatenates YUI modules server-side to send in a single HTTP request. The YUI bundle can be embedded in compiled code with Template Haskell (install with @-fembed@) which means the files are@@ -1473,16 +1473,16 @@ if !flag(embed) CPP-Options :- -DYUI_VERSION=3.5.1- -DYUI_VERSION_STR="3.5.1"+ -DYUI_VERSION=3.6.0+ -DYUI_VERSION_STR="3.6.0" Other-Modules : Paths_happstack_yui Build-Depends : directory == 1.1.* else CPP-Options :- -DYUI_VERSION=3.5.1- -DYUI_VERSION_STR="3.5.1"+ -DYUI_VERSION=3.6.0+ -DYUI_VERSION_STR="3.6.0" -DEMBED Build-Depends : file-embed == 0.0.*
src/Happstack/Server/YUI.hs view
@@ -1,5 +1,9 @@ {-# LANGUAGE CPP, OverloadedStrings, TemplateHaskell, QuasiQuotes #-} +-- | YUI tools for Happstack.+--+-- Some of the examples assume you're using the @OverloadedStrings@ GHC+-- extension. module Happstack.Server.YUI ( -- * Combo Handler implYUISite@@ -91,7 +95,7 @@ -- @YUISitemap@ in your own, you can also embed this router in your own: -- -- >import qualified Happstack.Server.YUI as Y--- >sitemap = (rYUI . (lit "yui" </> Y.sitemap)) <> rHome+-- >sitemap = (rYUI . ("yui" </> Y.sitemap)) <> rHome sitemap :: Router YUISitemap sitemap = YUI_VERSION_STR </>