Skip to content

k0sukey/TiTodoMVC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TiTodoMVC

Titanium port like a TastJS TodoMVC.

screenshot.png

Getting started

If you want to clone from this repository

$ git clone git@github.com:k0sukey/TiTodoMVC.git

If create from full scratch

Create Titanium project

$ ti create --platforms ios,android --id be.k0suke.titodomvc --name TiTodoMVC --workspace-dir ./

Create Alloy project

$ cd TiTodoMVC
$ alloy new

Dependencies ti-commonjs, and loadsh, moment under the ti-commonjs

$ npm install ti-commonjs --prefix ./app/lib
$ npm install --prefix ./app/lib lodash moment

Make views platform folders

$ mkdir ./app/views/ios
$ mkdir ./app/views/android

Enjoy coding!

Feature

  • Create todo
  • Edit todo, do double tap
  • Delete todo, do swipe
  • Toggle todo(s), tap the check mark
  • All/Active/Completed filter

ti-commonjs

ti-commonjs is npm package management in your Alloy app. But alloy/* can not be require on Android. So hacking.

} else if (p.match(/^alloy\/?/)) {
	rawPath = p;

Changelog

  • Committed Android ver
  • Committed iOS ver

License

The MIT License (MIT) Copyright (c) 2014 Kosuke Isobe

About

Titanium port like a TastJS TodoMVC.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published