Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Example mobile web app for the workshop "Forget Native: Learn to Write HTML5 Mobile Apps"
JavaScript CSS
branch: gh-pages

This branch is even with gh-pages

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
css
images
js
templates
vendor
README.md
index.html
offline.manifest

README.md

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.

Something went wrong with that request. Please try again.