on develop help sign in
Style fixes, remove comment
commit841de0c8f553a001a1291b1cb6b726a5b7ca8e4d authorTom Smalley <tfsmalley@gmail.com> dateFri 21 Dec 2018, 14:51 (8 years ago) parentf1ea7ed
1 file changed−8
reflex-dom-core/src/Reflex/Dom/Main.hs−8
reflex-dom-core/src/Reflex/Dom/Main.hs−8
@@ -147,16 +147,8 @@ runHydrationWidgetWithHeadAndBody switchoverAction app = withJSContextSingletonM
147147 liftIO $ modifyIORef' hydrationResult ((n, res) :)
148148 pure a
149149 flip runPostBuildT postBuild $ flip runTriggerEventT events $ app (hydrateDom $ toNode headElement) (hydrateDom $ toNode bodyElement)
150−-- liftIO (readIORef unreadyChildren) >>= \case
151−-- 0 -> DOM.liftJSM commit
152−-- _ -> return ()
153150 return postBuildTriggerRef
154151
155−
156−
157−
158−
159−
160152{-# INLINE mainWidget #-}
161153mainWidget :: (forall x. Widget x ()) -> JSM ()
162154mainWidget = mainWidget'