modella/modella — pull request #10 by rschmukler (2013-05-03 22:22:50+00:00)
Title: Implemented mass-instantiation

I made it so that if you instantiate a model with an array of objects you get an array of models back.

For example:

var attrs = [{username: 'Bobby'}, {username: 'Tobi'}];
var users = User(attrs);
users[0].username() == 'Bobby'; // True

I think after we merge this a version bump might be in order.