Lines Matching refs:model
235 models, model, i, len, args;
245 model = models[i];
247 if (model.isNew()) {
295 models, model, i, len, args;
299 model = id;
301 model = modelList.getById(id) ||
306 if (model) {
310 [model].concat(args));
322 model = models[i];
323 model.destroy.apply(model, args);
369 model, args;
372 model = id;
374 model = modelList.getById(id) ||
379 if (model && isObject(data)) {
382 model.setAttrs.apply(model, args);
384 if (sync && !model.isNew()) {
385 model.save.apply(model, args);