public
Description: Data Binding Plugin for jQuery
Homepage:
Clone URL: git://github.com/raid-ox/chain.js.git
raid-ox (author)
Tue Dec 23 01:39:37 -0800 2008
commit  6fdfd5ee780d3375e75d549bb5faa2d0442562f0
tree    6e05932fc0123aff48d93cef61c0da371e1d8f3a
parent  5128f3b6e0526d4d06771cc2d0622bc8ba7ecfb9
name age message
directory bin/ Loading commit data...
directory build/
directory demo/
directory doc/
directory lib/ Wed Aug 13 16:47:39 -0700 2008 add lib, jquery [raid-ox]
file license.txt
file project.js
file readme.txt
file release-notes.txt
directory src/
readme.txt
Chain.js

Chain.js is a jQuery plugin to bind javascript data to html and generate content using the data. It provides automatic 
data management and content generation. please see wiki for more information.
USAGE

copy chain.js from /build directory to your directory
load it together with jQuery into your page using:

<script src="path/to/jquery.js" language="javascript"></script>
<script src="path/to/chain.js" language="javascript"></script>

DEVELOPER GUIDE

Code Quality
- It is encouraged to adapt the code to the current coding style
- Please verify the code using www.jslint.com 
  (with tolerate eval, breaking, for in and inefficient subscripting on)

Documenting
- Please document your code thoroughly
- Write examples and descriptions
- document codes, which other developers may not understand at first glance

We use Rhino for shell engine, providing tools for creating documentation
and source building. Rhino is included in the latest Java SDK.
For mac os x, follow this instruction:
http://peter.michaux.ca/article/2982

It is very handy to create an alias for Rhino:
$ alias js='java org.mozilla.javascript.tools.shell.Main'
save this in your bash profile

Building From Source Code
to build from source code go to terminal, move to chain directory and do:
$ java org.mozilla.javascript.tools.shell.Main bin/build.js
or if you created an alias
$ js bin/build.js

Generating Documentation
do:
$ java org.mozilla.javascript.tools.shell.Main bin/doc.js
or
$ js bin/doc.js

Including new source file
to include new source file open project.js and add new source to
profile.sources array