Infer root resource name from baseUrl.

This commit is contained in:
zeke
2012-01-25 10:29:49 -08:00
parent 063a948c28
commit a96cc2d39b
5 changed files with 13 additions and 43 deletions

View File

@@ -2529,12 +2529,8 @@ arguments),this._chain)}});j.prototype.chain=function(){this._chain=!0;return th
// adeed by ayush
createAll: function(values){
// debugger;
values = this.fromJSON(values);
// debugger;
for (var i=0, il = values.length; i < il; i++) {
for (var i=0, il = values.length; i < il; i++) {
var record = values[i];
record.newRecord = false;
record.id = record.id || Spine.guid();