From dfe8ec6fe76faa735d13381250e02623f43218fb Mon Sep 17 00:00:00 2001 From: Artyom Date: Sun, 5 Feb 2017 13:56:59 +0300 Subject: [PATCH] Add an export list to Guide.Views.Utils --- src/Guide/Views/Utils.hs | 49 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 48 insertions(+), 1 deletion(-) diff --git a/src/Guide/Views/Utils.hs b/src/Guide/Views/Utils.hs index b94c242..fabbcaa 100644 --- a/src/Guide/Views/Utils.hs +++ b/src/Guide/Views/Utils.hs @@ -1,7 +1,54 @@ {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE FlexibleContexts #-} -module Guide.Views.Utils where + +module Guide.Views.Utils +( + -- * Script utils + onPageLoad, + onEnter, + onCtrlEnter, + onEscape, + onFormSubmit, + inputValue, + clearInput, + + -- * HTML utils + emptySpan, + mkLink, + selectedIf, + checkedIf, + hiddenIf, + categoryLink, + itemLink, + + -- * HTML components + button, + textButton, + imgButton, + textInput, + markdownEditor, + smallMarkdownEditor, + + -- * Node identifiers + thisNode, + itemNodeId, + categoryNodeId, + + -- * Sections system + shown, + noScriptShown, + section, + sectionSpan, + + -- * Widget system & templates + mustache, + readWidgets, + getJS, + getCSS, +) +where + import Imports