happstack-yui-7351.4.1: Utilities for using YUI3 with Happstack.

Safe HaskellNone

Happstack.Server.YUI.Bundle

Synopsis

Documentation

isYUIFile :: FilePath -> IO BoolSource

Tells if a file is included in the YUI bundle.

>>> isYUIFile "yui/yui-min.js"
True

readYUIFile :: FilePath -> IO ByteStringSource

Reads the contents of a file included in the YUI bundle.