1{-# LANGUAGE MultiParamTypeClasses #-}
2module Reflex.Dom.Class ( module Reflex.Dom.Class
3 , module Foreign.JavaScript.TH
8import qualified Data.Map as Map
12import Foreign.JavaScript.TH
13import Reflex.PerformEvent.Class
14import Reflex.PostBuild.Class
16import Prelude hiding (concat, mapM, mapM_, sequence)
18-- | Alias for Data.Map.singleton
19(=:) :: k -> a -> Map k a
21infixr 7 =: -- Ought to bind tighter than <>, which is infixr 6
23{-# DEPRECATED keycodeEnter "Instead of `x == keycodeEnter`, use `keyCodeLookup x == Enter`" #-}
27{-# DEPRECATED keycodeEscape "Instead of `x == keycodeEscape`, use `keyCodeLookup x == Escape`" #-}
31{-# INLINABLE holdOnStartup #-}
32holdOnStartup :: (PostBuild t m, PerformEvent t m, MonadHold t m) => a -> Performable m a -> m (Behavior t a)
33holdOnStartup a0 ma = do
34 hold a0 =<< performEvent . (ma <$) =<< getPostBuild
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list