webapp now does long polling
The webapp is now a constantly updating clock! I accomplished this amazing feat using "long polling", with some jquery and a little custom java script. There are more modern techniques, but this one works everywhere.
This commit is contained in:
parent
e79198aacb
commit
9fd03c65f9
5 changed files with 50 additions and 2 deletions
|
@ -16,3 +16,7 @@ template f = "templates" </> f
|
|||
{- A hamlet template file. -}
|
||||
hamletTemplate :: FilePath -> FilePath
|
||||
hamletTemplate f = template f ++ ".hamlet"
|
||||
|
||||
{- A julius template file. -}
|
||||
juliusTemplate :: FilePath -> FilePath
|
||||
juliusTemplate f = template f ++ ".julius"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue