This project contains a collection of TodoMVC demos using CanJS with the different libraries that it supports.
- jquery: CanJS with jQuery
- jquery-widget: CanJS with jQuery (includes a jQuery UI widget binding example)
- dojo: CanJS with Dojo
- dojo-widget: CanJS with Dojo (includes a Dojo widget binding example)
- mootools: CanJS with Mootools
- yui: CanJS with YUI
- yui-widget: CanJS with YUI (includes a YUI widget binding example)
- zepto: CanJS with Zepto
To get these demos:
-
Download the latest release or clone the project:
git clone git@github.com:jupiterjs/cantodo.git -
Run these demos on a local server. Open the corresponding, self-named, demo page:
jquery:jquery/index.htmljquery-widget:jquery-widget/index.htmldojo:dojo/index.htmldojo-widget:dojo-widget/index.htmlmootools:mootools/index.htmlyui:yui/index.htmlyui-widget:yui-widget/index.htmlzepto:zepto/index.html
You can also use the [links above][demos] to view the demos live on donejs.com.
FuncUnit tests for each demo are included in the test directory.
To run the unit tests:
-
First update the submodules:
git submodule update --init --recursive -
Open the corresponding test page:
all frameworks:test/index.htmljquery:test/jquery.htmljquery-widget:test/jquery-widget.htmldojo:test/dojo.htmldojo-widget:test/dojo-widget.htmlmootools:test/mootools.htmlyui:test/yui.htmlyui-widget:test/yui-widget.htmlzepto:test/zepto.html
Public Domain
Created and maintained by Bitovi