Code Monkey home page Code Monkey logo

templates-demo's Introduction

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

templates-demo's People

Contributors

nelstrom avatar

Stargazers

Kristian Mandrup avatar

Watchers

Kristian Mandrup avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.