Titanium port like a TastJS TodoMVC.
$ git clone git@github.com:k0sukey/TiTodoMVC.git
$ ti create --platforms ios,android --id be.k0suke.titodomvc --name TiTodoMVC --workspace-dir ./
$ cd TiTodoMVC
$ alloy new
$ npm install ti-commonjs --prefix ./app/lib
$ npm install --prefix ./app/lib lodash moment
$ mkdir ./app/views/ios
$ mkdir ./app/views/android
- Create todo
- Edit todo, do double tap
- Delete todo, do swipe
- Toggle todo(s), tap the check mark
- All/Active/Completed filter
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;
- Committed Android ver
- Committed iOS ver
The MIT License (MIT) Copyright (c) 2014 Kosuke Isobe