$.Model.wrapMany(instancesRawData) -> Array
{Array}
an array of raw name - value pairs like
[{name: "foo", id: 4},{name: "bar", id: 5}]
{Array}
a JavaScript array of instances or a list of instances if the model list plugin has been included.
warning : wrapMany is deprecated in favor of jQuery.Model.models. They provide the same functionality; however, models works better with Deferreds.
$.Model.wrapMany converts a raw array of JavaScript Objects into an array (or $.Model.List) of model instances.
If an array is not passed to wrapMany, it will look in the object's .data property.
For example:
Often wrapMany is used with this.callback inside a model's findAll method like:
If you are having problems getting your model to callback success correctly, make sure a request is being made (with firebug's net tab). Also, you might not use this.callback and instead do:
API