@@ -3,6 +3,7 @@ module Language.Javascript.JSaddle.WKWebView
33 , jsaddleMainFile
44 , WKWebView(..)
55 , run
6+ , runWithAppConfig
67 , runFile
78 , mainBundleResourcePath
89 , AppDelegateConfig (..)
@@ -91,8 +92,12 @@ instance Default AppDelegateNotificationConfig where
9192
9293
9394-- | Run JSaddle in a WKWebView
94−run :: AppDelegateConfig -> JSM () -> IO ()
95−run = run' Nothing
95+run :: JSM () -> IO ()
96+run = run' Nothing def
97+
98+-- | Run JSaddle in a WKWebView
99+runWithAppConfig :: AppDelegateConfig -> JSM () -> IO ()
100+runWithAppConfig = run' Nothing
96101
97102-- | Run JSaddle in a WKWebView first loading the specified file
98103-- from the mainBundle (relative to the resourcePath).