js/ModelFactory.js
Function ModelWrapper
has 194 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
ModelWrapper = function (schema, obj, validators, options) {
var basedOn = obj, data = obj || {}, that = this,
lastErrors,
createSubModels = options && options.createSubModels,
File ModelFactory.js
has 292 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/**
* @class ModelFactory
* Factory for creating schema-based models. If Backbone exists, the factory
* will create a schema-based Backbone model.
*/