Lines Matching refs:existing
876 var existing = this.get(model);
877 if (existing) {
878 if (merge && model !== existing) {
880 if (options.parse) attrs = existing.parse(attrs, options);
881 existing.set(attrs, options);
882 toMerge.push(existing);
883 if (sortable && !sort) sort = existing.hasChanged(sortAttr);
885 if (!modelMap[existing.cid]) {
886 modelMap[existing.cid] = true;
887 set.push(existing);
889 models[i] = existing;