lib/auto-parser.js
function findField(field, models) {
  var found = false;

  _.each(models, function(model) {
    // Go through fields
    _.each(model.fields, function(f) {
      if (f.input === field) {
        found = {
          modelName: model.modelName,
          field: f
        };
      }
    });
  });

  return found;
}
function findField(field, models) {
  var found = false;

  _.each(models, function(model) {
    // Go through fields
    _.each(model.fields, function(f) {
      if (f.input === field) {
        found = {
          modelName: model.modelName,
          field: f
        };
      }
    });
  });

  return found;
}
function findField ( field , models ) { var found = false ; _ . each ( models , function ( model ) { // Go through fields _ . each ( model . fields , function ( f ) { if ( f . input === field ) { found = { modelName : model . modelName , field : f } ; } } ) ; } ) ; return found ; }
Find definition in models
Find definition in models