on develop help sign in
Merge pull request #239 from reflex-frp/reflex-dom-reflex-profiler

Replace Spider constraint with DomTimeline so reflex profiling can be used

commitb841e2b392252d15db52e2514369d20311ae9cdf authorRyan Trinkle <ryan.trinkle@gmail.com> dateWed 22 Aug 2018, 12:35 (8 years ago) parent4a657352443f16
1 file changed+1−2
reflex-dom/src/Reflex/Dom/Internal.hs+1−2
reflex-dom/src/Reflex/Dom/Internal.hs+1−2
@@ -8,7 +8,6 @@ module Reflex.Dom.Internal
88
99import Data.ByteString (ByteString)
1010import Data.Text (Text)
11−import Reflex.Spider (Spider)
1211import Reflex.Dom.Core (Widget)
1312import Reflex.Dom.Main as Main hiding
1413 (mainWidget, mainWidgetWithHead, mainWidgetWithCss,
@@ -79,6 +78,6 @@ mainWidgetInElementById :: Text -> (forall x. Widget x ()) -> IO ()
7978mainWidgetInElementById eid w = run $ Main.mainWidgetInElementById eid w
8079{-# INLINE mainWidgetInElementById #-}
8180
82−runApp' :: (t ~ Spider) => (forall x. AppInput t -> Widget x (AppOutput t)) -> IO ()
81+runApp' :: (forall x. AppInput DomTimeline -> Widget x (AppOutput DomTimeline)) -> IO ()
8382runApp' app = run $ Main.runApp' app
8483{-# INLINE runApp' #-}