Skip to content

method-inc/WebChat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebChat

A mobile HTML5 Web App for the chatter service.

HTML Templates

All templates live in the templates directory and are compiled using underscore templates. If any file in this directory is added or changed, it must be compiled using bin/compile-templates before it can be used in the app. This script simply takes every file in the templates directory, runs it through the underscore template function, and outputs the resulting function to the global object Templates, with the key being whatever the file name was (i.e. a file called title.html would be accessible in Templates["title"]). This is done for performance reasons, to avoid having to compile templates each time the app is launched.

About

Example mobile web app for the workshop "Forget Native: Learn to Write HTML5 Mobile Apps"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published