dist/backbone-validation.js
function(view, model, options) {
      if (model.associatedViews) {
        model.associatedViews.push(view);
      } else {
        model.associatedViews = [view];
      }
      _.extend(model, mixin(view, options));
    }
function(view, model, options) {
      if (model.associatedViews) {
        model.associatedViews.push(view);
      } else {
        model.associatedViews = [view];
      }
      _.extend(model, mixin(view, options));
    }
function ( view , model , options ) { if ( model . associatedViews ) { model . associatedViews . push ( view ) ; } else { model . associatedViews = [ view ] ; } _ . extend ( model , mixin ( view , options ) ) ; }
Helper to mix in validation on a model. Stores the view in the associated views array.
Helper to mix in validation on a model . Stores the view in the associated views array .