yahoo/mojito — pull request #182 by caridy (2012-06-02 03:21:14+00:00)
Title: support for custom binders when calling ac.done

having a structure like this at the mojit level:

/binders/foo.js
/binders/bar.js
/views/index.mu.html
/views/baz.mu.html

you can invoke ac.done in your action to customize which binder to use:

ac.done(data, {
view: {
name: "index",
binder: "foo"
}
});

or more customization

ac.done(data, {
view: {
name: "baz",
binder: "bar"
}
});

in general, if there is a file defining a binder, you can now attach it to any view.