Modifying T9.hs accordingly with new js gen

Simply import JQuery generators
And change the jsForAPI call
This commit is contained in:
Freezeboy 2015-07-18 00:11:44 +02:00 committed by Alp Mestanogullari
parent f9de958fda
commit 294143af1d

View file

@ -13,6 +13,7 @@ import GHC.Generics
import Network.Wai
import Servant
import Servant.JQuery
import Servant.JQuery.JQuery
import System.Random
import qualified Data.Text as T
@ -92,7 +93,7 @@ server' = server
:<|> serveDirectory "tutorial/t9"
apiJS :: String
apiJS = jsForAPI api
apiJS = jsForAPI api generateJQueryJS
writeJSFiles :: IO ()
writeJSFiles = do