saddle
v0.9.7
Published
A bindings engine for rendering HTML or creating DOM nodes directly
Downloads
92
Keywords
Readme
Saddle
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.
Installation
npm install saddle
Tests
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.