tesuji.js
Javascript MV* library with magical data bindings designed to be used with Webpack or Browserify.
In development - anything is about to change.
Install
Currently there isn't a compiled version of the library. You need to have node.js installed.
npm install tesuji
However this version is ready to be used with Webpack and Browserify.
Example
This example illustrates philosophy of tesuji.js, when used with Webpack.
File main.js:
var tesuji = ;var Model = tesujiModel; // create model classvar MyModel = Model; // with some methodMyModelprototype { thistext = newText;} // define main page modelvar pageModel = content: template: model: "Hello World" "This is tesuji.js web app." ; // apply main modeltesuji;
File template.html:
Click me!
File index.html:
Example
You can also check fully working TodoMVC app written in tesuji.js.