mikeric/rivets — pull request #35 by paulj (2012-07-24 06:19:49+00:00)
Title: Support passing multiple elements to Rivets.View

In my application, I've got a series of nested views. Given that Rivets will bind all elements under the root, this would result in a situation where I have multiple overlapping bindings.

As a solution to this, this patch allows an array of elements to be passed `rivets.bind()`. This allows me to use jquery to select all the elements I want bound, and then provide just those to rivets, instead of just providing the top level element.

I've added a spec for this behaviour too, but I'm not quite sure I found the right place for it.