Skip to content

A demonstration of how templates work in Sencha Touch.

Notifications You must be signed in to change notification settings

sundarsan/Templates-demo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

This Git repository includes all of the source code used in creating a two part tutorial about templates in Sencha Touch (part 1 and part 2).

Each of the links below represents a snapshot of the code at a point in the video (timestamps are in brackets). You'll find instructions below on how to check out each snapshot from this git repository.

PART ONE

PART TWO

Using this repository to follow the screencasts

First, you'll have to clone this repository:

git clone git://github.com/senchalearn/Templates-demo.git

Change into the directory:

cd Sencha-Touch-templates-demo

By default, the git clone command will only create the master branch locally. If you want to study the code at each checkpoint, you will have to fetch each of the other branches. You can do so by running the following:

git checkout -b 00_blank_slate origin/00_blank_slate
git checkout -b 01_constructing_templates origin/01_constructing_templates
git checkout -b 02_placeholders origin/02_placeholders
git checkout -b 03_formatting_functions origin/03_formatting_functions
git checkout -b 04_looping origin/04_looping
git checkout -b 05_nested_loops origin/05_nested_loops
git checkout -b 06_conditionals origin/06_conditionals
git checkout -b 07_numbering origin/07_numbering
git checkout -b 08_index_and_size origin/08_index_and_size
git checkout -b 09_parent_object origin/09_parent_object
git checkout -b 10_member_functions origin/10_member_functions
git checkout -b 11_sharing_member_functions origin/11_sharing_member_functions
git checkout -b 12_xtemplate_from_DOM origin/12_xtemplate_from_DOM
git checkout -b 13_serve_with_sinatra origin/13_serve_with_sinatra
git checkout -b 14_template_files origin/14_template_files

You can review the list of local branches by running:

git branches

And you can switch between branches with the checkout command. For example, to check out the 12_xtemplate_from_DOM branch, run:

git co 12_xtemplate_from_DOM

About

A demonstration of how templates work in Sencha Touch.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published