Saddle contains the various Template
and Binding
classes for DerbyJS.
Saddle doesn't directly depend on any other part of Derby, but to use Saddle, you do need an implementation of Expression
to pass to Template
s.
- There are a couple small example
Expression
implementations in expressions.js. - Derby's full implementations of
Expression
s are in derbyjs/derby-templates.
npm install saddle
npm test
Some of Saddle's tests require a DOM to run, so after running the in-memory tests, npm test
will print out a URL to run browser-based tests.